Releases: thirdweb-dev/unity
Releases · thirdweb-dev/unity
v4.17.0
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 includingData
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 afrom
address override to avoid confusion and simplify syntax. - [Cross-Platform] Added support for new chains.
- [WebGL] Updated bridge.
v4.16.8
What's Changed
- [Cross-Platform] Added Oasys Mainnet to list of chains with forced type 0 transactions.
v4.16.7
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
What's Changed
- [Cross-Platform] Added support for new chains.
v4.16.5
What's Changed
- [Cross-Platform] Added support for new chains.
v4.16.4
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
What's Changed
- [Cross-Platform] Added support for ZkCandy Sepolia Smart Wallets, similar to ZkSync support introduced previously.
v4.16.2
What's Changed
- [WebGL] Fixed edge case where passing a single chain with
WalletConnect
in WebGL would sometimes create a session that did not proposeeth_signTypedData_v4
when using certain wallets, potentially causingmethod does not exist
errors. - [Cross-Platform] Added support for new chains.
v4.16.1
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
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.