@alicloud/alfa-core 1.5.8-beta.1 → 1.5.9-beta.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.
@@ -81,10 +81,11 @@ var Logger = /*#__PURE__*/function () {
81
81
  })) return false;
82
82
 
83
83
  // do not track during development
84
- if (this.context.ENV !== 'prod' && !(params !== null && params !== void 0 && params.__force_log__)) {
85
- console[method](topic, data);
86
- return;
87
- }
84
+ // if (this.context.ENV !== 'prod' && !params?.__force_log__) {
85
+ // console[method](topic, data);
86
+ // return;
87
+ // }
88
+
88
89
  logger[method](topic, data);
89
90
  }
90
91
  }]);
@@ -88,10 +88,11 @@ var Logger = exports.default = /*#__PURE__*/function () {
88
88
  })) return false;
89
89
 
90
90
  // do not track during development
91
- if (this.context.ENV !== 'prod' && !(params !== null && params !== void 0 && params.__force_log__)) {
92
- console[method](topic, data);
93
- return;
94
- }
91
+ // if (this.context.ENV !== 'prod' && !params?.__force_log__) {
92
+ // console[method](topic, data);
93
+ // return;
94
+ // }
95
+
95
96
  logger[method](topic, data);
96
97
  }
97
98
  }]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/alfa-core",
3
- "version": "1.5.8-beta.1",
3
+ "version": "1.5.9-beta.1",
4
4
  "description": "MicroFront End SDK for alicloud",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",