Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
14 KiB
@thirdweb-dev/chains
0.1.19
Patch Changes
-
#1064
c85810eeThanks @MananTank! - Do not cache signer in wallets -
#1047
6fd10f94Thanks @MananTank! - Fix tree-shaking issue in@thirdweb-dev/chains -
#1090
5f1e6abbThanks @joaquim-verges! - Add base-goerli to default chains
0.1.18
Patch Changes
- #1040
30e5593dThanks @joaquim-verges! - Update chains
0.1.17
Patch Changes
-
#1033
907d97beThanks @joaquim-verges! - Added faucet for optimism goerli
0.1.16
Patch Changes
-
#996
c3645c45Thanks @MananTank! - - addthemeinConfiguredWallet.connectUI's props - to use theme aware UI for wallets- add
useWalletConfighook to get theConfiguredWalletobject for active wallet - add hooks
useSetConnectedWallet,useSetConnectionStatus - rename
useActiveChaintouseChain- keep theuseActiveChainalso with deprecated tag - make
useSafehook await-able by returning the promise of connect() call - add hook
useSmartWallet - allow rendering custom wallet details button via
<ConnectWallet detailsButton={} />prop - Rename "Export" to "Backup" in local wallet UI
- add
-
#1011
470e0a14Thanks @MananTank! - rename ConfiguredWallet to WalletConfig- import { ConfiguredWallet } from '@thirdweb-dev/react'; + import { WalletConfig } from '@thirdweb-dev/react'; -
#989
8db78299Thanks @iketw! - [React/ReactNative] Updated useThirdwebWallet to useWalletContext
0.1.15
Patch Changes
- #990
6a4aab0bThanks @joaquim-verges! - updated chains
0.1.14
Patch Changes
- #954
5305b42dThanks @jarrodwatts! - useContract now types correctly for thirdweb generate
0.1.13
Patch Changes
-
#787
d2c7f6d7Thanks @iketw! - [ReactNative] Adds Device Wallet -
#931
f12a80a4Thanks @joaquim-verges! - Updated chains
0.1.12
Patch Changes
-
#896
a6610f12Thanks @atharvadeosthale! - Added links to portal -
#903
77224646Thanks @joaquim-verges! - new chains
0.1.11
Patch Changes
0.1.10
Patch Changes
0.1.9
Patch Changes
0.1.8
Patch Changes
0.1.7
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
-
#771
e3161e59Thanks @iketw! - [ReactNativeSDK] Use wallet metadata from the wallet class -
#748
2221f97dThanks @MananTank! - [ReactCore] Inject api key to chains -
#770
5c7c0923Thanks @joaquim-verges! - update chains -
#719
b2d0ffb0Thanks @nachoiacovino! - Replace Goerli default faucet
0.1.6
Patch Changes
-
#643
85250cf7Thanks @jnsdls! - exposegetChainBySlugandChainSlugandChainIdtype -
#638
e33bd2a8Thanks @jnsdls! - AddgetChainByChainId()to retrieve chain by chainId
0.1.5
Patch Changes
0.1.4
Patch Changes
0.1.3
Patch Changes
0.1.2
Patch Changes
0.1.1
Patch Changes
- #599
f580b8aThanks @joaquim-verges! - New chains added
0.1.0
Minor Changes
-
af8cf40Thanks @joaquim-verges! - Initial release for@thirdweb-dev/chains.Use this package to easily configure chains with
@thirdweb-dev/sdkand@thirdweb-dev/react.
Patch Changes
-
6a50719Thanks @jnsdls! - addgetChainRPCsexport to get a list of RPCs instead of a single RPC viagetChainRPC -
5d25ee1Thanks @jnsdls! - fixgetChainRPC()utility function logic -
d0bcd2cThanks @jnsdls! - add new chains + localhost special case -
#589
017b0d5Thanks @jnsdls! - addminimizeChainandconfigureChainutil functions -
500a0e6Thanks @jnsdls! - add thirdweb rpc to all available chains