Skip to content

Commit

Permalink
:hotfix not syncing connectors (#3246)
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvoskamp authored Nov 15, 2024
1 parent 89e7886 commit 0eb4fd8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
24 changes: 24 additions & 0 deletions .changeset/curly-singers-deliver.md
Original file line number Diff line number Diff line change
@@ -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
5 changes: 2 additions & 3 deletions packages/appkit/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0eb4fd8

Please sign in to comment.