@alipay/ams-checkout 0.0.1730107332-dev.8 → 0.0.1730107332-dev.9
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.
@@ -74,9 +74,6 @@ export var EasySafePayProcessor = /*#__PURE__*/function () {
|
|
74
74
|
}
|
75
75
|
return _context.abrupt("return", this.buildRedirectResult(authUrlInfo));
|
76
76
|
case 12:
|
77
|
-
_context.next = 14;
|
78
|
-
return this.initSecuritySDK();
|
79
|
-
case 14:
|
80
77
|
// 下面的场景是需要渲染UI的渠道, 打开WebUrl
|
81
78
|
webAppUrl = this.buildWebAppUrl(); // const webAppUrl = 'http://svc-9kvjxwjf68cptha8.cloudide.svc.et15-sqa.alipay.net:5173/src/component-app/index.html';
|
82
79
|
resultPayload = {
|
@@ -95,7 +92,7 @@ export var EasySafePayProcessor = /*#__PURE__*/function () {
|
|
95
92
|
behaviorType: 'RENDER',
|
96
93
|
payload: resultPayload
|
97
94
|
});
|
98
|
-
case
|
95
|
+
case 17:
|
99
96
|
case "end":
|
100
97
|
return _context.stop();
|
101
98
|
}
|
@@ -216,11 +213,12 @@ export var EasySafePayProcessor = /*#__PURE__*/function () {
|
|
216
213
|
});
|
217
214
|
|
218
215
|
// 等请求和 Web启动都Ready之后,发送renderComponent
|
219
|
-
Promise.all([this.processSubmitPay(), webLaunchPromise]).then(function (_ref) {
|
216
|
+
Promise.all([this.initSecuritySDK(), this.processSubmitPay(), webLaunchPromise]).then(function (_ref) {
|
220
217
|
var _this2$paymentContext, _this2$paymentContext2, _this2$paymentContext3, _this2$paymentContext4, _this2$paymentContext5, _this2$paymentContext6, _this2$paymentContext7, _this2$paymentContext8, _this2$paymentContext9;
|
221
|
-
var _ref2 = _slicedToArray(_ref,
|
222
|
-
|
223
|
-
|
218
|
+
var _ref2 = _slicedToArray(_ref, 3),
|
219
|
+
_initSecurityRes = _ref2[0],
|
220
|
+
submitRes = _ref2[1],
|
221
|
+
_webLaunchRes = _ref2[2];
|
224
222
|
var logMetaData = _this2.logger.getLogConfig().mdata;
|
225
223
|
eventCenter.dispatchToApp({
|
226
224
|
event: 'renderComponent',
|