Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
62 KiB
@thirdweb-dev/wallets
1.1.13
Patch Changes
-
#1477
34b31599Thanks @joaquim-verges! - Pass unauth'd RPCs to wallets when adding new chains -
Updated dependencies [
7f531122]:
1.1.12
Patch Changes
-
#1473
73462ef1Thanks @jnsdls! - do not pass empty auth tokens -
#1472
70c4a119Thanks @joaquim-verges! - Add sdk information to service request headers -
Updated dependencies [
73462ef1,cb1c9937,70c4a119,a1732663,f0443bd9,cb1c9937,588b2106,269e68c0]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.1.11
Patch Changes
-
#1460
4b0e63dcThanks @MananTank! - SaveoAuthRedirectResultwhen autoconnecting Magic Link via social login -
Updated dependencies []:
1.1.10
Patch Changes
- Updated dependencies [
262edc6a,262edc6a]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.1.9
Patch Changes
- Updated dependencies [
2a91113a]:
1.1.8
Patch Changes
-
#1430
a9f2ff73Thanks @MananTank! - Handle error on Metamask Disconnect properly -
#1436
fd981655Thanks @joaquim-verges! - Better gas estimations pre account deploy -
Updated dependencies [
a5d0be93,c0a6d2f1,becbb637,fd981655,c9bf4f05,67b145b9,5ee700e8,9f5adc5c,9f5adc5c]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.1.7
Patch Changes
-
#1425
b0ec1d80Thanks @iketw! - Adding plugin-transform-flow-strip-types plugin to solve issues with RN FlatList -
Updated dependencies [
3b6b0746]:
1.1.6
Patch Changes
- #1421
fbde927aThanks @iketw! - Add private methods transform plugin to the wallets package for ReactNative support
1.1.5
Patch Changes
-
#1415
256ee0d5Thanks @joaquim-verges! - Downgrade preconstruct to 2.7.0 -
Updated dependencies [
256ee0d5]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.1.4
Patch Changes
-
#1361
06b4f298Thanks @q20274982! - [Wallets/React] Add Blocto Walletimport { ThirdwebProvider, bloctoWallet } from "@thirdweb-dev/react"; import { Polygon } from "@thirdweb-dev/chains"; <ThirdwebProvider activeChain={Polygon} supportedWallets={[bloctoWallet()]}> <App /> </ThirdwebProvider>; -
#1369
2025b8cbThanks @adam-maj! - Add getBalance() and transfer() functions to all wallets -
#1307
385895caThanks @nkrishang! - Expose getAccountContract() and getFactoryContract() -
#1334
9acf6854Thanks @MananTank! - Add social login support in Magic wallet -
#1379
60fbb767Thanks @MananTank! - Set theme in Coinbase Native modal to match ConnectWallet component -
#1295
277cfd5cThanks @MananTank! - - Fix wallet connection on mobile for rainbowWallet(), trustWallet(), zerionWallet()- update @WalletConnect packages
-
#1369
2025b8cbThanks @adam-maj! - Add transfer & balance to wallets -
#1385
cc5e2ec5Thanks @iketw! - Adds chains and improve error messages -
#1390
7ae9f4cdThanks @MananTank! - Fix LocalWallet's loadOrCreate method -
Updated dependencies [
09b3b339,0a5eb19d,98009cb3,b1e8c8e2,cbf486c2,01cc5408,53400858,48ca58b7,aface46d,3152d4e9,5fe3cec8,8e6e55b1,aa6bdd08,75587c8b,cc5e2ec5,a9f9a403,5a02c5ec]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.1.3
Patch Changes
- Updated dependencies [
7cb55e70]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.1.2
Patch Changes
- Updated dependencies [
d665954f]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.1.1
Patch Changes
- Updated dependencies [
02ab92cc,6cc4b8d2]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.1.0
Minor Changes
-
#1316
d8447146Thanks @iketw! - 1. Adds newclientId/secretKeyoption to access thirdweb's servicesYou can create a free
clientId/secretKeypair on the thirdweb Dashboard// For wallets used on the client-side (i.e. react, react-native) you should // pass a `clientId` const metamaskWallet = new MetaMaskWallet({ clientId: "your-client-id", }); // For wallets used on the backend-side (i.e. node, express) you should // pass a `secretKey` const localWallet = new LocalWallet({ secretKey: "your-secret-key", });- Paper wallet's
clientIdis renamed topaperClientId.
The
clientIdoption is reserved for thirdweb's `clientId``const paperWallet = new PaperWallet({ clientId: "your-thirdweb-client-id", paperClientId: "your-paper-client-id", }); - Paper wallet's
Patch Changes
- Updated dependencies [
d8447146,d8447146]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.0.12
Patch Changes
-
#1352
c5761b99Thanks @joaquim-verges! - Switch to seed based local wallets for faster encryption -
#1350
b96a2282Thanks @MananTank! - Improved Injected Metamask detection - Do not consider Phantom provider as MetaMask -
Updated dependencies [
dac8fa7d]:
1.0.11
Patch Changes
- Updated dependencies [
8dd7540c]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.0.10
Patch Changes
- Updated dependencies [
0407b2c2]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.0.9
Patch Changes
- Updated dependencies [
a9093bcf]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.0.8
Patch Changes
- Updated dependencies [
4393b228]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.0.7
Patch Changes
- Updated dependencies [
40682191]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.0.6
Patch Changes
- Updated dependencies [
db68bd04,fd74d791,35f20ceb]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.0.5
Patch Changes
-
#1292
10b3a717Thanks @assimovt! - Handle authz errors from thirdweb Bundler in smart wallet paymaster and rpc -
#1301
b4aee9b5Thanks @adam-maj! - Add all supported chains to safe server urls -
Updated dependencies [
7e044c66,72ada475,2c0bb078,b5c6eedb,4961b597]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.0.4
Patch Changes
-
#1278
8a389f12Thanks @jnsdls! - updated various dependencies -
Updated dependencies [
8a389f12,a3bb17cb]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.0.3
Patch Changes
-
#1277
2b113539Thanks @joaquim-verges! - remove ethers/lib/utils dependency -
#1267
be606dd3Thanks @0xFirekeeper! - set signer null when disconnecting paper to avoid exceptions on event callbacks -
#1269
998e5217Thanks @MananTank! - - ExposeadvancedOptionsandstylesfor paper wallet- Allow using "+" in paper email
- Allow using "+" in magic email
- Update Paper SDK version
-
Updated dependencies [
2b113539,c9535715,5882091e]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
1.0.2
Patch Changes
-
#1263
ed711c8cThanks @iketw! - Pass a min set of chains if user passes more than 50 chains. We'll rely on "adding chains" for new chains -
#1255
05a7495aThanks @joaquim-verges! - Handle passing RPC urls as chain in SmartWallet config -
#1265
e78da6b3Thanks @MananTank! - Wallet Connect v2 Corrections
1.0.1
Patch Changes
- #1259
efb3546eThanks @iketw! - Fix. Respecting passed wallets if less then 50, otherwhise use defaults chains.
1.0.0
Major Changes
-
#1215
3c5dc480Thanks @iketw! - Migrate wallets to WCV2 and remove WCV1 support.Please, check our changelogs for more info: https://blog.thirdweb.com/changelog/
Patch Changes
-
#1256
ac3e019cThanks @0xFirekeeper! - WCv2 and Paper support for WebGL Unity -
Updated dependencies [
ef4cb092,30ac3aef,620e89dc,0fd8aa04]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
0.3.3
Patch Changes
-
#1237
536b0f12Thanks @iketw! - [React] Add Rainbow Wallet (implementing the WalletConnect wallet)import { ThirdwebProvider, rainbowWallet } from "@thirdweb-dev/react"; const activeChain = "ethereum"; <ThirdwebProvider activeChain={activeChain} supportedWallets={[rainbowWallet()]} > <App /> </ThirdwebProvider>; -
#1236
b626782bThanks @iketw! - [Wallets/React] Add Trust Walletimport { ThirdwebProvider, trustWallet } from "@thirdweb-dev/react"; const activeChain = "mumbai"; <ThirdwebProvider activeChain={activeChain} autoSwitch={true} supportedWallets={[trustWallet()]} > <App /> </ThirdwebProvider>; -
Updated dependencies [
d498c79a,9af346ee]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
0.3.2
Patch Changes
-
#1220
3cb298acThanks @iketw! - [RN/Wallets] Fix Coinbase wallet connection rejection errorUnhandled Rejections: We were rethrowing an error in an async function (connect) without any catch block to handle it. We were getting an Unhandled Promise Rejection, which lead to a crash in React Native when rejecting a connection from the Coinbase Wallet.
-
#1213
3ce5f9a0Thanks @iketw! - [ReactCore/Wallets] Improve error messages for wc and auth -
#1226
a388d07aThanks @MananTank! - Add Magic Connect support -
#1214
1ce8558dThanks @iketw! - [Wallets] Fix switchChain in WCV2 connectorWCV2
blockExplorerUrlsfield receives an array of urls but we were passing an array of blockExplorer objects, so adding a new chain was failing, hence switching chains was failing -
#1212
60fb1889Thanks @MananTank! - Fix safeWallet tree-shaking -
Updated dependencies [
6816219a,48065bcd,6aa6f7e0,f7f4f207,d4d95507,483e2b91,c08e6ba9,3d615a62]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
0.3.1
Patch Changes
-
#1206
3d62278aThanks @MananTank! - Add eslint-plugin-better-tree-shaking -
Updated dependencies [
d9b7360d,8a2d9204,990c665d,c6f44722,45ae105e,f41f1a29,bb7ca20e,23d61cfe,8941b226,e0ce4a37]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
0.3.0
Minor Changes
Patch Changes
-
#1000
329bccecThanks @goosewobbler! - '[Wallets/React] Adds Frame as a supported wallet.'You can now use Frame by adding
frameWallet()in the ThirdwebProvider'ssupportedWalletsprop.import { ThirdwebProvider, localWallet, frameWallet, } from "@thirdweb-dev/react"; <ThirdwebProvider activeChain={activeChain} supportedWallets={[frameWallet(), localWallet()]} > <App /> </ThirdwebProvider>; -
Updated dependencies [
cc20f93e,a430160e,12b07aad,7d2a446e,8e28b0f5,01293857,20bbad1a]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
0.2.26
Patch Changes
-
#1153
2a443365Thanks @kristofgazso! - Fix Celo BASEFEE check -
#1132
197a6838Thanks @MananTank! - Clear localWallet.ethersWallet when calling localWallet.disconnect -
Updated dependencies [
3bf7f375,16232de9,8687d6ac,645b0303,522453fd,6803c3e9,56f85e57,6a91b6a0,a5f16b6d,b6728603,ed47fd53]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
0.2.25
Patch Changes
-
#1118
9b20fc9aThanks @MananTank! - Remove chain restriction in paper wallet -
Updated dependencies [
ce36322b,c60658ed,aa9e952c,564eaccf,6aee0413,e93aa70e,51bbd3d1]:
0.2.24
Patch Changes
0.2.23
Patch Changes
-
#1010
bba9767aThanks @iketw! - [ReactNative-Wallets] Enables SmartWallet to connect to an app, with implementation in React Native- Wallets package
- Smart Wallet now supports connecting an external app to it. It acts as an actual wallet implementing the WC protocol
- There are two WalletConnect handlers to manage V1 and V2 WC connections
- Creates a synchronous storage interface used in WCV1
- To have your connector support WC, you need to implement the interface: IWalletConnectReceiver.
- You can now pass the flag enableConnectApp to the smart wallet config to enable a new field in our modal to connect an app to your smart wallet
smartWallet({ factoryAddress: "..." thirdwebApiKey: "apiKey" gasless: true, personalWallets: [localWallet()], enableConnectApp: true, }),- React Native
- Creates new modals for WC SessionRequests and SessionApprovals
- Implements SyncStorage using MMKV
-
#1065
bd86661fThanks @iketw! - [ReactNative] Add support for signing in with email/phone using magic sdkDevs can now add a new supportedWallet:
import { Goerli } from '@thirdweb-dev/chains'; import { ThirdwebProvider, magicWallet } from '@thirdweb-dev/react-native'; <ThirdwebProvider activeChain={Goerli} supportedWallets={[ magicWallet({ apiKey: 'magic_api_key', }), ]}> -
#1070
68fa1896Thanks @joaquim-verges! - Expose smartWallet.deploy() and smartWallet.isDeployed() -
#1085
292a321aThanks @MananTank! - Fix Metamask disconnection on switch chain -
#1073
f3b2ae3fThanks @ciaranightingale! - Update Smart Wallet "getAddress" with "data" arg -
#1088
4f99ccb4Thanks @iketw! - [RN/Wallets] Adds send_transaction support for wcv1 Connect to App feature -
#1064
c85810eeThanks @MananTank! - Do not cache signer in wallets -
#1087
35984362Thanks @adam-maj! - Add proper on-chain signing for Safe -
Updated dependencies [
2f1df0b5,189daf02,afae0873,c6e74ef0,ee4c7de2,f7b352a5,4a1d7581,bdabbef7,59206233,98efd090,8eecf4c2,bd86661f,d5651006,da576108,c85810ee,6fd10f94,5f1e6abb,a034b032]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
0.2.22
Patch Changes
-
#1040
30e5593dThanks @joaquim-verges! - Deploy SmartWallet before signing messages -
Updated dependencies [
30e5593d]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
0.2.21
Patch Changes
-
#1034
b6f48e10Thanks @joaquim-verges! - Expose overrideable paymasterAPI in SmartWalletConfig -
Updated dependencies [
3c8c5d56,907d97be]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
0.2.20
Patch Changes
-
#1022
738c0ec6Thanks @mmeigooni! - Update Paper SDK version -
#1002
d495a4b8Thanks @MananTank! - Expose Web3Modal QRModalOptions in WalletConnect V2 -
#998
4f843833Thanks @MananTank! - - skip wallet-selector screen if there's a single wallet- Fix "Can't close Safe screen" issue
- Fix magicSdkConfiguration type
-
Updated dependencies [
e9b69300,49ec2d17,799d98e8,c3645c45,470e0a14,482f6d1b,e4356e76,9886c858,8db78299]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
0.2.19
Patch Changes
-
#990
6a4aab0bThanks @joaquim-verges! - Fix loadOrCreate for LocalWalletNode -
Updated dependencies [
32908b76,6a4aab0b]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
0.2.18
Patch Changes
-
#973
93bdec06Thanks @MananTank! - - Fix PaperWallet.connect() error- Fix return type of Wallet.autoConnect()
-
#981
ea0f9479Thanks @iketw! - ## [ReactNative] Allow custom wallets be added to the ConnectWallet button modalWith this new API you can build your own wallet and wallet UI and integrate it into our ConnectWallet modal:
import type { ConfiguredWallet, ConnectUIProps } from '@thirdweb-dev/react-native'; import { createAsyncLocalStorage, ConnectUIProps } from '@thirdweb-dev/react-native'; import { WalletOptions } from '@thirdweb-dev/wallets'; const WALLET_ID = "my-wallet-id"; export const myWallet = (): ConfiguredWallet => { const asyncStorage = createAsyncLocalStorage(WALLET_ID); const configuredWallet = { id: WALLET_ID, meta: { id: WALLET_ID, name: "My Custom Wallet", // This will be displayed in the connect wallet modal iconURL: "ipfs or https url to an image or svg" // This will be used to fetch the icon to show in the connect wallet modal }, create: (options: WalletOptions) => new MyWallet({ ...options, walletStorage: asyncStorage, }), connectUI(props: ConnectUIProps) { return <MyWalletUI {...props} />; // This will show up in the modal after the user selects your wallet }, }; return configuredWallet; };You can then add the wallet to your
supportedWalletsin theThirdwebProvider:import { Goerli } from '@thirdweb-dev/chains'; import { ThirdwebProvider, metamaskWallet, } from '@thirdweb-dev/react-native'; const activeChain = Goerli; const App = () => { return ( <ThirdwebProvider activeChain={activeChain} supportedChains={[activeChain]} supportedWallets={[ myWallet(), metamaskWallet(), ]}> <AppInner /> </ThirdwebProvider> ); };This new version exposes some utility functions:
formatWalletConnectDisplayUri
Formats the wallet connect
wc://url for usage with custom wallet linksshortenWalletAddress
Shortens a wallet address for display purposes
createAsyncLocalStorageandcreateSecureStorage
You can use these methods to get wallet compatible storage types.
createAsyncLocalStorageuses MMKV in the backgroundcreateSecureStorageuses Expo SecureStore in the background
-
#978
05ebbc15Thanks @joaquim-verges! - Export ethers and private key wallets top level -
#974
4ca557aeThanks @iketw! - [Wallet] Rename Connector to WagmiConnector and TWConnector to Connector -
#967
7d7685e3Thanks @MananTank! - - Fix type of connect() for magic wallet- enforce smsLogin, emailLogin restriction for magic wallet
- update the icon for local wallet
-
#977
93bd5733Thanks @MananTank! - Fix Connect Wallet Open/Close issues -
Updated dependencies [
5305b42d,eb521d24,af4b5356,93bd5733,a2df187b,aa9b6acc]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
0.2.17
Patch Changes
-
#937
7012513bThanks @iketw! - [ReactNative] Adding Smart Wallet to React Native as an option in the ConnectWallet button -
#941
5d67b280Thanks @MananTank! - Add Magic Link -
#931
f12a80a4Thanks @joaquim-verges! - Default RPC for Local Wallet -
#948
5a67d5d8Thanks @joaquim-verges! - Batch transactions for Smart Wallets -
#787
d2c7f6d7Thanks @iketw! - [ReactNative] Adds Device Wallet -
#955
c7c2530cThanks @MananTank! - Local wallet UI refactor and other fixes -
#930
e22e4a47Thanks @MananTank! - suggest first supportedWallet for getting started in ConnectWallet -
#942
1e4ac672Thanks @joaquim-verges! - Simplify and generalize SmartWallet API -
#947
fc96e147Thanks @joaquim-verges! - Expose execute functions directly from SmartWallet -
#956
4a69f8c8Thanks @iketw! - [ReactNative] Allow switching between personal wallet and smart wallet- Updates SmartWallet and LocalWallet icons
- Adds "Learn More" links to both new wallets
-
#953
26cd91ffThanks @joaquim-verges! - Latest default factory for SmartWallet -
#945
0186721bThanks @joaquim-verges! - New utility functions for SmartWallet -
#927
1e9fad77Thanks @MananTank! - safe, deviceWallet and smartWallet autoconnect -
#929
7af99d9aThanks @joaquim-verges! - Use entrypoint v0.6 for smart accounts -
#904
8cfb4f38Thanks @joaquim-verges! - Introducing SmartWallet to easily connect to ERC4337 compatible account contracts -
Updated dependencies [
d2c7f6d7,f12a80a4,bf6df267,8f962bc1,28b5d1eb,0bf29745,f0279c22,1e9fad77,00d0d01e,fc96e147]:- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
0.2.16
Patch Changes
-
#892
4acb2b55Thanks @MananTank! - Add Switch Account button for MetaMask -
#901
82bea3faThanks @MananTank! - Device Wallet revamp -
#908
664d1cd0Thanks @MananTank! - Fix dynamic import error of crypto-js in device wallet -
#910
c2fec930Thanks @joaquim-verges! - Allow passing any EVMWallet to SafeWallet as personal signer -
Updated dependencies [
a6610f12,77224646]:- @thirdweb-dev/[email protected]
0.2.15
Patch Changes
-
#868
b616dca7Thanks @iketw! - - Updates base wallet classes names- Makes InjectedWallet params optional
- Removes connector storage constructor param from Injected and MetaMask wallets
-
#872
2545a440Thanks @nachoiacovino! - Rename Wallet Connect to WalletConnect -
#859
229a4741Thanks @MananTank! - Fix Error when connecting to Safe in Vite
0.2.14
Patch Changes
-
#870
235eb046Thanks @jnsdls! - fix crash during SSR when "window" is undefined -
Updated dependencies [
235eb046]:- @thirdweb-dev/[email protected]
0.2.13
Patch Changes
-
#851
c5c2d947Thanks @MananTank! - Fix wallet autoconnect issuesFixes
- infinite loading spinner on connect wallet button when wallet is locked or connection to app is closed
- network switch popup on page load when wallet is connected to different network than it was previously connected
- removed autoconnect timeout - don't need it anymore
-
#855
2dd192a5Thanks @MananTank! - Add auth in Connect Wallet button
0.2.12
Patch Changes
- Updated dependencies [
1137a20d]:- @thirdweb-dev/[email protected]
0.2.11
Patch Changes
- Updated dependencies [
839fce1f]:- @thirdweb-dev/[email protected]
0.2.10
Patch Changes
- Updated dependencies [
9b303829]:- @thirdweb-dev/[email protected]
0.2.9
Patch Changes
-
#584
d01b135dThanks @MananTank! - [Wallets, RN, React, ReactCore] New Wallets SDK implementationBreaking changes:
React and React Native
- Replaced
walletConnectorswithsupportedWalletsin the ThirdwebProvider.
import { coinbaseWallet, metamaskWallet, ThirdwebProvider } from "@thirdweb-dev/react"; const App = () => { - return <ThirdwebProvider walletConnectors={["metamask", "coinbaseWallet"]}>{...}</ThirdwebProvider> + return <ThirdwebProvider supportedWallets={[metamaskWallet(), coinbaseWallet()]}>{...}</ThirdwebProvider> }-
magicLinkConnectornot yet implemented in this version -
Removed
desiredChainId, useactiveChaininstead -
DAppMetaDatatype now requires theurlfield to be passed in -
Removed
chainRpcprop from the ThirdwebProvider. You can pass custom rpcs in the Chain object through theactiveChainandsupportedChainsprops. -
Replaced the
useNetworkhook foruseChainanduseSwitchChain -
Updated
ConnectWalletbutton in React:
- Removed
accentColorandcolorMode - Added a
themeprop withdarkandlightvalues
- Updated the
Web3Buttonbutton in React:
- Removed
accentColorandcolorMode - Added a
themeprop withdarkandlightvalues
Patch Changes
- You can now pass a
themeprop to the ThirdwebProvider. Values arelightanddark
import { ThirdwebProvider } from "@thirdweb-dev/react"; const App = () => { return <ThirdwebProvider theme='light'>{...}</ThirdwebProvider> }-
New wallet hooks added
- useWallet()
- useConenct()
- useConnectionStatus()
- useSwitchChain()
-
Removed
wagmidependency from thereact-native-compatpackage and updated shims -
New
ConnectWalletandWeb3Buttoncomponents in React Native -
New wallets package with support for the most common wallets. MetaMask, Coinbase, WalletConnect V1 and V2 and PaperWallet
-
Added
autoSwitchprop to the ThirdwebProvider to control whether or not to automatically switch to wallet's network to active chain
import { ThirdwebProvider } from "@thirdweb-dev/react"; const App = () => { return <ThirdwebProvider autoSwitch>{...}</ThirdwebProvider> } - Replaced
-
#760
93eca1deThanks @jnsdls! - keep@coinbase/wallet-sdkas a full dependency instead of peer dependency -
#825
4bdeefe6Thanks @iketw! - [Core,React,RN,Wallets] Allow for wallets to be created without props where possibleYou can now create wallets without having to worry about it's params. We provide sensible defaults.
const w = new WalletConnectV1(); w.connect(); const w1 = new WalletConnect(); w1.connect(); const cb = new CoinbaseWallet() w1.connect(); const safe = new SafeWallet(); const device = new DeviceBrowserWallet(); -
#833
83e99dbfThanks @MananTank! - Fix paper wallet autoconnect issue -
#824
95bcfa6dThanks @iketw! - [Wallets] Add autoconnect capabilities- You can now call
.autoConnecton your wallets and it will check if the wallet is connected. If it's not, it will not trigger the connect flow
- You can now call
-
#802
4d07b4b4Thanks @iketw! - [ReactCore/Wallets] ReactCore manages all coordination for wallet reconnection -
#739
4d5fdda9Thanks @jnsdls! - AddSafeconnector and wallet -
#835
6b31a9bcThanks @iketw! - [Wallets] set qrcode prop correctly -
#764
4b77bc9bThanks @MananTank! - paper wallet, do not save device wallet password -
#584
d01b135dThanks @MananTank! - [Wallets] New and updated wallets. [RN] UI Components and Wallets support. -
#832
e47ceafeThanks @MananTank! - - Fixwallet.addListener"connect", "disconnect" event emit issue- update the paper sdk
-
#778
6c0c6538Thanks @joaquim-verges! - Device wallet input cleanup -
#786
ddc1c33aThanks @MananTank! - Gnosis Safe -
#748
2221f97dThanks @MananTank! - [ReactCore] Inject api key to chains -
Updated dependencies [
d01b135d,e3161e59,33d1cc7f,6b145d4b,e2ec70c4,1baed0b1,2221f97d,5c7c0923,9a4a542c,b2d0ffb0]:- @thirdweb-dev/[email protected]
0.2.8
Patch Changes
-
#696
d30e3f4dThanks @joaquim-verges! - Upgrade Paper SDK -
#692
31a252a0Thanks @joaquim-verges! - Cleanup PaperWallet integration
0.2.7
Patch Changes
-
#665
6ef52dc9Thanks @shift4id! - Fix spelling throughout all packages -
#612
e50911bcThanks @joaquim-verges! - Email wallet RPC support
0.2.6
0.2.5
0.2.4
0.2.3
Patch Changes
0.2.2
0.2.1
Patch Changes
-
#548
94b120fThanks @joaquim-verges! - New DeviceWallet feature -
bddabe0Thanks @joaquim-verges! - Introducing email wallet capability
0.2.0
Minor Changes
-
#460
a6c074cThanks @adam-maj! - Wallets abstraction along with major Auth upgrade. Wallets split into EVM and Solana entrypoints along withGenericAuthWalletimplementation.Additionally,
AWSKmsWalletandAWSSecretsManagerwallets have been moved into the@thirdweb-dev/wallets/evmentrypoint from the SDK.
0.1.1
Patch Changes
-
#457
ccb4ce8Thanks @jnsdls! - Support for new magic link connector -
#458
4cdd0bdThanks @joaquim-verges! - Fixes for latest wallet package integration