Comparing version 6.14.1 to 6.14.2
@@ -181,3 +181,3 @@ const { EventEmitter } = require('events') | ||
if (limit === 0) return [] | ||
return this.nodes.toArray(limit).map(({ host, port }) => ({ host, port })) | ||
return this.nodes.toArray({ limit, reverse: true }).map(({ host, port }) => ({ host, port })) | ||
} | ||
@@ -184,0 +184,0 @@ |
{ | ||
"name": "dht-rpc", | ||
"version": "6.14.1", | ||
"version": "6.14.2", | ||
"description": "Make RPC calls over a Kademlia based DHT", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
"streamx": "^2.13.2", | ||
"time-ordered-set": "^1.0.2", | ||
"time-ordered-set": "^2.0.0", | ||
"udx-native": "^1.5.3" | ||
@@ -29,0 +29,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
63436
+ Addedtime-ordered-set@2.0.0(transitive)
- Removedtime-ordered-set@1.0.2(transitive)
Updatedtime-ordered-set@^2.0.0