@flopay/react 1.9.10 → 1.9.11

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
@@ -458,7 +458,7 @@ declare function useCheckout(): CheckoutState;
458
458
  /** Props for the `FloPayProvider` component. */
459
459
  interface FloPayProviderProps {
460
460
  /** A `FloPay` instance or a promise that resolves to one (from `loadFloPay()`). */
461
- flopay: Promise<FloPay> | FloPay;
461
+ flopay: Promise<FloPay> | FloPay | null;
462
462
  /**
463
463
  * Optional Stripe `FloPay` instance used to drive the Stripe-rendered PayPal
464
464
  * fallback. When omitted or `null`, the Stripe-rendered PayPal button is
@@ -507,6 +507,8 @@ interface SplitCardFormProps {
507
507
  nonce?: string;
508
508
  /** Billing API base URL. Optional — defaults to the value from FloPayProvider or the shared constant. */
509
509
  billingApiUrl?: string;
510
+ /** Flo-owned privacy-safe telemetry is enabled by default; set false to opt out. */
511
+ telemetry?: boolean;
510
512
  /** User's email (required for creating payment intents). */
511
513
  email?: string;
512
514
  /** User ID (required for processing payments). */
package/dist/index.d.ts CHANGED
@@ -458,7 +458,7 @@ declare function useCheckout(): CheckoutState;
458
458
  /** Props for the `FloPayProvider` component. */
459
459
  interface FloPayProviderProps {
460
460
  /** A `FloPay` instance or a promise that resolves to one (from `loadFloPay()`). */
461
- flopay: Promise<FloPay> | FloPay;
461
+ flopay: Promise<FloPay> | FloPay | null;
462
462
  /**
463
463
  * Optional Stripe `FloPay` instance used to drive the Stripe-rendered PayPal
464
464
  * fallback. When omitted or `null`, the Stripe-rendered PayPal button is
@@ -507,6 +507,8 @@ interface SplitCardFormProps {
507
507
  nonce?: string;
508
508
  /** Billing API base URL. Optional — defaults to the value from FloPayProvider or the shared constant. */
509
509
  billingApiUrl?: string;
510
+ /** Flo-owned privacy-safe telemetry is enabled by default; set false to opt out. */
511
+ telemetry?: boolean;
510
512
  /** User's email (required for creating payment intents). */
511
513
  email?: string;
512
514
  /** User ID (required for processing payments). */