@privy-io/react-auth 1.35.0-beta.7 → 1.35.0-beta.9
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 +146 -146
- package/dist/index.d.ts +6 -5
- package/dist/index.js +140 -140
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -777,16 +777,17 @@ type PrivyClientConfig = {
|
|
|
777
777
|
* The order of this array does not currently dictate order of the login methods in the UI, but may in the future. */
|
|
778
778
|
loginMethods?: Array<'wallet' | 'email' | 'sms' | 'google' | 'twitter' | 'discord' | 'github' | 'apple'>;
|
|
779
779
|
/**
|
|
780
|
-
* This property is required for
|
|
781
|
-
*
|
|
782
|
-
* @hidden
|
|
780
|
+
* This property is only required for apps that use a third-party authentication provider.
|
|
783
781
|
*/
|
|
784
782
|
customAuth?: {
|
|
785
783
|
/**
|
|
786
784
|
* If true, enable custom authentication integration.
|
|
787
|
-
* This enables a JWT from a custom auth provider to be used to authenticate Privy embedded wallets
|
|
785
|
+
* This enables a JWT from a custom auth provider to be used to authenticate Privy embedded wallets.
|
|
786
|
+
* Defaults to true.
|
|
787
|
+
*
|
|
788
|
+
* @default true
|
|
788
789
|
*/
|
|
789
|
-
enabled
|
|
790
|
+
enabled?: boolean;
|
|
790
791
|
/**
|
|
791
792
|
* A callback that returns the user's custom auth provider's access token as a string.
|
|
792
793
|
* Can be left blank if using cookies to store and send access tokens
|