@privy-io/react-auth 1.76.6 → 1.76.7-beta-20240802150749

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
@@ -2490,6 +2490,7 @@ type PrivyFarcasterSignerInitResponse = {
2490
2490
  type RuntimeLoginOverridableOptions = {
2491
2491
  loginMethods?: PrivyClientConfig['loginMethods'];
2492
2492
  };
2493
+ type SetWalletRecoveryOptions = {};
2493
2494
 
2494
2495
  declare function getAccessToken(): Promise<string | null>;
2495
2496
  /**
@@ -2909,7 +2910,7 @@ interface PrivyInterface {
2909
2910
  *
2910
2911
  * @returns Promise for the {@link Wallet} object for the updated embedded wallet
2911
2912
  */
2912
- setWalletRecovery: () => Promise<Wallet>;
2913
+ setWalletRecovery: (o?: SetWalletRecoveryOptions) => Promise<Wallet>;
2913
2914
  /**
2914
2915
  * Prompts a user to sign a message using their embedded wallet using EIP-191's `personal_sign`
2915
2916
  * method (0x45).
@@ -3974,7 +3975,7 @@ declare function useSetWalletRecovery(callbacks?: PrivyEvents['setWalletRecovery
3974
3975
  /**
3975
3976
  * Opens the Privy set recovery modal and prompts the user to set wallet password.
3976
3977
  */
3977
- setWalletRecovery: () => Promise<Wallet>;
3978
+ setWalletRecovery: (o?: SetWalletRecoveryOptions) => Promise<Wallet>;
3978
3979
  };
3979
3980
 
3980
3981
  /**