@kushki/js 1.31.5 → 1.31.7
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.
|
@@ -171,9 +171,10 @@ var CardService = /** @class */ (function () {
|
|
|
171
171
|
delete sift_science_obj.userId;
|
|
172
172
|
if (sift_science_obj.sessionId === null)
|
|
173
173
|
delete sift_science_obj.sessionId;
|
|
174
|
-
if (jwt) {
|
|
174
|
+
if (jwt && !_this._sandboxEnable) {
|
|
175
175
|
sift_science_obj = __assign(__assign({}, sift_science_obj), { jwt: jwt, amount: request.amount, cardHolderName: request.cardHolderName, currency: request.currency });
|
|
176
176
|
_this._request3DSToken(isTest, function () {
|
|
177
|
+
sift_science_obj = __assign(__assign({}, sift_science_obj), { jwt: jwt });
|
|
177
178
|
_this._requestDeviceToken(__assign({ subscriptionId: request.subscriptionId }, sift_science_obj), mid, isTest, regional, callback);
|
|
178
179
|
});
|
|
179
180
|
}
|