tonder-web-sdk 1.12.0-beta.3 → 1.12.0-beta.5

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.
@@ -110,7 +110,7 @@
110
110
  <workItem from="1723774667217" duration="11739000" />
111
111
  <workItem from="1723855727317" duration="20341000" />
112
112
  <workItem from="1723952592527" duration="17418000" />
113
- <workItem from="1724247675743" duration="28428000" />
113
+ <workItem from="1724247675743" duration="29033000" />
114
114
  </task>
115
115
  <servers />
116
116
  </component>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tonder-web-sdk",
3
- "version": "1.12.0-beta.3",
3
+ "version": "1.12.0-beta.5",
4
4
  "description": "tonder sdk for integrations",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -259,7 +259,7 @@ export class InlineCheckout extends BaseInlineCheckout{
259
259
  const saveCard = document.getElementById("save-checkout-card");
260
260
  if (saveCard && "checked" in saveCard && saveCard.checked) {
261
261
  try {
262
- await saveCustomerCard(this.baseUrl, auth_token, 6655555, {
262
+ await saveCustomerCard(this.baseUrl, auth_token, business.pk, {
263
263
  skyflow_id: cardTokens.skyflow_id,
264
264
  });
265
265
  showMessage(MESSAGES.cardSaved, this.collectorIds.msgNotification);
@@ -1,7 +1,7 @@
1
1
  import {IConfigureCheckout, IInlineCheckoutBaseOptions} from "./common";
2
2
 
3
- export class IInlineCheckout {
4
- constructor(options: IInlineCheckoutBaseOptions);
3
+ export class InlineCheckout {
4
+ constructor(options: IInlineCheckoutOptions);
5
5
 
6
6
  configureCheckout(data: IConfigureCheckout): Promise<void>;
7
7
 
@@ -2,7 +2,7 @@ import {IConfigureCheckout, IInlineCheckoutBaseOptions} from "./common";
2
2
  import {ICustomerCardsResponse, ISaveCardRequest, ISaveCardResponse} from "./card";
3
3
  import {IPaymentMethod} from "./paymentMethod";
4
4
 
5
- export class ILiteInlineCheckout {
5
+ export class LiteInlineCheckout {
6
6
  constructor(options: IInlineLiteCheckoutOptions);
7
7
 
8
8
  configureCheckout(data: IConfigureCheckout): void;