@tonder.io/ionic-lite-sdk 0.0.35-beta.17 → 0.0.35-beta.19

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.
@@ -19,6 +19,8 @@
19
19
  <change beforePath="$PROJECT_DIR$/src/helpers/skyflow.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/helpers/skyflow.ts" afterDir="false" />
20
20
  <change beforePath="$PROJECT_DIR$/src/helpers/utils.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/helpers/utils.ts" afterDir="false" />
21
21
  <change beforePath="$PROJECT_DIR$/src/index.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/index.ts" afterDir="false" />
22
+ <change beforePath="$PROJECT_DIR$/src/types/card.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/types/card.ts" afterDir="false" />
23
+ <change beforePath="$PROJECT_DIR$/src/types/commons.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/types/commons.ts" afterDir="false" />
22
24
  <change beforePath="$PROJECT_DIR$/src/types/index.d.ts" beforeDir="false" />
23
25
  </list>
24
26
  <option name="SHOW_DIALOG" value="false" />
@@ -82,7 +84,7 @@
82
84
  <workItem from="1725305433705" duration="21026000" />
83
85
  <workItem from="1725333899382" duration="2939000" />
84
86
  <workItem from="1725337022494" duration="3671000" />
85
- <workItem from="1725378545854" duration="10208000" />
87
+ <workItem from="1725378545854" duration="13450000" />
86
88
  </task>
87
89
  <servers />
88
90
  </component>
@@ -8,6 +8,7 @@ export interface ICardSkyflowFields {
8
8
  expiration_year: string;
9
9
  skyflow_id: string;
10
10
  card_scheme: string;
11
+ cardholder_name: string;
11
12
  }
12
13
  export interface ICustomerCardsResponse {
13
14
  user_id: number;
@@ -101,7 +101,7 @@ export interface IInlineCheckoutBaseOptions {
101
101
  signal?: AbortSignal;
102
102
  apiKey: string;
103
103
  returnUrl?: string;
104
- callBack?: (response: any) => void;
104
+ callBack?: (response: Record<string, any> | Object | {} | void) => void;
105
105
  }
106
106
  export interface IApiError {
107
107
  code: 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.17",
3
+ "version": "0.0.35-beta.19",
4
4
  "description": "Tonder ionic lite SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/types/card.ts CHANGED
@@ -9,6 +9,7 @@ export interface ICardSkyflowFields {
9
9
  expiration_year: string;
10
10
  skyflow_id: string;
11
11
  card_scheme: string;
12
+ cardholder_name: string;
12
13
  }
13
14
 
14
15
  export interface ICustomerCardsResponse {
@@ -107,8 +107,10 @@ export interface IInlineCheckoutBaseOptions {
107
107
  signal?: AbortSignal;
108
108
  apiKey: string;
109
109
  returnUrl?: string;
110
- callBack?: (response: any) => void;
110
+ callBack?: (response: Record<string, any> | Object | {} | void) => void;
111
111
  }
112
+
113
+
112
114
  export interface IApiError {
113
115
  code: string;
114
116
  body: Record<string, string> | string;