hypercore-storage 3.1.1 → 3.1.2

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 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -947,7 +947,7 @@ class CorestoreStorage {
947
947
  const core = await promise
948
948
 
949
949
  if (core === null) return false
950
- if (core.version !== VERSION && ifMigrated) return false
950
+ if (core.version === 0 && ifMigrated) return false
951
951
 
952
952
  return true
953
953
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore-storage",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "main": "index.js",
5
5
  "files": [
6
6
  "index.js",