pinokiod 3.8.52 → 3.8.53

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/kernel/peer.js +4 -3
  2. package/package.json +1 -1
package/kernel/peer.js CHANGED
@@ -47,12 +47,13 @@ class PeerDiscovery {
47
47
  }))
48
48
  console.log({ peer_info })
49
49
  for(let i=0; i<peer_info.length; i++) {
50
- let host = peer_info[i]
51
- this.info[host] = {
52
- host,
50
+ let peer = peer_info[i]
51
+ this.info[peer.host] = {
52
+ host: peer.host,
53
53
  ...peer_info[i],
54
54
  }
55
55
  }
56
+ console.log("REFRESH", this.info)
56
57
  return this.info
57
58
  }
58
59
  _isLocalLAN(ip) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.52",
3
+ "version": "3.8.53",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {