hypercore-storage 1.8.2 → 1.8.3

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 +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -399,7 +399,10 @@ class CorestoreStorage {
399
399
  const head = await headPromise
400
400
 
401
401
  const version = head === null ? 0 : head.version
402
- if (version === VERSION) return
402
+ if (version === VERSION) {
403
+ this.version = VERSION
404
+ return
405
+ }
403
406
 
404
407
  const target = { version: VERSION, dryRun: false }
405
408
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore-storage",
3
- "version": "1.8.2",
3
+ "version": "1.8.3",
4
4
  "main": "index.js",
5
5
  "files": [
6
6
  "index.js",