Comparing version 6.8.2 to 6.9.0
@@ -97,2 +97,6 @@ const { EventEmitter } = require('events') | ||
get randomized () { | ||
return this._nat.host !== null && (this._nat.port === 0) | ||
} | ||
get socket () { | ||
@@ -99,0 +103,0 @@ return this.firewalled ? this.io.clientSocket : this.io.serverSocket |
{ | ||
"name": "dht-rpc", | ||
"version": "6.8.2", | ||
"version": "6.9.0", | ||
"description": "Make RPC calls over a Kademlia based DHT", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -210,2 +210,6 @@ # dht-rpc | ||
#### `node.randomized` | ||
Boolean indicating if your node is likely behind a randomizing NAT. | ||
#### `const addr = node.address()` | ||
@@ -212,0 +216,0 @@ |
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
61580
1407
361