eco-access-specifications 2.0.1 → 2.0.3

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.
Files changed (2) hide show
  1. package/main/log.js +2 -0
  2. package/package.json +1 -1
package/main/log.js CHANGED
@@ -5,8 +5,10 @@ var addLog = function addLog(string) {
5
5
  var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
6
6
  if (data) {
7
7
  LogUtil.setLogInfo("log->".concat(string).concat(JSON.stringify(data)));
8
+ console.log(`log->${ string }${JSON.stringify(data)}`);
8
9
  } else {
9
10
  LogUtil.setLogInfo("log->".concat(string));
11
+ console.log(`log->${ string }`);
10
12
  }
11
13
  if (appName === 'miwear-rn-plugin') {
12
14
  localLog(Device.model, "[ECO-rn]->".concat(string));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eco-access-specifications",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "生态链公司插件接入规范,帮助生态链公司提高生产效率.",
5
5
  "main": "index.js",
6
6
  "scripts": {