@privy-io/react-auth 1.14.1-beta.3 → 1.14.1-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -272,6 +272,7 @@ declare abstract class WalletConnector {
272
272
  abstract connect(options: {
273
273
  showPrompt: boolean;
274
274
  }): Promise<Wallet | null>;
275
+ abstract disconnect(): void;
275
276
  abstract isConnected(): Promise<boolean>;
276
277
  abstract promptConnection(walletType: WalletType): void;
277
278
  }
@@ -289,6 +290,7 @@ declare class WalletConnectWalletConnector extends WalletConnector {
289
290
  }): Promise<Wallet | null>;
290
291
  isConnected(): Promise<boolean>;
291
292
  promptConnection(): Promise<void>;
293
+ disconnect(): void;
292
294
  }
293
295
  /**
294
296
  * An object representation of the Wallet Connect V1 protocol. This is used to initiate and manage connections
@@ -305,7 +307,7 @@ declare class WalletConnectGlobalWalletConnector {
305
307
  /**
306
308
  * Disconnects all active Wallet Connect sessions.
307
309
  */
308
- destroy(): Promise<void>;
310
+ disconnect(): Promise<void>;
309
311
  /**
310
312
  * Handles storage retrieval and assignment for WalletConnectProvider instances
311
313
  */