@privy-io/react-auth 1.71.0 → 1.71.1-beta-20240614021648

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
@@ -2456,8 +2456,11 @@ interface PrivyInterface {
2456
2456
  user: User | null;
2457
2457
  /**
2458
2458
  * Opens the Privy modal and prompts the user to connect a wallet.
2459
+ * @param options.suggestedAddress {string} (optional) wallet address that you wish to prompt the user to explicitly connect, if included
2459
2460
  */
2460
- connectWallet: () => void;
2461
+ connectWallet: (options?: {
2462
+ suggestedAddress?: string;
2463
+ }) => void;
2461
2464
  /**
2462
2465
  * Opens the Privy login modal and prompts the user to login.
2463
2466
  */
@@ -3544,7 +3547,9 @@ declare function useConnectWallet(callbacks?: PrivyEvents['connectWallet']): {
3544
3547
  /**
3545
3548
  * Opens the Privy modal and prompts the user to connect a wallet.
3546
3549
  */
3547
- connectWallet: () => void;
3550
+ connectWallet: (options?: {
3551
+ suggestedAddress?: string | undefined;
3552
+ } | undefined) => void;
3548
3553
  };
3549
3554
 
3550
3555
  /**