hyperswarm
Advanced tools
Comparing version 4.7.14 to 4.7.15
@@ -59,2 +59,3 @@ const { EventEmitter } = require('events') | ||
this.listening = null | ||
this.stats = { updates: 0 } | ||
@@ -78,2 +79,3 @@ this._discovery = new Map() | ||
this.dht.on('network-change', this._handleNetworkChange.bind(this)) | ||
this.on('update', this._handleUpdate) | ||
} | ||
@@ -336,2 +338,6 @@ | ||
_handleUpdate () { | ||
this.stats.updates++ | ||
} | ||
_maybeDeletePeer (peerInfo) { | ||
@@ -338,0 +344,0 @@ if (!peerInfo.shouldGC()) return |
{ | ||
"name": "hyperswarm", | ||
"version": "4.7.14", | ||
"version": "4.7.15", | ||
"description": "A distributed networking stack for connecting peers", | ||
@@ -5,0 +5,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38273
867