corestore 7.4.1 → 7.4.2

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 +2 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -287,11 +287,10 @@ class Corestore extends ReadyResource {
287
287
  }
288
288
 
289
289
  async suspend ({ log = noop } = {}) {
290
- log('Flushing db...')
290
+ await log('Flushing db...')
291
291
  await this.storage.db.flush()
292
- log('Suspending db...')
292
+ await log('Suspending db...')
293
293
  await this.storage.db.suspend()
294
- log('Corestore suspended')
295
294
  }
296
295
 
297
296
  resume () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "corestore",
3
- "version": "7.4.1",
3
+ "version": "7.4.2",
4
4
  "description": "A Hypercore factory that simplifies managing collections of cores.",
5
5
  "main": "index.js",
6
6
  "files": [