From 0eb4fd864f4b844dd605887364557ea879e6fce2 Mon Sep 17 00:00:00 2001 From: Sven <38101365+svenvoskamp@users.noreply.github.com> Date: Fri, 15 Nov 2024 14:21:29 +0100 Subject: [PATCH] :hotfix not syncing connectors (#3246) --- .changeset/curly-singers-deliver.md | 24 ++++++++++++++++++++++++ packages/appkit/src/client.ts | 5 ++--- 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 .changeset/curly-singers-deliver.md diff --git a/.changeset/curly-singers-deliver.md b/.changeset/curly-singers-deliver.md new file mode 100644 index 0000000000..8d0f5b3d36 --- /dev/null +++ b/.changeset/curly-singers-deliver.md @@ -0,0 +1,24 @@ +--- +'@reown/appkit': patch +'@apps/demo': patch +'@apps/gallery': patch +'@apps/laboratory': patch +'@reown/appkit-adapter-ethers': patch +'@reown/appkit-adapter-ethers5': patch +'@reown/appkit-adapter-polkadot': patch +'@reown/appkit-adapter-solana': patch +'@reown/appkit-adapter-wagmi': patch +'@reown/appkit-utils': patch +'@reown/appkit-cdn': patch +'@reown/appkit-common': patch +'@reown/appkit-core': patch +'@reown/appkit-experimental': patch +'@reown/appkit-polyfills': patch +'@reown/appkit-scaffold-ui': patch +'@reown/appkit-siwe': patch +'@reown/appkit-siwx': patch +'@reown/appkit-ui': patch +'@reown/appkit-wallet': patch +--- + +Fix issue when connectors are not syncing correctly diff --git a/packages/appkit/src/client.ts b/packages/appkit/src/client.ts index 21b77141ca..d786d6e740 100644 --- a/packages/appkit/src/client.ts +++ b/packages/appkit/src/client.ts @@ -1658,9 +1658,8 @@ export class AppKit { if (this.authProvider) { adapters[namespace].setAuthProvider(this.authProvider) } - if (this.options?.features) { - adapters[namespace].syncConnectors(this.options, this) - } + + adapters[namespace].syncConnectors(this.options, this) } else { adapters[namespace] = new UniversalAdapter({ namespace,