thirdweb@5.17.0
Minor Changes
-
#2931
24c1670
Thanks @joaquim-verges! - NewsmartAccount
prop forinAppWallet()
You can now convert an inAppWallet to a smart account simply by passing the
smartAccount
prop.const wallet = inAppWallet({ smartAccount: { chain: sepolia, sponsorGas: true, }, }); await wallet.connect({ client, strategy: "google", });
Note: beware that when toggling this flag on and off, you will get a different address (admin EOA vs smart account).
Patch Changes
-
#2959
3377fc9
Thanks @MananTank! - Fix custom details button not opening the details modal inConnectButton
-
#2955
fd1bd7e
Thanks @kien-ngo! - Add resolve method for Arweave URIs -
#2950
d4808fd
Thanks @gregfromstl! - Export getUserPhoneNumber and getAuthenticatedUser in-app wallet functions -
#2972
b1ca05e
Thanks @gregfromstl! - Fix issue with nonce set to 0 on toSerializableTransaction -
#2966
4de8802
Thanks @gregfromstl! - Fixes issue with contract compilation in hardhat -
#2962
5b6b241
Thanks @gregfromstl! - Makes multiple bugfixes on the deployPublishedContract code path- Contracts with no constructor can now deploy as abi inputs defaults to
[]
when encoding the parameters - Properly finds contract versions when specified
- Defaults to standard deployment if no deployType is specified
- Contracts with no constructor can now deploy as abi inputs defaults to
-
#2965
ae10776
Thanks @kien-ngo! - Add Arweave URI support to -
#2969
d660b6c
Thanks @gregfromstl! - Fixes deterministic deploys of contracts with no constructor -
#2958
02a0ca9
Thanks @gregfromstl! - Fixes inconsistent block numbers when fetching events.getContractEvents
will now properly handleblockRange
interaction withfromBlock
andtoBlock
given they are both inclusive (i.e. it will only return logs for the number of blocks specified inblockRange
).