hypercore-storage 1.0.4 → 1.0.5

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/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -45,7 +45,7 @@ class Atom {
45
45
  this.view.reset()
46
46
 
47
47
  const promises = []
48
- const len = this.flushing.length // in case of reentry
48
+ const len = this.flushes.length // in case of reentry
49
49
  for (let i = 0; i < len; i++) promises.push(this.flushes[i]())
50
50
 
51
51
  await Promise.all(promises)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore-storage",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "main": "index.js",
5
5
  "files": [
6
6
  "index.js",