Releases: thirdweb-dev/js
@thirdweb-dev/sdk@4.0.93
Patch Changes
-
#3278
5698b0c
Thanks @0xFirekeeper! - [v4 & v5] zkCandy Sepolia AA Support -
#3269
d2cbb1e
Thanks @0xFirekeeper! - [TSv4] Force eth_signTypedData_v4 session proposal -
#3239
21ca67d
Thanks @0xFirekeeper! - [TSv4] Avoid unnecessary fetching for error formatting -
#3236
8acf564
Thanks @0xFirekeeper! - Fix caching logic for getContract/getContractFromAbi -
Updated dependencies [
5698b0c
,f2004b5
,e763ace
,7afd2da
,dbf74aa
,3948f43
,923a5ec
,7dec4d0
,3a1fd98
,824a631
,37ec4ca
,d488223
,efae2f3
,e7b9b9f
,ce45a79
]:- thirdweb@5.29.0
- @thirdweb-dev/chains@0.1.117
@thirdweb-dev/react@4.7.0
Minor Changes
-
#3274
7a7b491
Thanks @MananTank! - Addsections
prop and deprecatepopularChains
andrecentChains
for showing chains in sections in Network Selector screen inConnectWallet
component<ConnectWallet modalSize="wide" networkSelector={{ sections: [ { label: "Recently used", chains: [Optimism, Arbitrum], }, { label: "Favorites", chains: [Polygon, Sepolia], }, { label: "Popular", chains: [Ethereum, Base], }, ], }} />
Patch Changes
@thirdweb-dev/react-native-adapter@1.2.0
Minor Changes
- #3271
3a1fd98
Thanks @joaquim-verges! - Align inAppWallet secret sharing implementation with web and previous RN SDK
@thirdweb-dev/react-core@4.7.0
@thirdweb-dev/cli@0.14.6
@thirdweb-dev/chains@0.1.117
Patch Changes
- #3222
efae2f3
Thanks @github-actions! - Synced Chains Package
@thirdweb-dev/auth@4.1.91
thirdweb@5.28.0
Minor Changes
-
#3198
ca31a6c
Thanks @gregfromstl! - Exports toSerializableTransaction to convert preparedTransaction into a fully serializable transaction.
Exports estimateGasCost to estimate the gas cost of a transaction in ether and wei.
Exports getGasPrice to get the currect gas price for a chain.toSerializableTransaction
import { prepareTransaction, toSerializableTransaction } from "thirdweb"; const transaction = await prepareTransaction({ transaction: { to: "0x...", value: 100, }, }); const serializableTransaction = await toSerializableTransaction({ transaction, }); account.sendTransaction(serializableTransaction);
estimateGasCost
import { estimateGasCost } from "thirdweb"; const gasCost = await estimateGasCost({ transaction });
getGasPrice
import { getGasPrice } from "thirdweb"; const gasPrice = await getGasPrice({ client, chain });
Patch Changes
-
#3207
e7443ed
Thanks @MananTank! - Fixes #3204 - Account methods not properly updated when account is changed in wallet -
#3226
58d14c9
Thanks @joaquim-verges! - Add option to choose the contract type for erc1155/generateMintSignature -
#3227
043f0da
Thanks @joaquim-verges! - Better gas estimation for opBNB mainnet & testnet -
#3201
0328bc8
Thanks @joaquim-verges! - Fallback to default metadata on failure to fetch erc20 metadata