@privy-io/react-auth 1.5.0 → 1.6.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.cjs.js +157 -157
- package/dist/index.d.ts +12 -0
- package/dist/index.esm.js +157 -157
- package/package.json +12 -2
package/dist/index.d.ts
CHANGED
|
@@ -195,6 +195,18 @@ interface PrivyInterface {
|
|
|
195
195
|
* For users who are authenticated, opens the Privy modal and prompts the user to link a wallet.
|
|
196
196
|
*/
|
|
197
197
|
linkWallet: () => void;
|
|
198
|
+
/**
|
|
199
|
+
* For users who are authenticated, opens the Privy modal and prompts the user to link google OAuth account
|
|
200
|
+
*/
|
|
201
|
+
linkGoogle: () => void;
|
|
202
|
+
/**
|
|
203
|
+
* For users who are authenticated, opens the Privy modal and prompts the user to link twitter OAuth account
|
|
204
|
+
*/
|
|
205
|
+
linkTwitter: () => void;
|
|
206
|
+
/**
|
|
207
|
+
* For users who are authenticated, opens the Privy modal and prompts the user to link discord OAuth account
|
|
208
|
+
*/
|
|
209
|
+
linkDiscord: () => void;
|
|
198
210
|
/**
|
|
199
211
|
* 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.
|
|
200
212
|
*
|