Skip to content

Releases: thirdweb-dev/unity

v2.2.2

15 Jun 20:07
bfc8c71
Compare
Choose a tag to compare

Changelog

  • [Native] New Contract.Prepare and Transaction class low level APIs to manipulate custom transactions.
  • [WebGL] Added support for all EVM chains when switching/adding networks.

You can now edit a custom transaction before it is sent, send without awaiting the receipt, simulate it, and control when to send gaslessly and when not to!

v2.2.1

13 Jun 21:39
a9939fb
Compare
Choose a tag to compare

Changelog

  • [Native] Stable Smart Wallets Release!
  • [Native] Unity Wallet SDK - You can now submit your own wallet to the SDK, instructions can be found here
  • [Native] You can now pass classes (with either properties or fields) to contract.Read and any list results will be deserialized properly
  • [Native] Fixed edge case where gas estimation fails on non-standard chains
  • [Native] Added fallback for providers not supporting eth_getBalance

v2.2.0

07 Jun 13:10
16172ef
Compare
Choose a tag to compare

Changelog

  • [WebGL] LocalWallet session persistence upon reconnecting
  • [WebGL] LocalWallet export flow
  • [WebGL] SmartWallet now supports any EOA/Provider
  • [Native] Full support for SmartWallet with any EOA/Provider including SignTypedDataV4 (Beta)
  • [Native] Fixes for personal_sign
  • [Native] Removed Multicall
  • [Native] Added Thirdweb.AccountAbstraction scripts
  • [Native] Added Wallet.GetSignerAddress
  • [General] Fixes for read calls being interrupted by wallet connections being switched
  • [General] Added personalWallet optional WalletProvider argument to WalletConnection Wallet.Connect method, pass the EOA provider you want to initialize Smart Wallets with, defaults to LocalWallet

Note: Currently, non LocalWallet EOAs for native Smart Wallet initialization require 3 signatures before the tx goes through, this will be reduced to 1 signature when out of beta.

The simplest way to test this version is to set the ThirdwebManager Factory, API Key, and turn on Gasless - you are now using Account Abstraction from your Unity Editor, congratulations!

v2.1.1

28 May 13:04
439b177
Compare
Choose a tag to compare

Changelog

Large amount of stability improvements, highly recommended update

  • MagicLink is now in a stable state
  • Fixed signTypedDataV4 for all wallet providers
  • Fixed sendTransaction MagicLink throwing on mobile
  • Updated MagicAuth to LoginWithEmailOTP (LoginWithMagicLink deprecating soon)
  • Reduced amount of redirects from WalletConnect to specific methods, therefore reducing the amount of times the wallet opens on mobile
  • Add ThirdwebInterceptor and ThirdwebSession for Session/Client data - refactored all calls to go through clients if not LocalWallet
  • Removed async spawns when editor testing
  • Added streamlined Thirdweb internal types
  • Various mobile bugfixes
  • Various desktop improvements
  • Various wallet behavior improvements

Note: WalletConnect is recommended over Metamask for mobile platforms due to known issue with the Metamask App pausing behavior.

v2.1.0

24 May 22:46
150d53d
Compare
Choose a tag to compare

Changelog

  • [WebGL] Added support for Smart Wallets (Beta) with local wallet as the EOA
  • [General] Added Smart Wallet Config fields to the ThirdwebManager - fill in factoryAddress and thirdwebApiKey and get started (gasless supported too!)

v2.0.9

24 May 02:28
fe070c4
Compare
Choose a tag to compare

Changelog

  • [Native] Hotfix MagicLink internal server error on mobile
  • [General] Cleanup Scene_Marketplace

v2.0.8

22 May 20:20
4ae1bf6
Compare
Choose a tag to compare

Changelog

  • [Native] Added Metamask SDK support for native platforms.
  • [General] Added SignTypedDataV4 to Wallet API - note that behavior might vary based on provider and whether byte[] is part of the data.
  • [General] Added Metamask SDK customizeable UI to ThirdwebManager native prefabs.
  • [General] Cleaned up package structure, added support for Android External Dependency Manager.

Note: To support the Metamask SDK, set Android minimum API to 7 and make sure you Resolve dependencies from Assets > External Dependency Manager > Android Resolver > Resolve or Force Resolve at least once before building. In some cases, setting Managed Stripping Level to minimal when using IL2CPP is also helpful - you can find it under Player Settings > Other Settings > Optimization

You can try out the SDK by selecting the Metamask option in our example scene's Prefab_ConnectWallet button!

v2.0.7

18 May 23:46
22425c1
Compare
Choose a tag to compare

Changelog

  • [General] Prefab_ConnectWallet is now cross-platform. Simply choose the wallets you want to support from the inspector and the buttons will show up. UI for some providers is now instantiated dynamically. Add networks to your ThirdwebManager and they will show up.
  • [General] Added support for MagicLink (MagicAuth passwordless email login) for WebGL, Android and iOS.
  • [General] sdk.wallet.Connect API now requires a WalletConnection parameter - pass in the WalletProvider, chainId, password (if using local wallets) and email (if using MagicLink).
  • [General] Added magicLinkApiKey optional field to the ThirdwebManager for those wanting to support it.

The current MagicLink implementation is in beta.

Note: WalletProviders currently available on non-WebGL platforms are WalletConnectV1 (all platforms), LocalWallet (all platforms) and MagicLink (Android, iOS, WebGL)

v2.0.6

15 May 20:06
7e0b3d8
Compare
Choose a tag to compare

Changelog

  • [General] sdk.wallet.Connect() API changed to accept a WalletConnection object that consists of a WalletProvider enum, chain id, and optional arguments. This replaces the struct WalletConnection and WalletProvider types to allow for better suggestions.
  • [Native] Prefab_ConnectWalletNative does not require supportedNetworks field in the inspector anymore, now fetched from ThirdwebManager.
  • [WebGL] Prefab_ConnectWallet does not require supportedNetworks field in the inspector anymore, now fetched from ThirdwebManager.

v2.0.5

02 May 23:34
38371e4
Compare
Choose a tag to compare

Changelog

  • [Native] WalletConnect hotfix
  • [General] Fixed .GetAll skipping last token ID