Comparing version 6.5.10 to 6.5.11
@@ -8,3 +8,3 @@ const c = require('compact-encoding') | ||
module.exports = class WakeupExtension { | ||
constructor (base, core) { | ||
constructor (base, core, passive) { | ||
this.base = base | ||
@@ -23,4 +23,6 @@ this.core = core | ||
for (const peer of this.core.peers) { | ||
this.extension.send(req, peer) | ||
if (!passive) { | ||
for (const peer of this.core.peers) { | ||
this.extension.send(req, peer) | ||
} | ||
} | ||
@@ -27,0 +29,0 @@ } |
{ | ||
"name": "autobase", | ||
"version": "6.5.10", | ||
"version": "6.5.11", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
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
190420
5118