Releases: thirdweb-dev/unity
v4.6.0
What's Changed
- [General]
ThirdwebManagerSmart Wallet OptiondoNotDeployOnSignMessagehas been renamed todeployOnSignand defaults to false. If kept false, trigger a transaction to bundle Smart Wallet deployment with it - good for filtering out inactives and not paying for their deployment, or going through a custom auth flow. If turned on, will deploy the smart wallet upon any message or typed data being signed. - [General] Moved
Thirdweb/Pluginsfolder toThirdweb/Core/Plugins. - [General] Added Assembly Definitions for Thirdweb Core, Editor and Example scripts.
- [General] Project cleanup, client general analytics update.
- [Native] Updated
QueryAllParams.countbehavior to match WebGL behavior inERC721.GetAllandERC1155.GetAll. - [Native] Reduced UserOperation (Smart Wallet transaction) polling interval from 2s to 1s.
- [WebGL]
deployonSignandERC1155.TransferBatchare now also supported in WebGL.
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.5.0
What's Changed
- [Native] The WalletConnect SDK has been upgraded and all previous session or build related issues should be fixed. Tested on Windows, Mac, Android and iOS.
- [Native] Improved Embedded Wallet error logging.
- [Native]
Wallet.Authenticatereturn typeLoginPayloadshould now be compatible with /login endpoint when serialized.
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.4.2
What's Changed
- [General] Added support for Berachain Artio
v4.4.1
What's Changed
- [Native] Extending
WalletUIscripts now grants you protected access to its fields as well. - [Native] Updated
Marketplaceextension methods to use MarketplaceV3 v5.0 and above properly. - [Native] Fixed a bug where Smart Wallet transaction sponsorship would fail on
base-goerlior 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
What's Changed
- [Native] Update
MetaMask SDKto 1.2.2 - includes improved session persistence and mobile build fixes. - [Native]
WalletUIfunctions are now overrideable - more flexibility in behavior customization forWalletProviderprefabs. - [Native] Added optional
EmbeddedWalletUIevent callback for custom invalid otp handling, add a listener to add retry functionality. - [Native] Implemented Multicall3 for
ERC721.GetAll,ERC1155.GetAll,ERC1155.GetOwnedif deployed on active chain, making fetching a lot faster for larger collections. - [Native] Updated chains package, added support for
xai,xai-sepoliaand others. - [Native] Fixed
ERC20.SetAllowancenot 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
ThirdwebManagerSmart Wallet optional parameters. - [WebGL] Updated bridge.
- [General]
Scene_Prefabsminor 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
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
What's Changed
- [General] Embedded Wallets
CustomJWTauth option is nowJWT.JWTauth option now requires a developer-passedencryptionKey.- Added
AuthEndpointauth option to support non-OIDC type authentication methods. authTokenparameter renamed tojwtOrPayload.
- [General] Wallet API (for Smart Wallets)
- Added
RevokeSessionKeyto revoke a signer's permissions. - Added
GetAllActiveSignersto get a list of all active signers and their permissions.
- Added
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
What's Changed
- [Native] Fix Smart Wallet transactions sometimes failing when using Dynamic or Managed factories.
v4.2.1
What's Changed
- [General] Added
GetEmailto theWalletinterface. - [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
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.csrevamped 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_SmartWalletexamples 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.