@getopenpay/openpay-js-react 0.3.1 → 0.3.3

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
@@ -701,6 +701,11 @@ declare interface PayoutDestinationResponse {
701
701
  dateCreated: number;
702
702
  }
703
703
 
704
+ declare type PaypalFlowCustomParams = {
705
+ isAnonymous?: boolean;
706
+ useRedirectFlow?: boolean;
707
+ };
708
+
704
709
  declare type ProcessorSpecificSubmitSettings<T extends SubmitMethod = SubmitMethod> = {
705
710
  'pockyt-paypal': { useRedirectFlow?: boolean };
706
711
  'airwallex-google-pay': GooglePayFlowCustomParams;
@@ -708,7 +713,7 @@ declare type ProcessorSpecificSubmitSettings<T extends SubmitMethod = SubmitMeth
708
713
  'authorizenet-google-pay': GooglePayFlowCustomParams;
709
714
  'authorizenet-apple-pay': ApplePayFlowCustomParams;
710
715
  'loop-crypto': LoopCryptoFlowCustomParams;
711
- paypal: { useRedirectFlow?: boolean };
716
+ paypal: PaypalFlowCustomParams;
712
717
  }[T];
713
718
 
714
719
  declare type PRStatuses = Record<PaymentRequestProvider, PaymentRequestStatus>;