diff --git a/.changeset/polite-dogs-search.md b/.changeset/polite-dogs-search.md new file mode 100644 index 0000000000..b4bc56f166 --- /dev/null +++ b/.changeset/polite-dogs-search.md @@ -0,0 +1,38 @@ +--- +'@reown/appkit-scaffold-ui': patch +'@apps/demo': patch +'@apps/gallery': patch +'@apps/laboratory': patch +'@examples/html-ethers': patch +'@examples/html-ethers5': patch +'@examples/html-wagmi': patch +'@examples/next-ethers': patch +'@examples/next-wagmi': patch +'@examples/react-ethers': patch +'@examples/react-ethers5': patch +'@examples/react-solana': patch +'@examples/react-wagmi': patch +'@examples/vue-ethers5': patch +'@examples/vue-solana': patch +'@examples/vue-wagmi': 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': patch +'@reown/appkit-utils': patch +'@reown/appkit-cdn': patch +'@reown/appkit-common': patch +'@reown/appkit-core': patch +'@reown/appkit-ethers': patch +'@reown/appkit-ethers5': patch +'@reown/appkit-polyfills': patch +'@reown/appkit-siwe': patch +'@reown/appkit-solana': patch +'@reown/appkit-ui': patch +'@reown/appkit-wagmi': patch +'@reown/appkit-wallet': patch +--- + +Fixes issue where featured wallet ids were being filtered out if their connector was present but not displayed. eg. SDK Connectors. diff --git a/packages/scaffold-ui/src/utils/WalletUtil.ts b/packages/scaffold-ui/src/utils/WalletUtil.ts index 1466f3a8a7..32142ad753 100644 --- a/packages/scaffold-ui/src/utils/WalletUtil.ts +++ b/packages/scaffold-ui/src/utils/WalletUtil.ts @@ -29,7 +29,9 @@ export const WalletUtil = { }, filterOutDuplicatesByIds(wallets: WcWallet[]) { - const connectors = ConnectorController.state.connectors + const connectors = ConnectorController.state.connectors.filter( + connector => connector.type === 'ANNOUNCED' || connector.type === 'INJECTED' + ) const recent = StorageUtil.getRecentWallets() const connectorIds = connectors.map(connector => connector.explorerId)