Releases: thirdweb-dev/js
[email protected]
Patch Changes
- #4733
824b1bd
Thanks @gregfromstl! - Enable account linking for ecosystem wallets
[email protected]
Minor Changes
-
#4692
0a7448c
Thanks @gregfromstl! - Login to an in-app wallet with your Coinbase accountimport { inAppWallet } from "thirdweb/react"; const wallet = inAppWallet(); const account = await wallet.connect({ strategy: "coinbase", chain: mainnet, client: thirdwebClient, });
Patch Changes
-
#4709
b033784
Thanks @gregfromstl! - Displays the social login provider in the details modal -
#4684
c1008a5
Thanks @gregfromstl! - Migrates existing sharded ecosystem wallets to enclaves -
#4716
3229e1f
Thanks @MananTank! - ExportisGetNFTSupported
extension from "thirdweb/erc1155/extensions" -
#4715
7d547a4
Thanks @joaquim-verges! - Fix showing user info for ecosystem wallets -
#4718
11a833e
Thanks @gregfromstl! - Improve arrangement of social icons in Connect UI
[email protected]
[email protected]
Patch Changes
- #4686
1b89464
Thanks @gregfromstl! - Force legacy transactions on polygon zkevm cardona testnet
[email protected]
@thirdweb-dev/[email protected]
Patch Changes
- #4665
6ce7c83
Thanks @joaquim-verges! - Update @mobile-wallet-protocol/client to 0.0.3
[email protected]
Minor Changes
-
#4607
7b94bf5
Thanks @joaquim-verges! - ExposecheckModulesCompatibility
function -
#4601
a4a4136
Thanks @joaquim-verges! -useAdminWallet()
Hook + automatically auth when using inapp + smart accountsAdd
useAdminWallet()
hook to get the admin wallet for a smart walletconst activeWallet = useActiveWallet(); // smart wallet const adminWallet = useAdminWallet(); // the personal wallet that controls the smart wallet
Automatically auth when using inapp + smart accounts
When using auth with an inapp + smart wallet, ConnectButton and ConnectEmebed will automatically auth without having to click sign in.
-
#4604
3009a0f
Thanks @joaquim-verges! - Expose publishContract extension
Patch Changes
-
#4628
3961ef4
Thanks @joaquim-verges! - Handle function sigantures and contract ABIs in resolveMethod -
#4602
07b949d
Thanks @joaquim-verges! - Allow topping up from a different wallet with the same currency -
#4639
c320b18
Thanks @joaquim-verges! - Export Abi types -
#4557
fb0daab
Thanks @kien-ngo! - Expose some Marketplace extensions for detecting supported features -
#4630
2b6a2fd
Thanks @joaquim-verges! - Invalidate balances on Pay success -
#4621
5bde075
Thanks @joaquim-verges! - Allow customizing PayEmbed metadata for top-up flow
@thirdweb-dev/[email protected]
[email protected]
Minor Changes
-
#4571
5058fdb
Thanks @gregfromstl! - Adds X authentication -
#4565
c0778cb
Thanks @gregfromstl! - Adds parseAvatarRecord and parseNftUri utilitiesimport { parseAvatarRecord } from "thirdweb/extensions/ens"; import { parseNftUri } from "thirdweb/extensions/common"; const avatarUrl = await parseAvatarRecord({ client, uri: "...", }); const nftUri = await parseNftUri({ client, uri: "...", });
Patch Changes
-
#4582
5d3b395
Thanks @gregfromstl! - Adds the ability to hide certain wallets in the wallet switcher<ConnectButton client={client} detailsModal={{ // We hide the in-app wallet so they can't switch to it hiddenWallets: ["inApp"], }} accountAbstraction={{ chain: baseSepolia, sponsorGas: true, }} />
-
#4546
3901805
Thanks @edwardysun! - Add preferredProvider to buyWithFiat
[email protected]
Minor Changes
-
#4527
b76a82c
Thanks @joaquim-verges! - Update React Native dependencies and add support for React Native 0.75 -
#4499
fe1ff63
Thanks @joaquim-verges! - Breaking Change indeployPublishedContract
Contract constructor/ initializer params are now passed as a single object instead of an array. The object should have the same shape as the params defined in the contract's ABI.
Example of old way (using
constructorParams
orinitializeParams
):const address = await deployPublishedContract({ account, chain, client, contractId: "Airdrop", contractParams: [TEST_ACCOUNT_A.address, ""], });
New way (using
contractParams
):const address = await deployPublishedContract({ account, chain, client, contractId: "Airdrop", contractParams: { defaultAdmin: TEST_ACCOUNT_A.address, contractURI: "", }, });
-
#4528
c96e2d9
Thanks @joaquim-verges! - Handle salt parameter for deterministic deploys of published contractsYou can now pass a salt parameter to the
deployPublishedContract
function to deploy a contract deterministically.const address = await deployPublishedContract({ client, chain, account, contractId: "Airdrop", contractParams: { defaultAdmin: "0x...", contractURI: "ipfs://...", }, salt: "test", // <--- deterministic deploy });
This also works for unpublished contracts, via the
deployContract
function.const address = await deployContract({ client, chain, account, bytecode: "0x...", abi: contractAbi, constructorParams: { param1: "value1", param2: 123, }, salt: "test", // <--- deterministic deploy });
-
#4541
0596fa2
Thanks @gregfromstl! - Adds getUsers function to query users on the serverimport { getUser } from "thirdweb/wallets"; const user = await getUser({ client, walletAddress: "0x123...", });
Patch Changes
-
#4503
8636c28
Thanks @jnsdls! - fix erc721 delayed reveal detection -
#4544
40f01e5
Thanks @joaquim-verges! - Allow smart wallet transactions to be sent in parallel -
#4543
b4e1491
Thanks @gregfromstl! - Display social profiles for linked accounts -
#4507
6353cb7
Thanks @joaquim-verges! - Fix erc721 delayed reveal simulation error