@flopay/react 1.8.8 → 1.8.10

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
@@ -146,12 +146,11 @@ interface DirectPayPalButtonProps {
146
146
  /** Whether the session is a subscription (drives intent + flow selection). */
147
147
  isSubscription: boolean;
148
148
  /**
149
- * Provider object the backend advertised for this PayPal continuation.
150
- * When omitted, legacy sessions continue to derive the flow from
151
- * `isSubscription`. An advertised `'order'`/`'setup_token'` opts intent and
152
- * process requests into the Flo-owned `paypal_vaulted` payment-method
153
- * channel; an advertised `'subscription'` or an omission keeps the released
154
- * `paypal` requests byte-identical.
149
+ * @deprecated Pass the backing {@link DirectPayPalButtonProps.session}; its
150
+ * `gateways.paypal.providerObjectType` advertisement is authoritative. This
151
+ * prop remains as a fallback for integrations that have not yet forwarded
152
+ * the session. When neither source advertises a provider object, legacy
153
+ * sessions continue to derive the flow from `isSubscription`.
155
154
  */
156
155
  providerObjectType?: PayPalProviderObjectType;
157
156
  /**
@@ -699,6 +698,11 @@ interface SplitCardFormProps {
699
698
  directPaypal?: {
700
699
  clientId: string;
701
700
  environment?: GatewayEnvironment;
701
+ /**
702
+ * @deprecated The active session's
703
+ * `gateways.paypal.providerObjectType` advertisement is authoritative.
704
+ * Retained as a fallback for integrations that do not supply a session.
705
+ */
702
706
  providerObjectType?: PayPalProviderObjectType;
703
707
  };
704
708
  /** Whether the active session represents a subscription (drives direct PayPal intent). */
package/dist/index.d.ts CHANGED
@@ -146,12 +146,11 @@ interface DirectPayPalButtonProps {
146
146
  /** Whether the session is a subscription (drives intent + flow selection). */
147
147
  isSubscription: boolean;
148
148
  /**
149
- * Provider object the backend advertised for this PayPal continuation.
150
- * When omitted, legacy sessions continue to derive the flow from
151
- * `isSubscription`. An advertised `'order'`/`'setup_token'` opts intent and
152
- * process requests into the Flo-owned `paypal_vaulted` payment-method
153
- * channel; an advertised `'subscription'` or an omission keeps the released
154
- * `paypal` requests byte-identical.
149
+ * @deprecated Pass the backing {@link DirectPayPalButtonProps.session}; its
150
+ * `gateways.paypal.providerObjectType` advertisement is authoritative. This
151
+ * prop remains as a fallback for integrations that have not yet forwarded
152
+ * the session. When neither source advertises a provider object, legacy
153
+ * sessions continue to derive the flow from `isSubscription`.
155
154
  */
156
155
  providerObjectType?: PayPalProviderObjectType;
157
156
  /**
@@ -699,6 +698,11 @@ interface SplitCardFormProps {
699
698
  directPaypal?: {
700
699
  clientId: string;
701
700
  environment?: GatewayEnvironment;
701
+ /**
702
+ * @deprecated The active session's
703
+ * `gateways.paypal.providerObjectType` advertisement is authoritative.
704
+ * Retained as a fallback for integrations that do not supply a session.
705
+ */
702
706
  providerObjectType?: PayPalProviderObjectType;
703
707
  };
704
708
  /** Whether the active session represents a subscription (drives direct PayPal intent). */