hypercore 11.12.1 → 11.12.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.
Files changed (2) hide show
  1. package/lib/audit.js +1 -1
  2. package/package.json +1 -1
package/lib/audit.js CHANGED
@@ -112,7 +112,7 @@ module.exports = async function auditCore (core, { tree = true, blocks = true, b
112
112
  core.bitfield.set(index, false)
113
113
 
114
114
  const page = core.bitfield.getBitfield(index)
115
- if (page.bitfield) tx.setBitfieldPage(page.index, page.bitfield)
115
+ if (page.bitfield) tx.putBitfieldPage(page.index, page.bitfield)
116
116
  else tx.deleteBitfieldPage(page.idnex)
117
117
  continue
118
118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.12.1",
3
+ "version": "11.12.2",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {