From 3cb1328a8130ed36a07d640deb980926089a4c3e Mon Sep 17 00:00:00 2001 From: James Hardwick Date: Thu, 8 Aug 2024 07:33:58 +1000 Subject: [PATCH] exposes method to clear injectedproviders --- packages/checkout/sdk/src/sdk.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/checkout/sdk/src/sdk.ts b/packages/checkout/sdk/src/sdk.ts index ed1a85c58f..d94cab5e25 100644 --- a/packages/checkout/sdk/src/sdk.ts +++ b/packages/checkout/sdk/src/sdk.ts @@ -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.