hypercore 10.31.11 → 10.31.12

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
@@ -1070,7 +1070,7 @@ class Peer {
1070
1070
  }
1071
1071
 
1072
1072
  const end = Math.min(r.end === -1 ? this.remoteLength : r.end, this.remoteLength)
1073
- if (end < r.start || fork !== this.remoteFork) return false
1073
+ if (end <= r.start || fork !== this.remoteFork) return false
1074
1074
 
1075
1075
  const len = end - r.start
1076
1076
  const off = r.start + (r.linear ? 0 : Math.floor(Math.random() * len))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "10.31.11",
3
+ "version": "10.31.12",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {