Skip to content

Commit

Permalink
Merge pull request #45 from secretkeylabs/mahmoud/eng-5301-sats-conne…
Browse files Browse the repository at this point in the history
…ct-disable-automatic-detection-for-wbip-compatible

eng-5301-sats-connect-disable-automatic-detection-for-wbip-compatible-wallets
  • Loading branch information
m-aboelenein authored Oct 7, 2024
2 parents 6f59d4a + 9dd1530 commit 1349889
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/provider/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,7 @@ export function removeDefaultProvider() {
}

export function getSupportedWallets(): SupportedWallet[] {
const ambientProviders = getProviders();
const { xverse, ...defaultProviders } = DefaultAdaptersInfo;

const allProviders = [...ambientProviders, ...Object.values(defaultProviders)];

const wallets: SupportedWallet[] = allProviders.map((provider) => {
const wallets: SupportedWallet[] = Object.values(DefaultAdaptersInfo).map((provider) => {
{
return {
...provider,
Expand Down

0 comments on commit 1349889

Please sign in to comment.