corestore 7.0.7 → 7.0.8

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 +8 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -211,6 +211,14 @@ class Corestore extends ReadyResource {
211
211
  }
212
212
  }
213
213
 
214
+ suspend () {
215
+ return this.storage.db.suspend()
216
+ }
217
+
218
+ resume () {
219
+ return this.storage.db.resume()
220
+ }
221
+
214
222
  session (opts) {
215
223
  this._maybeClosed()
216
224
  const root = this.root || this
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "corestore",
3
- "version": "7.0.7",
3
+ "version": "7.0.8",
4
4
  "description": "A Hypercore factory that simplifies managing collections of cores.",
5
5
  "main": "index.js",
6
6
  "files": [