hypercore 11.0.38 → 11.0.39

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 +2 -2
  2. package/package.json +1 -1
package/lib/audit.js CHANGED
@@ -17,8 +17,8 @@ module.exports = async function auditCore (core, { tree = true, blocks = true, b
17
17
  for (const r of roots) {
18
18
  if (r === null) {
19
19
  if (!dryRun) {
20
- const ptr = core.storage.core
21
- await core.storage.store.deleteCore(ptr)
20
+ const storage = core.state.storage
21
+ await storage.store.deleteCore(storage.core)
22
22
  return null
23
23
  }
24
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.0.38",
3
+ "version": "11.0.39",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {