Skip to content

Releases: TreasureProject/tdk-unity

v1.0.1

30 Aug 03:33
Compare
Choose a tag to compare

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 and TDK_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

05 Jul 17:16
10f8762
Compare
Choose a tag to compare

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

02 Jul 20:58
561fd31
Compare
Choose a tag to compare

What's Changed

  • fix server time url by

Full Changelog: v0.4.1...v0.4.2

v0.4.1

28 May 16:18
Compare
Choose a tag to compare

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

21 May 04:39
Compare
Choose a tag to compare

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

16 May 21:05
Compare
Choose a tag to compare

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 to Address getter
  • GetChainId() method moved to TDK.Connect class
  • Project param removed from ValidateUserSession() method
  • Project param removed from StartUserSession() method
  • Optional ChainId and auth token params added to StartUserSession() method for validating and using existing sessions
  • LogOut() method renamed to EndUserSession()

TDK.Connect

  • Show() method renamed to ShowConnectModal()

TDKConnectUIManager

  • Removed auto-show of account modal after login
  • ShowConfirmLoginModal() method requires email parameter for display
  • ConnectEmail() method moved to TDK.Connect
  • IsConnected() method moved to TDK.Connect as IsWalletConnected() method
  • GetUserEmail() method removed
  • Disconnect() method moved to TDK.Connect

Full Changelog: v0.3.2...v0.4.0

v0.3.2

15 May 14:30
9fdcb74
Compare
Choose a tag to compare

What's Changed

  • Added param to connect email flow to enable silent logins

Full Changelog: v0.3.1...v0.3.2

v0.3.1

14 May 15:51
f18920c
Compare
Choose a tag to compare

What's Changed

  • Added environment toggle to TDK config menu
  • Updated contract analytics field to contract_address
  • Fixed chain ID override not getting correctly passed to API endpoints

Full Changelog: v0.3.0...v0.3.1

v0.3.0

14 May 02:44
df992c6
Compare
Choose a tag to compare

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 of TDK.API.GetLoginPayload
  • Replaced TDK.Identity.Authenticate with TDK.Identity.StartUserSession, which requires a Project parameter obtained through TDK.API.GetProjectBySlug

Full Changelog: v0.2.8...v0.3.0

v0.2.8

23 Apr 05:37
51bee1a
Compare
Choose a tag to compare

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