@tonder.io/ionic-lite-sdk 0.0.42-beta.5 → 0.0.42-beta.6

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.42-beta.5",
3
+ "version": "0.0.42-beta.6",
4
4
  "description": "Tonder ionic lite SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,7 +22,7 @@ import {
22
22
  CreateOrderResponse,
23
23
  CreatePaymentResponse,
24
24
  CustomerRegisterResponse,
25
- GetBusinessResponse,
25
+ GetBusinessResponse, GetSecureTokenResponse,
26
26
  RegisterCustomerCardResponse,
27
27
  StartCheckoutResponse,
28
28
  } from "./responses";
@@ -109,6 +109,16 @@ export interface ILiteCheckout {
109
109
  */
110
110
  getCustomerPaymentMethods(): Promise<IPaymentMethod[]>;
111
111
 
112
+ /**
113
+ * Retrieves security token to access the saved cards functionality.
114
+ * @returns {Promise<import("./index").GetSecureTokenResponse>} A promise that resolves with the token.
115
+ *
116
+ * @throws {import("./index").IPublicError} Throws an error object if the operation fails.
117
+ *
118
+ * @public
119
+ */
120
+ getSecureToken(token: string): Promise<GetSecureTokenResponse | ErrorResponse>
121
+
112
122
  /**
113
123
  * @deprecated This method is deprecated and will be removed in a future release.
114
124
  * It is no longer necessary to use this method, now automatically handled