Releases: TreasureProject/tdk-unity
Releases · TreasureProject/tdk-unity
v1.0.1
Upgrade notice
- We recommend a clean install as some files have been removed. If you have modifications such as the WebGL template, remember to preserve these during the upgrade.
- v1 introduces a new TDK config structure - please consult the Treasure engineering team to obtain the new key.
- The scripting defines
TDK_ANALYTICS
andTDK_THIRDWEB
have been deprecated and can be removed from player settings.
What's Changed
- Magiswap v2 support.
- Refactored TDK config to enable session options and contract whitelisting. NOTE: This requires a new config key and reconfiguration.
- Always enable all supported login options.
- Improved API access security.
- Updated Helika/Kochava SDK (fixes Google Play compliance)
- Added Discord login; deprecated Facebook login
Full Changelog: v0.5.0...v1.0.0
v0.5.0
What's Changed
- Refactoring of analytics service
- Improved WebGL support
- Update Thirdweb SDK to v4.16.6
- Upgrade helika sdk to 0.2.0
- Add test setup and analytics
- Minor Connect UI improvements
Full Changelog: v0.4.2...v0.5.0
v0.4.2
v0.4.1
What's Changed
- Added Google, Apple and Facebook social auth options
- Fixed deserialization of
Harvester.userLegionsWeightStaked
values - Fixed
TDK.Connect.GetChainId
helper for WebGL builds - Updated dev environment defaults to new domain
Full Changelog: v0.4.0...v0.4.1
v0.3.3
What's Changed
- Reverted breaking changes from authorization requests, which will stay available in v0.4.x
Full Changelog: v0.3.2...v0.3.3
v0.4.0
What's Changed
- Added multi-chain support
- Added new configuration fields for Thirdweb settings
- Upgraded to Thirdweb SDK v4.13.1
Breaking Changes
General
- Config format updated, please reset with the new file provided by Treasure
TDK.Identity
GetWalletAddress()
method changed toAddress
getterGetChainId()
method moved toTDK.Connect
classProject
param removed fromValidateUserSession()
methodProject
param removed fromStartUserSession()
method- Optional
ChainId
and auth token params added toStartUserSession()
method for validating and using existing sessions LogOut()
method renamed toEndUserSession()
TDK.Connect
Show()
method renamed toShowConnectModal()
TDKConnectUIManager
- Removed auto-show of account modal after login
ShowConfirmLoginModal()
method requiresemail
parameter for displayConnectEmail()
method moved toTDK.Connect
IsConnected()
method moved toTDK.Connect
asIsWalletConnected()
methodGetUserEmail()
method removedDisconnect()
method moved toTDK.Connect
Full Changelog: v0.3.2...v0.4.0
v0.3.2
What's Changed
- Added param to connect email flow to enable silent logins
Full Changelog: v0.3.1...v0.3.2
v0.3.1
What's Changed
- Added environment toggle to TDK config menu
- Updated
contract
analytics field tocontract_address
- Fixed chain ID override not getting correctly passed to API endpoints
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
- Added ability to validate and use existing sessions
- Added transaction overrides parameters to write transaction helper, enabling custom gas limits
- Fixed
ClipboardHelper
for non-WebGL platforms - Fixed smart wallet address not updating on account modal
- Fixed mising
link.xml
from package - Fixed transaction hash missing from analytics events
- Fixed contract address missing from analytics events
Breaking Changes
- Deprecated
TDK.API.GetAuthPayload
in favor ofTDK.API.GetLoginPayload
- Replaced
TDK.Identity.Authenticate
withTDK.Identity.StartUserSession
, which requires aProject
parameter obtained throughTDK.API.GetProjectBySlug
Full Changelog: v0.2.8...v0.3.0
v0.2.8
What's Changed
- Added helper for WebGL clipboard functionality
- Updated mainnet contract addresses
Known Issues
- Download and re-import Helika SDK afterwards
Full Changelog: v0.2.7...v0.2.8