Comparing version 6.11.4 to 6.11.5
@@ -37,2 +37,3 @@ const { EventEmitter } = require('events') | ||
this._reusableSocket = !!opts.reusableSocket | ||
this._neverPunch = opts.holepunch === false // useful for fully disabling punching | ||
this._keyPair = null | ||
@@ -398,3 +399,3 @@ this._announcer = null | ||
if (ourRemoteAddr) { | ||
if (ourRemoteAddr || this._neverPunch) { | ||
hs.prepunching = setTimeout(onabort, HANDSHAKE_INITIAL_TIMEOUT) | ||
@@ -401,0 +402,0 @@ return hs |
{ | ||
"name": "hyperdht", | ||
"version": "6.11.4", | ||
"version": "6.11.5", | ||
"description": "The DHT powering Hyperswarm", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
138742
3867