Skip to content

Releases: thirdweb-dev/unity

v4.6.2

08 Feb 14:50
16913c0
Compare
Choose a tag to compare

What's Changed

  • [General] Added Thirdweb prefix to logs.
  • [General] Renamed example class Prefab_ThirdwebConnect to Prefab_ConnectWallet to match asset.
  • [Native] Added fallback for Utils.GetGasPriceAsync when using polygon or mumbai with Smart Wallets, in case polygon gas station fails to return a result (e.g 403).
  • [WebGL] Updated bridge, added new chains.

v4.6.1

06 Feb 02:05
b6734ee
Compare
Choose a tag to compare

What's Changed

  • [General] Scene_Prefabs now set up to use arbitrum-sepolia instead of goerli in preparation for goerli deprecation.
  • [General] Added general wallet analytics.
  • [Native] Wallet.Disconnect now takes in an optional endSession parameter. Set to true in order to end a session when disconnecting. Only applicable to select Wallet Providers.
  • [Native] Added additional WETH addresses in default mapping. Used when making an offer and not specifying a currency.
  • [WebGL] Updated bridge.

v4.6.0

01 Feb 02:04
af0243a
Compare
Choose a tag to compare

What's Changed

  • [General] ThirdwebManager Smart Wallet Option doNotDeployOnSignMessage has been renamed to deployOnSign and 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/Plugins folder to Thirdweb/Core/Plugins.
  • [General] Added Assembly Definitions for Thirdweb Core, Editor and Example scripts.
  • [General] Project cleanup, client general analytics update.
  • [Native] Updated QueryAllParams.count behavior to match WebGL behavior in ERC721.GetAll and ERC1155.GetAll.
  • [Native] Reduced UserOperation (Smart Wallet transaction) polling interval from 2s to 1s.
  • [WebGL] deployonSign and ERC1155.TransferBatch are 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

25 Jan 01:41
bc2cb5c
Compare
Choose a tag to compare

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.Authenticate return type LoginPayload should 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

19 Jan 18:23
e963bc9
Compare
Choose a tag to compare

What's Changed

  • [General] Added support for Berachain Artio

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.