hypercore 11.22.0 → 11.22.1

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/lib/replicator.js CHANGED
@@ -1797,6 +1797,10 @@ module.exports = class Replicator {
1797
1797
  }
1798
1798
  }
1799
1799
 
1800
+ setInflightRange(min, max) {
1801
+ this.inflightRange = [min, max]
1802
+ }
1803
+
1800
1804
  updateActivity(inc, session) {
1801
1805
  this.activeSessions += inc
1802
1806
  this.setDownloading(this.activeSessions !== 0, session)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.22.0",
3
+ "version": "11.22.1",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {