@privy-io/react-auth 1.13.0-beta.6 → 1.13.0-beta.8
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 +34 -34
- package/dist/index.d.ts +0 -10
- package/dist/index.js +43 -43
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -197,16 +197,6 @@ interface PrivyProviderProps {
|
|
|
197
197
|
*
|
|
198
198
|
*/
|
|
199
199
|
onSuccess?: (user: User, isNewUser: boolean) => void;
|
|
200
|
-
/**
|
|
201
|
-
* @experimental **Experimental**: This feature is {@link https://docs.privy.io/guide/faq/experimental-features subject to change at any time}.
|
|
202
|
-
*
|
|
203
|
-
* An optional callback that will execute if a `login` call fails.
|
|
204
|
-
*
|
|
205
|
-
* Within this callback, you can access:
|
|
206
|
-
* - an `isNotAllowed` boolean flag indicating if the user was prevented from logging in by
|
|
207
|
-
* your app's allowlist, if you have one enabled
|
|
208
|
-
*/
|
|
209
|
-
onError?: (isNotAllowed: boolean) => void;
|
|
210
200
|
/** @ignore */
|
|
211
201
|
children: React.ReactNode;
|
|
212
202
|
}
|