@tonder.io/ionic-lite-sdk 0.0.35-beta.27 → 0.0.35-beta.29

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 CHANGED
@@ -269,11 +269,11 @@ export class TonderService {
269
269
  }
270
270
 
271
271
  configureCheckout(customerData: IConfigureCheckout): void {
272
- this.liteCheckout.configureCheckout({ ...customerData });
272
+ return this.liteCheckout.configureCheckout({ ...customerData });
273
273
  }
274
274
 
275
275
  async injectCheckout(): Promise<void> {
276
- await this.liteCheckout.injectCheckout();
276
+ return await this.liteCheckout.injectCheckout();
277
277
  }
278
278
 
279
279
  verify3dsTransaction(): Promise<ITransaction | IStartCheckoutResponse | void> {
@@ -8,7 +8,7 @@ import { ITransaction } from "../types/transaction";
8
8
  export declare class BaseInlineCheckout {
9
9
  #private;
10
10
  baseUrl: string;
11
- cartTotal: string;
11
+ cartTotal: string | number;
12
12
  process3ds: ThreeDSHandler;
13
13
  mode?: "production" | "sandbox" | "stage" | "development" | undefined;
14
14
  apiKeyTonder: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonder.io/ionic-lite-sdk",
3
- "version": "0.0.35-beta.27",
3
+ "version": "0.0.35-beta.29",
4
4
  "description": "Tonder ionic lite SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,7 +26,7 @@ import {IPaymentMethodResponse} from "../types/paymentMethod";
26
26
  import {ITransaction} from "../types/transaction";
27
27
  export class BaseInlineCheckout {
28
28
  baseUrl = "";
29
- cartTotal = "0";
29
+ cartTotal: string | number = "0";
30
30
  process3ds: ThreeDSHandler;
31
31
  mode?: "production" | "sandbox" | "stage" | "development" | undefined;
32
32
  apiKeyTonder: string;