Skip to content

Releases: thirdweb-dev/unity

v4.4.1

19 Jan 04:31
90f1143
Compare
Choose a tag to compare

What's Changed

  • [Native] Extending WalletUI scripts now grants you protected access to its fields as well.
  • [Native] Updated Marketplace extension methods to use MarketplaceV3 v5.0 and above properly.
  • [Native] Fixed a bug where Smart Wallet transaction sponsorship would fail on base-goerli or when using non-default paymaster.
  • [Native] Fixed edge case where failing to connect to an EOA during Smart Wallet connection flows would require you to reconnect twice in subsequent attempts.
  • [WebGL] Updated WebGL Bridge.

v4.4.0

16 Jan 22:58
334d7f9
Compare
Choose a tag to compare

What's Changed

  • [Native] Update MetaMask SDK to 1.2.2 - includes improved session persistence and mobile build fixes.
  • [Native] WalletUI functions are now overrideable - more flexibility in behavior customization for WalletProvider prefabs.
  • [Native] Added optional EmbeddedWalletUI event callback for custom invalid otp handling, add a listener to add retry functionality.
  • [Native] Implemented Multicall3 for ERC721.GetAll, ERC1155.GetAll, ERC1155.GetOwned if deployed on active chain, making fetching a lot faster for larger collections.
  • [Native] Updated chains package, added support for xai, xai-sepolia and others.
  • [Native] Fixed ERC20.SetAllowance not triggering custom approval wallet UI where available.
  • [Native] Added option to not force deploy a smart wallet upon signing a message or typed data in ThirdwebManager Smart Wallet optional parameters.
  • [WebGL] Updated bridge.
  • [General] Scene_Prefabs minor UI fix.
  • [General] Upgraded main project to Unity 2022.3.17f1 - best used with XCode 15.1 when building for iOS.

Changelog: https://blog.thirdweb.com/changelog/unity-4-4-0/

This is a minor update, meaning some structure or DLL changes occured. When upgrading, it is best to remove previous SDK files to avoid issues.

v4.3.1

21 Dec 15:45
6b2cd8d
Compare
Choose a tag to compare

What's Changed

  • [Native] Improved Smart Wallet gas estimations.
    • Gas limits are now fetched directly from bundler simulations.
    • Gas prices are now fine-tuned based on the connected chain.
  • [Native] Connecting to a Smart Wallet using a personal wallet provider that is already connected will now skip the reconnection step.

v4.3.0

12 Dec 21:45
402c86a
Compare
Choose a tag to compare

What's Changed

  • [General] Embedded Wallets
    • CustomJWT auth option is now JWT.
    • JWT auth option now requires a developer-passed encryptionKey.
    • Added AuthEndpoint auth option to support non-OIDC type authentication methods.
    • authToken parameter renamed to jwtOrPayload.
  • [General] Wallet API (for Smart Wallets)
    • Added RevokeSessionKey to revoke a signer's permissions.
    • Added GetAllActiveSigners to get a list of all active signers and their permissions.

More flexibility on authentication methods, as well as more control over your Smart Wallets should allow for much better DX, happy coding!

This is a minor update, meaning some structure or DLL changes occured. When upgrading, it is best to remove previous SDK files to avoid issues.

v4.2.2

08 Dec 21:45
2fb1f4f
Compare
Choose a tag to compare

What's Changed

  • [Native] Fix Smart Wallet transactions sometimes failing when using Dynamic or Managed factories.

v4.2.1

07 Dec 22:29
3140ed7
Compare
Choose a tag to compare

What's Changed

  • [General] Added GetEmail to the Wallet interface.
  • [General] Default RPC and Bundler URLs now use chain ids instead of slugs.
  • [General] When adding a network to an external wallet, client and bundle ids are now excluded from thirdweb RPCs.
  • [General] Updated chains package.
  • [General] MetaMask logs are now turned off by default.
  • [General] Exposed ERC20.TransferFrom.
  • [Native] Exposed ERC1155.TransferBatch.
  • [WebGL] Fixed bug where reconnecting to a local wallet would throw.
  • [WebGL] Bridge updated.

v4.2.0

30 Nov 01:28
f331ad1
Compare
Choose a tag to compare

What's Changed

Brand new customizeable Connect Wallet button prefab!

Here's an example of connecting to an embedded wallet using google and creating a smart wallet out of it.

58111ba34624b1e1a1d05d0264ff7d0b.mp4
  • [General] Prefab_ConnectWallet.cs revamped and simplified - you can now choose to connect to any wallet as a smart wallet with one checkbox.
  • [General] Fixes to smart wallets ignoring auth options when provided (such as when using social login).
  • [General] Remove Scene_Marketplace
  • [General] Add Marketplace and Smart Wallet examples to Scene_Prefabs
  • [General] Add Prefab_SmartWallet examples for adding/removing admins as well as creating session keys.
  • [General] Various improvements and bugfixes
  • [WebGL] Live Preview updated to showcase smart wallets (on goerli)

This is a minor update, meaning some structure or DLL changes occured. When upgrading, it is best to remove previous SDK files to avoid issues.

v4.1.2

28 Nov 23:57
b224819
Compare
Choose a tag to compare

What's Changed

  • [Native] Fix Wallet.SignTypedData failing with external wallets when the payload contains arrays.
  • [Native] Add fallback for chain id requests with external wallets.
  • [General] Use culture-insensitive parsing when converting an eth value to wei.

v4.1.1

22 Nov 15:26
ff277e8
Compare
Choose a tag to compare

What's Changed

  • [Native] Fixed gas estimation failing in some cases when interacting with custom contracts using SmartWallet.
  • [WebGL] Support for static method Transaction.WaitForTransactionReceipt.
  • [General] New static class Blocks with block processing functionality, get information on latest or specific blocks including transaction data.
  • [General] Build Size Optimization: moved unused files outside from Resources folder, sprites' scale fixed to support compression by @umutkutlu in #130

v4.1.0

21 Nov 12:33
bc41d01
Compare
Choose a tag to compare

What's Changed

  • [General] Added support for Apple and Facebook Logins (Apple Touch/Face ID supported on Mobile platforms as well).
    • Prefab_ConnectWallet was also updated with the additional social logins.
  • [General] Logging in with the same previous email / social auth will automatically log the user in now.
  • [General] Improved performance / code structure for Embedded Wallets.
  • [General] Added support for new chains, updated chains package.
  • [Native] Fixed main thread freezing in the Embedded Wallet post-login flow in some cases.
  • [WebGL] Added support for Smart Wallet Admin/Session Key management APIs (see previous release for more details).
  • [WebGL] Added support for Smart Wallet account overrides on connection (see previous release for more details).
  • [WebGL] Updated Live Preview.

Visit our Embedded Wallet and Smart Wallet documentation to get started creating seamless onboarding and dynamic gameplay flows!

This is a minor update, meaning some structure or DLL changes occured. When upgrading, it is best to remove previous SDK files to avoid issues.