@getopenpay/openpay-js 0.3.1 → 0.3.2

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.ts CHANGED
@@ -1104,6 +1104,11 @@ declare interface PayoutDestinationResponse {
1104
1104
  dateCreated: number;
1105
1105
  }
1106
1106
 
1107
+ declare type PaypalFlowCustomParams = {
1108
+ isAnonymous?: boolean;
1109
+ useRedirectFlow?: boolean;
1110
+ };
1111
+
1107
1112
  declare type ProcessorSpecificSubmitSettings<T extends SubmitMethod = SubmitMethod> = {
1108
1113
  'pockyt-paypal': { useRedirectFlow?: boolean };
1109
1114
  'airwallex-google-pay': GooglePayFlowCustomParams;
@@ -1111,7 +1116,7 @@ declare type ProcessorSpecificSubmitSettings<T extends SubmitMethod = SubmitMeth
1111
1116
  'authorizenet-google-pay': GooglePayFlowCustomParams;
1112
1117
  'authorizenet-apple-pay': ApplePayFlowCustomParams;
1113
1118
  'loop-crypto': LoopCryptoFlowCustomParams;
1114
- paypal: { useRedirectFlow?: boolean };
1119
+ paypal: PaypalFlowCustomParams;
1115
1120
  }[T];
1116
1121
 
1117
1122
  declare type PRStatuses = Record<PaymentRequestProvider, PaymentRequestStatus>;