dht-rpc 6.23.0 → 6.23.2
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/index.js +1 -1
- package/lib/health.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -361,7 +361,7 @@ class DHT extends EventEmitter {
|
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
_request(to, force, internal, command, target, value, session, onresponse, onerror) {
|
|
364
|
-
if (!this._sendDownHints && command === DOWN_HINT) return null
|
|
364
|
+
if (internal && !this._sendDownHints && command === DOWN_HINT) return null
|
|
365
365
|
const req = this.io.createRequest(to, null, internal, command, target, value, session)
|
|
366
366
|
if (req === null) return null
|
|
367
367
|
|
package/lib/health.js
CHANGED