corestore 7.2.1 → 7.4.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.
- package/index.js +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -229,7 +229,7 @@ class Corestore extends ReadyResource {
|
|
|
229
229
|
super()
|
|
230
230
|
|
|
231
231
|
this.root = opts.root || null
|
|
232
|
-
this.storage = this.root ? this.root.storage : Hypercore.defaultStorage(storage, { id: opts.id })
|
|
232
|
+
this.storage = this.root ? this.root.storage : Hypercore.defaultStorage(storage, { id: opts.id, allowBackup: opts.allowBackup })
|
|
233
233
|
this.streamTracker = this.root ? this.root.streamTracker : new StreamTracker()
|
|
234
234
|
this.cores = this.root ? this.root.cores : new CoreTracker()
|
|
235
235
|
this.sessions = new SessionTracker()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "corestore",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.0",
|
|
4
4
|
"description": "A Hypercore factory that simplifies managing collections of cores.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"hypercore-errors": "^1.4.0",
|
|
15
15
|
"hypercore-id-encoding": "^1.3.0",
|
|
16
16
|
"ready-resource": "^1.1.1",
|
|
17
|
-
"sodium-universal": "^
|
|
17
|
+
"sodium-universal": "^5.0.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"brittle": "^3.7.0",
|