hypercore 11.37.1 → 11.37.2

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.
@@ -570,7 +570,7 @@ class SessionState {
570
570
  const [left, right] = flat.spans(b)
571
571
  const s = left / 2
572
572
  const e = right / 2 + 1
573
- const has = s <= start && e <= end ? false : this.core.bitfield.hasSet(s, e - s)
573
+ const has = s >= start && e <= end ? false : this.core.bitfield.hasSet(s, e - s)
574
574
  if (has) break
575
575
 
576
576
  tx.deleteTreeNode(a)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.37.1",
3
+ "version": "11.37.2",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {