@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/README.md +20 -3
- package/dist/index.cjs +9 -9
- package/dist/index.d.cts +10 -6
- package/dist/index.d.ts +10 -6
- package/dist/index.mjs +8 -8
- package/package.json +3 -3
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
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
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
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
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). */
|