@alipay/ams-checkout 0.0.1733711101-dev.8 → 0.0.1733711101-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.
@@ -116,7 +116,8 @@ export var EasySafePayProcessor = /*#__PURE__*/function () {
|
|
116
116
|
}, {
|
117
117
|
key: "buildWebAppPreloadUrl",
|
118
118
|
value: function buildWebAppPreloadUrl(initConfig, instanceId, sdkMetaData) {
|
119
|
-
var _this = this
|
119
|
+
var _this = this,
|
120
|
+
_initConfig$analytics;
|
120
121
|
var previousProductInfo = ProductInfoCacheUtil.getPreviousProductInfo(ProductSceneEnum.EASY_PAY, function (errorMsg) {
|
121
122
|
if (errorMsg) {
|
122
123
|
_this.logger.logError({
|
@@ -137,7 +138,7 @@ export var EasySafePayProcessor = /*#__PURE__*/function () {
|
|
137
138
|
isPreload: true,
|
138
139
|
productSceneVersion: productSceneVersion,
|
139
140
|
query: {
|
140
|
-
analyticsEnabled: initConfig.analytics.enabled,
|
141
|
+
analyticsEnabled: (_initConfig$analytics = initConfig.analytics) === null || _initConfig$analytics === void 0 ? void 0 : _initConfig$analytics.enabled,
|
141
142
|
displayType: DisplayTypeEnum.popup,
|
142
143
|
instanceId: instanceId,
|
143
144
|
locale: initConfig.locale,
|
@@ -152,7 +153,7 @@ export var EasySafePayProcessor = /*#__PURE__*/function () {
|
|
152
153
|
}, {
|
153
154
|
key: "buildWebAppUrl",
|
154
155
|
value: function buildWebAppUrl() {
|
155
|
-
var _paymentContext$payme3, _paymentContext$payme4;
|
156
|
+
var _paymentContext$payme3, _paymentContext$payme4, _this$initConfig$anal;
|
156
157
|
var paymentContext = this.paymentContext;
|
157
158
|
var paymentMethodCategoryType = (_paymentContext$payme3 = paymentContext.paymentSessionObj.paymentSessionConfig) === null || _paymentContext$payme3 === void 0 ? void 0 : _paymentContext$payme3.paymentMethodCategoryType;
|
158
159
|
var productSceneVersion = (_paymentContext$payme4 = paymentContext.paymentSessionObj.paymentSessionConfig) === null || _paymentContext$payme4 === void 0 ? void 0 : _paymentContext$payme4.productSceneVersion;
|
@@ -164,7 +165,7 @@ export var EasySafePayProcessor = /*#__PURE__*/function () {
|
|
164
165
|
productSceneVersion: productSceneVersion,
|
165
166
|
isPreload: false,
|
166
167
|
query: {
|
167
|
-
analyticsEnabled: this.initConfig.analytics.enabled,
|
168
|
+
analyticsEnabled: (_this$initConfig$anal = this.initConfig.analytics) === null || _this$initConfig$anal === void 0 ? void 0 : _this$initConfig$anal.enabled,
|
168
169
|
displayType: DisplayTypeEnum.popup,
|
169
170
|
instanceId: this.instanceId,
|
170
171
|
locale: this.initConfig.locale,
|