pinokiod 3.8.125 → 3.8.126

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/kernel/peer.js CHANGED
@@ -39,7 +39,7 @@ class PeerDiscovery {
39
39
  console.log("kernel.peer start")
40
40
  this.socket = dgram.createSocket('udp4');
41
41
  this.socket.on('message', (msg, rinfo) => {
42
- console.log("peer message", { msg, rinfo })
42
+ // console.log("peer message", { msg, rinfo })
43
43
  const ip = rinfo.address;
44
44
  // console.log({rinfo})
45
45
  if (msg.toString() === this.message.toString() && this._isLocalLAN(ip)) {
package/kernel/shell.js CHANGED
@@ -987,6 +987,7 @@ class Shell {
987
987
  // automatically remove the shell from this.kernel.shells
988
988
  this.kernel.shell.rm(this.id)
989
989
  this.ondata({ raw: `\r\n\r\n██ Terminated Shell ${this.id}\r\n████\r\n` })
990
+ console.log("before cb 1")
990
991
  cb()
991
992
  });
992
993
  } else {
package/kernel/shells.js CHANGED
@@ -157,6 +157,7 @@ class Shells {
157
157
  }
158
158
  ondata(stream)
159
159
  })
160
+ console.log("SHELL RESPONSE", response)
160
161
 
161
162
 
162
163
  /*
@@ -245,10 +246,12 @@ class Shells {
245
246
  line = line.replaceAll(err, "")
246
247
  }
247
248
  }
249
+ console.log("BEFORE SHELL RETURN 1")
248
250
 
249
251
  // don't return if there's an error
250
252
  return { id: sh.id, response, stdout: response, event: m, error: shortened_errs }
251
253
  } else {
254
+ console.log("BEFORE SHELL RETURN 2")
252
255
  // need to make a request
253
256
  return { id: sh.id, response, stdout: response, event: m }
254
257
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.125",
3
+ "version": "3.8.126",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {