hypercore-storage 2.2.1 → 2.3.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 +1 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -449,6 +449,7 @@ class CorestoreStorage {
449
449
  const corestoreFile = path.join(this.path, 'CORESTORE')
450
450
 
451
451
  this.deviceFile = new DeviceFile(corestoreFile, {
452
+ lock: true,
452
453
  wait: this.wait,
453
454
  data: { id: this.id }
454
455
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore-storage",
3
- "version": "2.2.1",
3
+ "version": "2.3.0",
4
4
  "main": "index.js",
5
5
  "files": [
6
6
  "index.js",