@alipay/ams-checkout 0.0.1730107332-dev.5 → 0.0.1730107332-dev.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.
@@ -424,7 +424,7 @@ export var EasySafePayProcessor = /*#__PURE__*/function () {
|
|
424
424
|
return _context4.abrupt("return");
|
425
425
|
case 13:
|
426
426
|
if (!(productSceneVersion === '2.0')) {
|
427
|
-
_context4.next =
|
427
|
+
_context4.next = 27;
|
428
428
|
break;
|
429
429
|
}
|
430
430
|
if (!(nonCompliant === true)) {
|
@@ -436,28 +436,32 @@ export var EasySafePayProcessor = /*#__PURE__*/function () {
|
|
436
436
|
_context4.next = 18;
|
437
437
|
return this.securityService.initSecurity(this.SECURITY_SDK_INIT_TIMEOUT);
|
438
438
|
case 18:
|
439
|
-
_context4.next =
|
439
|
+
_context4.next = 27;
|
440
440
|
break;
|
441
441
|
case 20:
|
442
|
-
if (isFirstTimeToPay) {
|
442
|
+
if (!isFirstTimeToPay) {
|
443
443
|
_context4.next = 24;
|
444
444
|
break;
|
445
445
|
}
|
446
|
+
console.log('[web-sdk][security-sdk] DO NOT init security sdk for easypay 2.0 and when first time to pay');
|
447
|
+
_context4.next = 27;
|
448
|
+
break;
|
449
|
+
case 24:
|
446
450
|
// 切流「隐私合规」且非首次支付
|
447
451
|
console.log('[web-sdk][security-sdk] DO init security sdk for easypay 2.0 and when not first time to pay');
|
448
|
-
_context4.next =
|
452
|
+
_context4.next = 27;
|
449
453
|
return this.securityService.initSecurity(this.SECURITY_SDK_INIT_TIMEOUT);
|
450
|
-
case
|
451
|
-
_context4.next =
|
454
|
+
case 27:
|
455
|
+
_context4.next = 31;
|
452
456
|
break;
|
453
|
-
case
|
454
|
-
_context4.prev =
|
457
|
+
case 29:
|
458
|
+
_context4.prev = 29;
|
455
459
|
_context4.t0 = _context4["catch"](0);
|
456
|
-
case
|
460
|
+
case 31:
|
457
461
|
case "end":
|
458
462
|
return _context4.stop();
|
459
463
|
}
|
460
|
-
}, _callee4, this, [[0,
|
464
|
+
}, _callee4, this, [[0, 29]]);
|
461
465
|
}));
|
462
466
|
function initSecuritySDK() {
|
463
467
|
return _initSecuritySDK.apply(this, arguments);
|