hypercore 11.27.8 → 11.27.9

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.
@@ -207,7 +207,7 @@ class SessionState {
207
207
 
208
208
  async snapshot() {
209
209
  try {
210
- this.mutex.lock()
210
+ await this.mutex.lock()
211
211
 
212
212
  const storage = this.storage.snapshot()
213
213
  const treeInfo = await this._updateSnapshotStorage(storage)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.27.8",
3
+ "version": "11.27.9",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {