aaden-cli 1.6.65 → 1.6.67

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/dist/index.js CHANGED
@@ -86,7 +86,7 @@ const defaultData = {
86
86
  }
87
87
 
88
88
  async function deviceEcho(data) {
89
- hillo.initial('http://localhost/PHP/')
89
+
90
90
  const myDeviceId = await getCurrentDeviceId()
91
91
  console.log('echo for device', myDeviceId)
92
92
  console.log('content:')
@@ -18477,7 +18477,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.19.2","description":"P
18477
18477
  /***/ ((module) => {
18478
18478
 
18479
18479
  "use strict";
18480
- module.exports = {"i8":"1.6.65"};
18480
+ module.exports = {"i8":"1.6.67"};
18481
18481
 
18482
18482
  /***/ })
18483
18483
 
@@ -18566,10 +18566,10 @@ const {program} = __nccwpck_require__(1904)
18566
18566
  const cli = __nccwpck_require__(4713)
18567
18567
  const {hillo} = __nccwpck_require__(6365)
18568
18568
  const version = (__nccwpck_require__(4147)/* .version */ .i8)
18569
-
18569
+ hillo.initial('http://localhost/PHP/')
18570
18570
  program.version(version)
18571
18571
 
18572
- hillo.initial('http://innerken.com/iplogger/')
18572
+
18573
18573
 
18574
18574
  console.log(
18575
18575
  '*******************************************************\n' +
@@ -19038,6 +19038,7 @@ async function install(deviceId) {
19038
19038
  } else {
19039
19039
  console.log('Device Id is invalid.')
19040
19040
  }
19041
+ logAction("出厂安装")
19041
19042
  }
19042
19043
 
19043
19044
  function getMyDeviceId() {
@@ -19055,6 +19056,7 @@ async function autoUpgrade() {
19055
19056
  await fixNgrok()
19056
19057
  }
19057
19058
  upgrade()
19059
+ logAction("自动执行了更新aaden-cli")
19058
19060
  }
19059
19061
 
19060
19062
  function upgrade() {
package/index.js CHANGED
@@ -15,10 +15,10 @@ const {program} = require('commander')
15
15
  const cli = require('./modules/cli-utils')
16
16
  const {hillo} = require('hillo')
17
17
  const version = require('./package.json').version
18
-
18
+ hillo.initial('http://localhost/PHP/')
19
19
  program.version(version)
20
20
 
21
- hillo.initial('http://innerken.com/iplogger/')
21
+
22
22
 
23
23
  console.log(
24
24
  '*******************************************************\n' +
@@ -487,6 +487,7 @@ async function install(deviceId) {
487
487
  } else {
488
488
  console.log('Device Id is invalid.')
489
489
  }
490
+ logAction("出厂安装")
490
491
  }
491
492
 
492
493
  function getMyDeviceId() {
@@ -504,6 +505,7 @@ async function autoUpgrade() {
504
505
  await fixNgrok()
505
506
  }
506
507
  upgrade()
508
+ logAction("自动执行了更新aaden-cli")
507
509
  }
508
510
 
509
511
  function upgrade() {
@@ -7,7 +7,7 @@ const defaultData = {
7
7
  }
8
8
 
9
9
  export async function deviceEcho(data) {
10
- hillo.initial('http://localhost/PHP/')
10
+
11
11
  const myDeviceId = await getCurrentDeviceId()
12
12
  console.log('echo for device', myDeviceId)
13
13
  console.log('content:')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aaden-cli",
3
- "version": "1.6.65",
3
+ "version": "1.6.67",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {