@tonder.io/ionic-lite-sdk 0.0.54 → 0.0.55
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/package.json
CHANGED
|
@@ -45,8 +45,8 @@ declare global {
|
|
|
45
45
|
export class LiteCheckout extends BaseInlineCheckout implements ILiteCheckout{
|
|
46
46
|
activeAPMs: APM[] = [];
|
|
47
47
|
|
|
48
|
-
constructor({ apiKey, mode, returnUrl, callBack, apiKeyTonder, baseUrlTonder }: IInlineLiteCheckoutOptions) {
|
|
49
|
-
super({ mode, apiKey, returnUrl, callBack, apiKeyTonder, baseUrlTonder });
|
|
48
|
+
constructor({ apiKey, mode, returnUrl, callBack, apiKeyTonder, baseUrlTonder, customization, collectorIds }: IInlineLiteCheckoutOptions) {
|
|
49
|
+
super({ mode, apiKey, returnUrl, callBack, apiKeyTonder, baseUrlTonder, customization, tdsIframeId: collectorIds && 'tdsIframe' in collectorIds ? collectorIds?.tdsIframe : "tdsIframe"});
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
public async injectCheckout() {
|
package/src/types/commons.ts
CHANGED
|
@@ -116,7 +116,11 @@ export interface IInlineCheckoutBaseOptions<T extends CustomizationOptions = Cus
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
export interface IInlineLiteCheckoutOptions
|
|
119
|
-
extends IInlineCheckoutBaseOptions {
|
|
119
|
+
extends IInlineCheckoutBaseOptions {
|
|
120
|
+
collectorIds?: {
|
|
121
|
+
tdsIframe?: string
|
|
122
|
+
}
|
|
123
|
+
}
|
|
120
124
|
|
|
121
125
|
|
|
122
126
|
export interface IApiError {
|