@paydock/client-sdk 1.111.0-beta → 1.112.0
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/bundles/index.cjs +219 -235
- package/bundles/index.cjs.d.ts +3 -3
- package/bundles/index.mjs +219 -235
- package/bundles/index.mjs.d.ts +3 -3
- package/bundles/types/api/api-base.d.ts +2 -2
- package/bundles/types/api/api-base.d.ts.map +1 -1
- package/bundles/types/api/api-checkout-internal.d.ts +1 -1
- 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/helpers/session-helper.d.ts +5 -0
- package/bundles/types/checkout/helpers/session-helper.d.ts.map +1 -0
- package/bundles/types/secure-remote-commerce/providers/mastercard-src/mastercard-src.d.ts.map +1 -1
- package/bundles/widget.umd.js +219 -235
- package/bundles/widget.umd.js.d.ts +3 -3
- package/bundles/widget.umd.js.min.d.ts +3 -3
- package/bundles/widget.umd.min.js +6 -6
- package/package.json +66 -66
|
@@ -128,8 +128,8 @@ declare class ApiBase {
|
|
|
128
128
|
* @param {string} [alias] - Own domain alias
|
|
129
129
|
*/
|
|
130
130
|
setEnv(env: string, alias?: string): ApiBase;
|
|
131
|
-
longPollingObservable<Req extends object, Res>(method: 'GET' | 'POST', url: string, requestBody: Req, reconnectInterval?: number): Observable<Res>;
|
|
132
|
-
longPull(subscriber: Subscriber<any>, method: any, link: any, auth: any, requestBody: any, reconnectInterval: any): void;
|
|
131
|
+
longPollingObservable<Req extends object, Res>(method: 'GET' | 'POST', url: string, requestBody: Req, sessionId: string, reconnectInterval?: number): Observable<Res>;
|
|
132
|
+
longPull(subscriber: Subscriber<any>, method: any, link: any, auth: any, requestBody: any, sessionId: any, reconnectInterval: any): void;
|
|
133
133
|
destroyLongPolling(): void;
|
|
134
134
|
setAuthType(): API_AUTH_TYPE;
|
|
135
135
|
getClient(method: Extract<HttpRequestMethod, 'GET' | 'POST'>, link: string): {
|
|
@@ -1913,7 +1913,7 @@ interface GetConfigResponse {
|
|
|
1913
1913
|
declare class ApiCheckoutInternal {
|
|
1914
1914
|
protected api: ApiInternal;
|
|
1915
1915
|
constructor(api: ApiInternal);
|
|
1916
|
-
instructions(): Observable<object>;
|
|
1916
|
+
instructions(session_id: string): Observable<object>;
|
|
1917
1917
|
callback(payload: Object): Promise<Object>;
|
|
1918
1918
|
}
|
|
1919
1919
|
|