@privy-io/react-auth 1.18.0-beta.1 → 1.18.0-beta.2

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
@@ -516,6 +516,7 @@ interface PrivyInterface {
516
516
  unlinkPhone: (phoneNumber: string) => Promise<User>;
517
517
  /**
518
518
  * Unlink a wallet account from a user, by passing the public address. Note that you can only unlink a wallet account if the user has at least one other account.
519
+ * If the unlinked wallet was the active one, and more wallets are linked to the user, then we attempt to make the most recently linked wallet active.
519
520
  */
520
521
  unlinkWallet: (address: string) => Promise<User>;
521
522
  /**
@@ -537,11 +538,12 @@ interface PrivyInterface {
537
538
  /**
538
539
  * Set one of the authenticated wallet addresses (part of user.linkedAccounts with type 'wallet'). as the active wallet.
539
540
  * If you pass a wallet that's not one of the linkedAccounts, this will throw an error.
541
+ * This will prompt the user to reconnect their wallet if the connection is lost.
540
542
  *
541
543
  * The active wallet will be the one that getEthersProvider() will use as a signer (used for signing & transactions).
542
544
  * It is also the wallet present at `user.wallet`, and that value is updated when this is called.
543
545
  *
544
- * Note that when you link a new wallet, it becomes 'active' by default.
546
+ * Note that when you link a new wallet, it becomes active.
545
547
  */
546
548
  setActiveWallet: (address: string) => Promise<void>;
547
549
  /**