v1.2.1
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
).
Note
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 totrue
will initiate the wallet SIWE signing request at the same time as opening the modal.
- The
- Add logos for the following chains:
- Optimism Goerli
- Telos
- Telos Testnet
- Aurora
- Aurora Testnet
- Avalanche
- Avalanche Fuji Testnet
- Foundry
- Gnosis
- Evmos
- Evmos Testnet
- BNB Smart Chain
- BNB Smart Chain Testnet
- Sepolia
- Taraxa
- Taraxa Testnet
- zkSync
- zkSync Testnet
- Celo
- Celo Alfajores Testnet
- Canto
- Fantom
- Fantom Testnet
- Flare
- Flare Coston2
- Filecoin
- Filecoin Hyperspace
- Filecoin Calibration
- Metis
- Metis Goerli
- IoTeX
- IoTeX Testnet
Improved
- Update testbench for better developer experience.
- Improve logic for
isConnecting
within the CustomConnectKitButton
. - Replace
getGlobalChains
withuseChains
Hook - Tidy up some internal component structure and include a few useful dev updates (thanks @pugson).
- Export
useIsMounted
andContext
(thanks @shahruz).