@alipay/ams-checkout 0.0.1764260153-dev.1 → 0.0.1764297596-dev.1
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/README.md +1 -1
- package/ams-checkout.js +5 -0
- package/esm/loader/utils/logger.js +2 -2
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ export var ConsoleLogger = /*#__PURE__*/function () {
|
|
|
11
11
|
function ConsoleLogger(options) {
|
|
12
12
|
_classCallCheck(this, ConsoleLogger);
|
|
13
13
|
_defineProperty(this, "show", false);
|
|
14
|
-
this.show = options.show;
|
|
14
|
+
this.show = options === null || options === void 0 ? void 0 : options.show;
|
|
15
15
|
}
|
|
16
16
|
_createClass(ConsoleLogger, [{
|
|
17
17
|
key: "log",
|
|
@@ -52,7 +52,7 @@ var _getDebugContext = getDebugContext(),
|
|
|
52
52
|
debugMode = _getDebugContext.debugMode,
|
|
53
53
|
showLogger = _getDebugContext.showLogger;
|
|
54
54
|
export var consoleLogger = new ConsoleLogger({
|
|
55
|
-
show: debugMode ? showLogger :
|
|
55
|
+
show: debugMode ? showLogger : false
|
|
56
56
|
});
|
|
57
57
|
|
|
58
58
|
// SPM日志上报用logger 先全部收口到这里,后续loader单独拆包后进行解耦
|