Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
20 KiB
@thirdweb-dev/wallets
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