ConnectKit Update 1.2.1
This update improves the functionality and developer experience of using ConnectKit and moves the peer dependency wagmi up a version to 0.11.x.
This update does not yet include support for WalletConnect 2.0 (wagmi 0.12.x).
This version of wagmi has breaking changes. Make sure your application is compatible by following wagmi's migration guide.
New
- Update peer dependency wagmi to version 0.11.x (thanks Songkeys).
- Add new pt-BR translations (thanks LuwkasLima).
- Include new hideBalance option to hide the wallet balance from the profile view.
- Include new enforceSupportedChains option to disable the forced network switching UX when connected to an unsupported chain.
- Include new disableSiweRedirect option to disable the redirect to the SIWE page when a wallet connects.
- Include new functions from the useModal Hook to choose a page to navigate to on open.
- The openSIWE() function accepts a boolean, which if set to true will initiate the wallet SIWE signing request at the same time as opening the modal.
- Add logos for the following chains:
Chain ID | Name | Logo |
---|---|---|
420 | Optimism Goerli | |
40 | Telos | |
41 | Telos Testnet | |
1313161554 | Aurora | |
1313161555 | Aurora Testnet | |
43114 | Avalanche | |
43113 | Avalanche Fuji Testnet | |
31337 | Foundry | |
100 | Gnosis | |
9001 | Evmos | |
9000 | Evmos Testnet | |
56 | BNB Smart Chain | |
97 | BNB Smart Chain Testnet | |
11155111 | Sepolia | |
841 | Taraxa | |
842 | Taraxa Testnet | |
324 | zkSync | |
280 | zkSync Testnet | |
42220 | Celo | |
44787 | Celo Alfajores Testnet | |
7700 | Canto | |
250 | Fantom | |
4002 | Fantom Testnet | |
14 | Flare | |
114 | Flare Coston2 | |
314 | Filecoin | |
3141 | Filecoin Hyperspace | |
314159 | Filecoin Calibration | |
1088 | Metis | |
599 | Metis Goerli | |
4689 | IoTeX | |
4690 | IoTeX Testnet |
Improved
- Update testbench for better developer experience.
- Improve logic for isConnecting within the Custom ConnectKitButton.
- Replace getGlobalChains with useChains Hook
- Tidy up some internal component structure and include a few useful dev updates (thanks pugson).
- Export useIsMounted and Context (thanks shahruz).