corestore 7.11.1 → 7.12.0

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 +0 -6
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -349,12 +349,6 @@ class Corestore extends ReadyResource {
349
349
  }
350
350
 
351
351
  async suspend({ log = noop } = {}) {
352
- await log('Flushing db...')
353
- // If readOnly we don't need to flush
354
- if (!this.storage.readOnly) {
355
- await this.storage.db.flush()
356
- await log('Flusing db completed')
357
- }
358
352
  if (!this.shouldSuspend) return
359
353
  await log('Suspending db...')
360
354
  await this.storage.suspend({ log })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "corestore",
3
- "version": "7.11.1",
3
+ "version": "7.12.0",
4
4
  "description": "A Hypercore factory that simplifies managing collections of cores.",
5
5
  "main": "index.js",
6
6
  "files": [