Skip to content

Releases: thirdweb-dev/unity

v4.17.0

25 Jul 14:14
2c59e79
Compare
Choose a tag to compare

What's Changed

  • [Cross-Platform] General improvements and cleanup of the low-level Transaction builder class, typically created from Contract.Prepare.
    • Added Transaction.Populate - a way for you to prepare a transaction by populating all its fields without sending it.
    • Added Transaction.GetGasFees to get EIP-1559 max fee per gas and max priority fee per gas.
    • Contract.Prepare will now return fully populated Transaction including Data cross platform, instantly.
    • Fixed edge case where if a chain did not support EIP-1559, and no max fee/max priority fee were explicitly set but a gas price was explicitly set, the gas price would be recalculated and overriden.
  • [Cross-Platform] Added Wallet.GetNonce - a simple way to get the connected wallet's nonce, defaults to pending blockTag but can be overriden.
  • [Cross-Platform] Removed the Contract.Prepare variant that takes in a from address override to avoid confusion and simplify syntax.
  • [Cross-Platform] Added support for new chains.
  • [WebGL] Updated bridge.

v4.16.8

18 Jul 12:03
a2e2960
Compare
Choose a tag to compare

What's Changed

  • [Cross-Platform] Added Oasys Mainnet to list of chains with forced type 0 transactions.

v4.16.7

16 Jul 12:23
2366420
Compare
Choose a tag to compare

What's Changed

  • [Cross-Platform] Updated chains package, added support for more chains.
  • [Cross-Platform] Added Oasys Testnet and Vanguard (Vanar Testnet) to list of chains with forced legacy type transactions. Fixes issues with transactions on these chains when not using Smart Wallet.

v4.16.6

26 Jun 18:50
8a6cdaa
Compare
Choose a tag to compare

What's Changed

  • [Cross-Platform] Added support for new chains.

v4.16.5

21 Jun 19:47
3108703
Compare
Choose a tag to compare

What's Changed

  • [Cross-Platform] Added support for new chains.

v4.16.4

14 Jun 16:56
c9520e3
Compare
Choose a tag to compare

What's Changed

  • [Cross-Platform] User-passed Transaction Type fixes.
    • [WebGL] Fixed parsing error when explicitly setting a Type.
    • [Native] The Transaction builder now respects the Type variable. (Priority: explicit gas price or gas fees > type > chain support for 1559.)

v4.16.3

11 Jun 22:40
8a0d81b
Compare
Choose a tag to compare

What's Changed

  • [Cross-Platform] Added support for ZkCandy Sepolia Smart Wallets, similar to ZkSync support introduced previously.

v4.16.2

11 Jun 14:20
5026d3d
Compare
Choose a tag to compare

What's Changed

  • [WebGL] Fixed edge case where passing a single chain with WalletConnect in WebGL would sometimes create a session that did not propose eth_signTypedData_v4 when using certain wallets, potentially causing method does not exist errors.
  • [Cross-Platform] Added support for new chains.

v4.16.1

08 Jun 03:03
ac7d3ca
Compare
Choose a tag to compare

What's Changed

  • [WebGL] Added support for ZkSync Native Account Abstraction through Smart Wallets.

This feature was introduced for Desktop and Mobile platforms in 4.15.0 and is now available on all platforms!

v4.16.0

07 Jun 15:20
0ddee14
Compare
Choose a tag to compare

What's Changed

  • [Native] MetaMask SDK upgraded to 2.0.1, thank you @ecp4224 !

This is a minor update, meaning some structural or api-breaking changes occured. When upgrading, it is best to remove previous SDK files for a smooth importing process, backing up any prefab copies or scripts extending or overriding thirdweb prefabs and scripts.