hypercore-storage 1.3.2 → 1.3.3

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
@@ -39,7 +39,7 @@ class Atom {
39
39
 
40
40
  flushed () {
41
41
  if (!this.flushing) return Promise.resolve()
42
- if (this.flushedPromise === null) return this.flushedPromise.promise
42
+ if (this.flushedPromise !== null) return this.flushedPromise.promise
43
43
  this.flushedPromise = rrp()
44
44
  return this.flushedPromise.promise
45
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore-storage",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "main": "index.js",
5
5
  "files": [
6
6
  "index.js",