Skip to content

Commit

Permalink
exposes method to clear injectedproviders
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhardwick committed Aug 7, 2024
1 parent da4fb46 commit 3cb1328
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/checkout/sdk/src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ export class Checkout {
return InjectedProvidersManager.getInstance().subscribe(listener);
}

public clearInjectedProviders() {
return InjectedProvidersManager.getInstance().clear();
}

/**
* Checks if a wallet is connected to the specified provider.
* @param {CheckConnectionParams} params - The parameters for checking the wallet connection.
Expand Down

0 comments on commit 3cb1328

Please sign in to comment.