@privy-io/react-auth 1.14.1-beta.2 → 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
  */
@@ -564,11 +566,11 @@ interface ResponseOAuthGithub {
564
566
  email: string | null;
565
567
  verified_at: number;
566
568
  }
567
- type LinkedAccountsType = Array<ResponseEmailAccount | ResponsePhoneAccount | ResponseEthereumAccount | ResponseOAuthGoogle | ResponseOAuthTwitter | ResponseOAuthDiscord | ResponseOAuthGithub>;
569
+ type LinkedAccountsResponseType = Array<ResponseEmailAccount | ResponsePhoneAccount | ResponseEthereumAccount | ResponseOAuthGoogle | ResponseOAuthTwitter | ResponseOAuthDiscord | ResponseOAuthGithub>;
568
570
  interface GetCurrentUserResponse {
569
571
  id: string;
570
572
  created_at: number;
571
- linked_accounts: LinkedAccountsType;
573
+ linked_accounts: LinkedAccountsResponseType;
572
574
  }
573
575
 
574
576
  /**