@privy-io/react-auth 1.23.1-beta.2 → 1.23.1

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.d.ts CHANGED
@@ -278,10 +278,11 @@ type PrivyClientConfig = {
278
278
  showWalletLoginFirst?: boolean;
279
279
  };
280
280
  /** Specified login methods for the privy modal.
281
- * Existence of options in this list overrides the server settings `wallet_auth`, `email_auth`, `sms_auth`, `google_oauth`, `twitter_oauth`,
282
- * `discord_oauth`, `github_oauth`, `apple_oauth` (respectively).
281
+ * If this parameter is included, it will override any login method settings specified on the server.
283
282
  * Only `email` OR `sms` can be specified, not both. If both are specified, `email` will be used.
284
- * The order of this array does not currently dictate order of the social login methods in the UI. */
283
+ * Social login methods require `email` OR `sms` to also be specified.
284
+ * `loginMethods` cannot be an empty array if specified.
285
+ * The order of this array does not currently dictate order of the login methods in the UI, but may in the future. */
285
286
  loginMethods?: Array<'wallet' | 'email' | 'sms' | 'google' | 'twitter' | 'discord' | 'github' | 'apple'>;
286
287
  /** All legal configuration */
287
288
  legal?: {