hypercore 11.27.6 → 11.27.7

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.
@@ -1325,7 +1325,7 @@ function validateRecoveryPeers(peers, length) {
1325
1325
 
1326
1326
  for (const p of peers) {
1327
1327
  if (p.remoteLength > length) return false
1328
- if (p.remoteLength === 0) return false
1328
+ if (p.remoteLength === 0 && !p.remoteSynced) return false
1329
1329
  }
1330
1330
 
1331
1331
  return true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.27.6",
3
+ "version": "11.27.7",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {