pinokiod 3.8.51 → 3.8.52

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
@@ -45,8 +45,9 @@ class PeerDiscovery {
45
45
  let peer_info = await Promise.all(Array.from(this.peers).map((host) => {
46
46
  return this._refresh(host)
47
47
  }))
48
+ console.log({ peer_info })
48
49
  for(let i=0; i<peer_info.length; i++) {
49
- let host = this.peers[i]
50
+ let host = peer_info[i]
50
51
  this.info[host] = {
51
52
  host,
52
53
  ...peer_info[i],
@@ -113,6 +113,7 @@ class Router {
113
113
 
114
114
  // 2. Peers handling
115
115
  let peers = await this.kernel.peer.refresh()
116
+ console.log(">3", { peers })
116
117
  for(let host in peers) {
117
118
  let peer = peers[host]
118
119
  this.peer_home_router.handle(peer)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.51",
3
+ "version": "3.8.52",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {