pinokiod 3.8.78 → 3.8.79

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/package.json +1 -1
  2. package/server/index.js +10 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.78",
3
+ "version": "3.8.79",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -2661,18 +2661,19 @@ class Server {
2661
2661
  })
2662
2662
  }
2663
2663
  }
2664
+ processes.sort((a, b) => {
2665
+ return b.external_port-a.external_port
2666
+ })
2667
+ list.push({
2668
+ host,
2669
+ name: this.kernel.peer.info[host].name,
2670
+ platform: this.kernel.peer.info[host].platform,
2671
+ processes
2672
+ })
2664
2673
  } catch (e) {
2665
2674
  console.log(">>e", e)
2675
+ console.log({ host, info: this.kernel.peer.info })
2666
2676
  }
2667
- processes.sort((a, b) => {
2668
- return b.external_port-a.external_port
2669
- })
2670
- list.push({
2671
- host,
2672
- name: this.kernel.peer.info[host].name,
2673
- platform: this.kernel.peer.info[host].platform,
2674
- processes
2675
- })
2676
2677
  }
2677
2678
  }
2678
2679
  console.log({ peers_info })