hypercore-storage 2.0.0 → 2.0.1

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 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -428,7 +428,6 @@ class CorestoreStorage {
428
428
  this.allowBackup = !!opts.allowBackup
429
429
  this.deviceFile = null
430
430
  this.wait = !!opts.wait
431
- this.lock = !!opts.lock || this.wait
432
431
 
433
432
  // tmp sync fix for simplicty since not super deployed yet
434
433
  if (this.bootstrap && !this.readOnly) tmpFixStorage(this.path)
@@ -544,7 +543,6 @@ class CorestoreStorage {
544
543
 
545
544
  this.deviceFile = new DeviceFile(corestoreFile, {
546
545
  wait: this.wait,
547
- lock: this.lock,
548
546
  data: { id: this.id }
549
547
  })
550
548
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore-storage",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "main": "index.js",
5
5
  "files": [
6
6
  "index.js",