Releases: thirdweb-dev/js
Releases · thirdweb-dev/js
[email protected]
Minor Changes
-
#6082
4550bb2
Thanks @joaquim-verges! - Support Account and Wallet headless components in react nativeYou can now use the Account and Wallet headless components in react native, this lets you build your own UI, styling it however you want, but letting the components handle the logic.
Example Account components usage:
<AccountProvider address={account.address} client={client}> /* avatar */ <AccountAvatar loadingComponent={ <AccountBlobbie size={92} style={{ borderRadius: 100 }} /> } fallbackComponent={ <AccountBlobbie size={92} style={{ borderRadius: 100 }} /> } style={{ width: 92, height: 92, borderRadius: 100, }} /> /* address */ <AccountAddress style={{ fontSize: 16, color: Colors.secondary }} formatFn={shortenAddress} /> /* balance */ <AccountBalance showBalanceInFiat={"USD"} chain={chain} loadingComponent={ <ActivityIndicator size="large" color={Colors.accent} /> } fallbackComponent={ <Text className="text-primary">Failed to load balance</Text> } style={{ color: "white", fontSize: 48, fontWeight: "bold", }} /> </AccountProvider>
Example Wallet components usage:
<WalletProvider id={"io.metamask"}> <WalletIcon width={32} height={32} /> <WalletName style={{ fontSize: 16, color: Colors.primary }} /> </WalletProvider>
Patch Changes
@thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
[email protected]
Patch Changes
- #6074
94e2d5b
Thanks @joaquim-verges! - Fix account linking for ecosystem smart wallets
[email protected]
Patch Changes
- #6072
2cebb42
Thanks @joaquim-verges! - Fix showing link profiles for ecosystem smart wallets
[email protected]
Patch Changes
- #6068
6c277ae
Thanks @joaquim-verges! - Respect passed in chain when connecting to inapp wallet with wallet strategy
[email protected]
Patch Changes
- #6057
b6f189c
Thanks @joaquim-verges! - Updated dependencies
@thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]
@thirdweb-dev/[email protected]