@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.
- package/lib/environments/environment.d.ts +2 -0
- package/lib/environments/environment.js +1 -0
- package/lib/infrastructure/EnvironmentEnum.d.ts +1 -1
- package/lib/infrastructure/EnvironmentEnum.js +1 -1
- package/lib/service/CardService.js +4 -1
- package/lib/types/token_kpay_request.d.ts +1 -0
- package/lib/types/token_request.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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-
|
|
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-
|
|
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
|
};
|