@paydock/client-sdk 1.112.0 → 1.113.2-beta
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 +39 -0
- package/bundles/index.cjs +161 -87
- package/bundles/index.cjs.d.ts +4 -0
- package/bundles/index.mjs +161 -87
- package/bundles/index.mjs.d.ts +4 -0
- package/bundles/types/api/api-base.d.ts.map +1 -1
- package/bundles/types/api/api-checkout-internal.d.ts +1 -0
- package/bundles/types/api/api-checkout-internal.d.ts.map +1 -1
- package/bundles/types/checkout/checkout.d.ts.map +1 -1
- package/bundles/types/checkout/instructions/v1/instruction.apple_pay_form.show.d.ts.map +1 -1
- package/bundles/types/checkout/instructions/v1/instruction.canvas_3ds.show.d.ts.map +1 -1
- package/bundles/types/checkout/instructions/v1/instruction.google_pay_form.show.d.ts.map +1 -1
- package/bundles/types/checkout/instructions/v1/instruction.paypal_form.show.d.ts.map +1 -1
- package/bundles/types/checkout/layout-widgets/additionals.d.ts +1 -1
- package/bundles/types/checkout/layout-widgets/additionals.d.ts.map +1 -1
- package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts +3 -0
- package/bundles/types/checkout/layout-widgets/payment-methods-template.d.ts.map +1 -1
- package/bundles/types/checkout/layout-widgets/payment-template.d.ts +1 -1
- package/bundles/types/components/iframe-event.d.ts +2 -0
- package/bundles/types/components/iframe-event.d.ts.map +1 -1
- package/bundles/types/index-cba.d.ts +1 -0
- package/bundles/types/index-cba.d.ts.map +1 -1
- package/bundles/types/secure-remote-commerce/index.d.ts +1 -0
- package/bundles/types/secure-remote-commerce/index.d.ts.map +1 -1
- package/bundles/types/secure-remote-commerce/interfaces.d.ts +12 -2
- package/bundles/types/secure-remote-commerce/interfaces.d.ts.map +1 -1
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts.map +1 -1
- package/bundles/widget.umd.js +161 -87
- package/bundles/widget.umd.js.d.ts +4 -0
- package/bundles/widget.umd.js.min.d.ts +4 -0
- package/bundles/widget.umd.min.js +7 -7
- package/docs/click-to-pay-examples.md +36 -0
- package/docs/click-to-pay.md +3 -0
- package/package.json +1 -1
- 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 {
|
|
@@ -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 {
|