From 15ae8252bc20a5d900cf75b57123515afb2f94e8 Mon Sep 17 00:00:00 2001 From: Lochie Axon Date: Mon, 3 Jun 2024 22:48:17 +1000 Subject: [PATCH] change default for enforceSupportedChains --- CHANGELOG.md | 4 ++++ packages/connectkit/src/components/ConnectKit.tsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be953e9e..59020462 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## Updated + +- Changed default setting for `enforceSupportedChains` to `false` to allow for better defaul user and developer experience. + # 1.7.3 This update fixes a few bugs and improves the stability of the QR code generation for WalletConnect and Coinbase Wallet. diff --git a/packages/connectkit/src/components/ConnectKit.tsx b/packages/connectkit/src/components/ConnectKit.tsx index 60cb4000..c65f0576 100644 --- a/packages/connectkit/src/components/ConnectKit.tsx +++ b/packages/connectkit/src/components/ConnectKit.tsx @@ -158,7 +158,7 @@ export const ConnectKitProvider = ({ bufferPolyfill: true, customAvatar: undefined, initialChainId: chains?.[0]?.id, - enforceSupportedChains: true, + enforceSupportedChains: false, ethereumOnboardingUrl: undefined, walletOnboardingUrl: undefined, disableSiweRedirect: false,