@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonder.io/ionic-lite-sdk",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "description": "Tonder ionic lite SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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() {
@@ -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 {