@flopay/react 1.11.4 → 1.11.5
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/card-setup-entry.cjs +2 -2
- package/dist/card-setup-entry.mjs +1 -1
- package/dist/chunk-52RFSQJ7.mjs +1 -0
- package/dist/chunk-AW5LOT2K.mjs +6 -0
- package/dist/index.cjs +9 -9
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.mjs +6 -6
- package/dist/payment-method-setup-entry.cjs +3 -3
- package/dist/payment-method-setup-entry.mjs +1 -1
- package/package.json +3 -3
- package/dist/chunk-AZRGKPW7.mjs +0 -6
- package/dist/chunk-LIYRDFMO.mjs +0 -1
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 };
|