@paydock/client-sdk 1.112.0 → 1.113.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.
Files changed (35) hide show
  1. package/README.md +39 -0
  2. package/bundles/index.cjs +159 -85
  3. package/bundles/index.cjs.d.ts +4 -0
  4. package/bundles/index.mjs +159 -85
  5. package/bundles/index.mjs.d.ts +4 -0
  6. package/bundles/types/api/api-base.d.ts.map +1 -1
  7. package/bundles/types/api/api-checkout-internal.d.ts +1 -0
  8. package/bundles/types/api/api-checkout-internal.d.ts.map +1 -1
  9. package/bundles/types/checkout/checkout.d.ts.map +1 -1
  10. package/bundles/types/checkout/instructions/v1/instruction.apple_pay_form.show.d.ts.map +1 -1
  11. package/bundles/types/checkout/instructions/v1/instruction.canvas_3ds.show.d.ts.map +1 -1
  12. package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts.map +1 -1
  13. package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts.map +1 -1
  14. package/bundles/types/checkout/layout-widgets/additionals.d.ts +1 -1
  15. package/bundles/types/checkout/layout-widgets/additionals.d.ts.map +1 -1
  16. package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts +3 -0
  17. package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts.map +1 -1
  18. package/bundles/types/checkout/layout-widgets/payment-template.d.ts +1 -1
  19. package/bundles/types/components/iframe-event.d.ts +2 -0
  20. package/bundles/types/components/iframe-event.d.ts.map +1 -1
  21. package/bundles/types/index-cba.d.ts +1 -0
  22. package/bundles/types/index-cba.d.ts.map +1 -1
  23. package/bundles/types/secure-remote-commerce/index.d.ts +1 -0
  24. package/bundles/types/secure-remote-commerce/index.d.ts.map +1 -1
  25. package/bundles/types/secure-remote-commerce/interfaces.d.ts +12 -2
  26. package/bundles/types/secure-remote-commerce/interfaces.d.ts.map +1 -1
  27. package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts.map +1 -1
  28. package/bundles/widget.umd.js +159 -85
  29. package/bundles/widget.umd.js.d.ts +4 -0
  30. package/bundles/widget.umd.js.min.d.ts +4 -0
  31. package/bundles/widget.umd.min.js +7 -7
  32. package/docs/click-to-pay-examples.md +36 -0
  33. package/docs/click-to-pay.md +3 -0
  34. package/package.json +1 -1
  35. package/slate.md +36 -0
@@ -709,6 +709,8 @@ declare const EVENT$1: {
709
709
  CHECKOUT_COMPLETED: string;
710
710
  CHECKOUT_POPUP_OPEN: string;
711
711
  CHECKOUT_POPUP_CLOSE: string;
712
+ RECOGNITION_TOKEN_REQUESTED: string;
713
+ RECOGNITION_TOKEN_DROPPED: string;
712
714
  VALIDATION: string;
713
715
  SELECT: string;
714
716
  UNSELECT: string;
@@ -1777,6 +1779,7 @@ interface IClickToPayMeta extends IBaseSRCMeta {
1777
1779
  };
1778
1780
  customer?: Customer;
1779
1781
  unaccepted_card_type?: 'CREDIT' | 'DEBIT';
1782
+ recognition_token?: string;
1780
1783
  }
1781
1784
  type MASTERCARD_DPA_SHIPPING_BILLING_PREFERENCE = 'FULL' | 'POSTAL_COUNTRY' | 'NONE';
1782
1785
  type MASTERCARD_ORDER_TYPE = 'SPLIT_SHIPMENT' | 'PREFERRED_CARD';
@@ -1915,6 +1918,7 @@ declare class ApiCheckoutInternal {
1915
1918
  constructor(api: ApiInternal);
1916
1919
  instructions(session_id: string): Observable<object>;
1917
1920
  callback(payload: Object): Promise<Object>;
1921
+ status(id: string): Promise<Object>;
1918
1922
  }
1919
1923
 
1920
1924
  declare class ApiInternal extends ApiBase {