@flopay/react 1.11.4 → 1.11.6

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.cts CHANGED
@@ -844,6 +844,13 @@ interface VaultCardFieldsProps {
844
844
  * gate; omitted to skip it.
845
845
  */
846
846
  expectedOrigin?: string;
847
+ /**
848
+ * The form sits behind the backend's production human check (the vault
849
+ * block's `verification.required`). Forwarded to the adapter so a pre-submit
850
+ * frame `error` (check failed, expired or unavailable) is not reported as a
851
+ * vault load failure; it still reaches {@link VaultCardFieldsProps.onError}.
852
+ */
853
+ verificationRequired?: boolean;
847
854
  /**
848
855
  * Merchant theme colors pushed into the hosted widget so the card form
849
856
  * matches the surrounding checkout. Applied live on change (no remount).
@@ -893,6 +900,6 @@ interface VaultCardFieldsProps {
893
900
  * {@link CardCaptureAdapter} and bridges its `ready` / `error` lifecycle events
894
901
  * back to the surrounding card form.
895
902
  */
896
- declare function VaultCardFields({ capture, html, messageToken, expectedOrigin, theme, submitLabel, containerStyle, onReady, onError, onValidation, }: VaultCardFieldsProps): React.ReactElement;
903
+ declare function VaultCardFields({ capture, html, messageToken, expectedOrigin, verificationRequired, theme, submitLabel, containerStyle, onReady, onError, onValidation, }: VaultCardFieldsProps): React.ReactElement;
897
904
 
898
905
  export { type CheckoutState, DirectPayPalButton, type DirectPayPalButtonProps, type DirectPayPalInitializationState, FloPayAutomaticPaymentButton, type FloPayAutomaticPaymentButtonProps, type FloPayAutomaticPaymentSuccessEvent, FloPayCheckout, type FloPayCheckoutProps, FloPayPaymentMethodSetup, FloPayPaymentMethodSetupProps, FloPayProvider, type FloPayProviderProps, SplitCardForm, type SplitCardFormProps, VaultCardFields, type VaultCardFieldsProps, useCheckout, useFloPay, usePayPalFloPay };
package/dist/index.d.ts CHANGED
@@ -844,6 +844,13 @@ interface VaultCardFieldsProps {
844
844
  * gate; omitted to skip it.
845
845
  */
846
846
  expectedOrigin?: string;
847
+ /**
848
+ * The form sits behind the backend's production human check (the vault
849
+ * block's `verification.required`). Forwarded to the adapter so a pre-submit
850
+ * frame `error` (check failed, expired or unavailable) is not reported as a
851
+ * vault load failure; it still reaches {@link VaultCardFieldsProps.onError}.
852
+ */
853
+ verificationRequired?: boolean;
847
854
  /**
848
855
  * Merchant theme colors pushed into the hosted widget so the card form
849
856
  * matches the surrounding checkout. Applied live on change (no remount).
@@ -893,6 +900,6 @@ interface VaultCardFieldsProps {
893
900
  * {@link CardCaptureAdapter} and bridges its `ready` / `error` lifecycle events
894
901
  * back to the surrounding card form.
895
902
  */
896
- declare function VaultCardFields({ capture, html, messageToken, expectedOrigin, theme, submitLabel, containerStyle, onReady, onError, onValidation, }: VaultCardFieldsProps): React.ReactElement;
903
+ declare function VaultCardFields({ capture, html, messageToken, expectedOrigin, verificationRequired, theme, submitLabel, containerStyle, onReady, onError, onValidation, }: VaultCardFieldsProps): React.ReactElement;
897
904
 
898
905
  export { type CheckoutState, DirectPayPalButton, type DirectPayPalButtonProps, type DirectPayPalInitializationState, FloPayAutomaticPaymentButton, type FloPayAutomaticPaymentButtonProps, type FloPayAutomaticPaymentSuccessEvent, FloPayCheckout, type FloPayCheckoutProps, FloPayPaymentMethodSetup, FloPayPaymentMethodSetupProps, FloPayProvider, type FloPayProviderProps, SplitCardForm, type SplitCardFormProps, VaultCardFields, type VaultCardFieldsProps, useCheckout, useFloPay, usePayPalFloPay };