@kushki/js 1.31.7 → 1.31.8-orizaba.2

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.
@@ -0,0 +1,2 @@
1
+ /* tslint:disable:all */
2
+
@@ -0,0 +1 @@
1
+ "use strict";
@@ -3,7 +3,7 @@
3
3
  * Environment enum file
4
4
  */
5
5
  export declare enum EnvironmentEnum {
6
- uat = "https://api-uat.kushkipagos.com/",
6
+ uat = "https://api-qa.orizaba.kushki.dev/",
7
7
  prod = "https://api.kushkipagos.com/",
8
8
  regionalUat = "https://regional-uat.kushkipagos.com/",
9
9
  regionalProd = "https://regional.kushkipagos.com/"
@@ -6,7 +6,7 @@ exports.EnvironmentEnum = void 0;
6
6
  */
7
7
  var EnvironmentEnum;
8
8
  (function (EnvironmentEnum) {
9
- EnvironmentEnum["uat"] = "https://api-uat.kushkipagos.com/";
9
+ EnvironmentEnum["uat"] = "https://api-qa.orizaba.kushki.dev/";
10
10
  EnvironmentEnum["prod"] = "https://api.kushkipagos.com/";
11
11
  EnvironmentEnum["regionalUat"] = "https://regional-uat.kushkipagos.com/";
12
12
  EnvironmentEnum["regionalProd"] = "https://regional.kushkipagos.com/";
@@ -94,6 +94,7 @@ var CardService = /** @class */ (function () {
94
94
  },
95
95
  _a[this._cardNumber] = this._cardNumber,
96
96
  _a.currency = "currency",
97
+ _a.email = "email",
97
98
  _a.isDeferred = "isDeferred",
98
99
  _a.jwt = "jwt",
99
100
  _a.months = "months",
@@ -178,8 +179,10 @@ var CardService = /** @class */ (function () {
178
179
  _this._requestDeviceToken(__assign({ subscriptionId: request.subscriptionId }, sift_science_obj), mid, isTest, regional, callback);
179
180
  });
180
181
  }
181
- else
182
+ else {
183
+ sift_science_obj = __assign(__assign({}, sift_science_obj), { jwt: jwt });
182
184
  _this._requestDeviceToken(__assign({ subscriptionId: request.subscriptionId }, sift_science_obj), mid, isTest, regional, callback);
185
+ }
183
186
  }
184
187
  });
185
188
  };
@@ -8,5 +8,6 @@ export interface TokenKPayRequest {
8
8
  amount: number | string;
9
9
  months?: number;
10
10
  cvv?: string;
11
+ email?: string;
11
12
  [k: string]: any;
12
13
  }
@@ -15,5 +15,6 @@ export interface TokenRequest {
15
15
  amount: number | string;
16
16
  months?: number;
17
17
  savePaymentData?: boolean;
18
+ email?: string;
18
19
  [k: string]: any;
19
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kushki/js",
3
- "version": "1.31.7",
3
+ "version": "1.31.8-orizaba.2",
4
4
  "description": "kushki-js",
5
5
  "main": "lib/lib.js",
6
6
  "types": "lib/lib.d.ts",