hypercore 11.0.25 → 11.0.26

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.
@@ -1096,7 +1096,7 @@ async function storeBitfieldRange (storage, tx, from, to, value) {
1096
1096
  const pageIndex = i + firstPage
1097
1097
  if (!pages[i]) pages[i] = b4a.alloc(Bitfield.BYTES_PER_PAGE)
1098
1098
 
1099
- index = fillBitfieldPage(pages[i], index, to, pageIndex, true)
1099
+ index = fillBitfieldPage(pages[i], index, to, pageIndex, value)
1100
1100
  tx.putBitfieldPage(pageIndex, pages[i])
1101
1101
  }
1102
1102
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.0.25",
3
+ "version": "11.0.26",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {