@privy-io/react-auth 1.76.2 → 1.76.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 +313 -313
- package/dist/index.d.ts +6 -1
- package/dist/index.js +313 -313
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -241,7 +241,7 @@ type RpcConfig = {
|
|
|
241
241
|
};
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
declare const DEFAULT_SUPPORTED_CHAINS: readonly [Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain];
|
|
244
|
+
declare const DEFAULT_SUPPORTED_CHAINS: readonly [Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain, Chain];
|
|
245
245
|
|
|
246
246
|
type WalletCreateRequestDataType = {
|
|
247
247
|
accessToken: string;
|
|
@@ -2677,6 +2677,11 @@ interface PrivyInterface {
|
|
|
2677
2677
|
*
|
|
2678
2678
|
*/
|
|
2679
2679
|
updateEmail: () => void;
|
|
2680
|
+
/**
|
|
2681
|
+
* For users who are authenticated and have already linked a phone number, prompts the user to update their phone number.
|
|
2682
|
+
* This will open the Privy Modal which will guide the user through this action.
|
|
2683
|
+
*/
|
|
2684
|
+
updatePhone: () => void;
|
|
2680
2685
|
/**
|
|
2681
2686
|
* Log the current user out and clears their authentication state. `authenticated` will become false, `user` will become null, and the Privy Auth tokens will be deleted from the browser's local storage.
|
|
2682
2687
|
*
|