hypercore 11.0.33 → 11.0.34

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.
@@ -203,7 +203,7 @@ module.exports = class RemoteBitfield {
203
203
  p = this._pages.set(i, new RemoteBitfieldPage(i, new Uint32Array(WORDS_PER_PAGE), s))
204
204
  }
205
205
 
206
- const offset = p.index * BITS_PER_PAGE
206
+ const offset = i * BITS_PER_PAGE
207
207
  const last = Math.min(end - offset, BITS_PER_PAGE)
208
208
  const range = last - j
209
209
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.0.33",
3
+ "version": "11.0.34",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {