@privy-io/react-auth 1.54.2 → 1.54.3-beta-20240124152426

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
@@ -326,6 +326,7 @@ declare enum PrivyErrorCode {
326
326
  MISSING_OR_INVALID_PRIVY_ACCOUNT_ID = "missing_or_invalid_privy_account_id",
327
327
  MISSING_OR_INVALID_TOKEN = "missing_or_invalid_token",
328
328
  INVALID_DATA = "invalid_data",
329
+ INVALID_CAPTCHA = "invalid_captcha",
329
330
  LINKED_TO_ANOTHER_USER = "linked_to_another_user",
330
331
  CANNOT_LINK_MORE_OF_TYPE = "cannot_link_more_of_type",
331
332
  ALLOWLIST_REJECTED = "allowlist_rejected",
@@ -1735,7 +1736,9 @@ interface PrivyProviderProps {
1735
1736
  */
1736
1737
  declare const PrivyProvider: ({ config, ...props }: PrivyProviderProps) => JSX.Element;
1737
1738
 
1738
- type CaptchaProps = Partial<Pick<TurnstileProps, 'onUnsupported' | 'onError' | 'onSuccess' | 'onExpire' | 'onSubmit'>>;
1739
+ type CaptchaProps = Partial<Pick<TurnstileProps, 'onUnsupported' | 'onError' | 'onSuccess' | 'onExpire' | 'onSubmit'>> & {
1740
+ delayedExecution?: boolean;
1741
+ };
1739
1742
  /**
1740
1743
  * Used to render an invisible captcha alongside important forms
1741
1744
  *