Skip to content

Commit

Permalink
[Checkout SDK]feat: Clear InjectedProvidersManager (#2120)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhardwick authored Aug 29, 2024
1 parent a24953d commit ae6ac46
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 @@ -293,6 +293,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 ae6ac46

Please sign in to comment.