@getopenpay/openpay-js 0.1.18 → 0.1.20-alpha.c891c7b

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
@@ -1,3 +1,4 @@
1
+ import { ApplePayOption } from '@stripe/stripe-js/dist/stripe-js/elements/apple-pay';
1
2
  import { PaymentRequest as PaymentRequest_2 } from '@stripe/stripe-js';
2
3
  import { Subject } from 'rxjs';
3
4
  import { z } from 'zod';
@@ -507,6 +508,10 @@ export declare class OpenPayForm {
507
508
  */
508
509
  submit: () => void;
509
510
  destroy: () => void;
511
+ /**
512
+ * Updates form callbacks after initialization
513
+ */
514
+ updateCallbacks: (newCallbacks: AllCallbacks) => void;
510
515
  }
511
516
 
512
517
  declare const PaymentRequestProvider = z.enum(['apple_pay', 'google_pay']);
@@ -517,6 +522,7 @@ declare type PaymentRequestStartParams = {
517
522
  overridePaymentRequest?: {
518
523
  amount: Amount;
519
524
  pending: boolean;
525
+ stripeApplePay?: ApplePayOption;
520
526
  };
521
527
  };
522
528