hypercore 11.27.10 → 11.27.11

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.
@@ -124,7 +124,8 @@ class SessionState {
124
124
  }
125
125
 
126
126
  async _updateSnapshotStorage(storage) {
127
- while (this.atomized && this.atomized.flushing) await this.atomized.flushed()
127
+ if (!this.atomized || !this.atomized.flushing) return this.treeInfo()
128
+ while (this.atomized.flushing) await this.atomized.flushed()
128
129
 
129
130
  let rx = storage.read()
130
131
  const headPromise = rx.getHead()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.27.10",
3
+ "version": "11.27.11",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {