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