@privy-io/react-auth 1.26.1-beta.2 → 1.26.1-beta.3
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/esm/index.js +54 -54
- package/dist/index.d.ts +5 -6
- package/dist/index.js +56 -56
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -469,15 +469,14 @@ interface ConnectedWallet extends BaseConnectedWallet {
|
|
|
469
469
|
/** True if this wallet is linked to the authenticated user. False if it is not yet linked or
|
|
470
470
|
* the user has not yet authenticated. */
|
|
471
471
|
linked: boolean;
|
|
472
|
-
/**
|
|
473
|
-
*
|
|
474
|
-
|
|
472
|
+
/** Login with this wallet or link this wallet to the authenticated user.
|
|
473
|
+
*
|
|
474
|
+
* Throws a PrivyClientError if the wallet is not connected.
|
|
475
|
+
*/
|
|
476
|
+
loginOrLink: () => Promise<void>;
|
|
475
477
|
/** Unlink this wallet to the authenticated user. Throws a PrivyClientError if the user is not
|
|
476
478
|
* authenticated. */
|
|
477
479
|
unlink: () => Promise<void>;
|
|
478
|
-
/** Login with this wallet. Throws a PrivyClientError if the user is already authenticated or
|
|
479
|
-
* the wallet is not connected. */
|
|
480
|
-
login: () => Promise<void>;
|
|
481
480
|
}
|
|
482
481
|
/** Object representation of a user's email. */
|
|
483
482
|
interface Email {
|