hypercore 11.27.5 → 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.
@@ -603,6 +603,7 @@ class SessionState {
603
603
  }
604
604
 
605
605
  this.core.header.hints.recovering = 0
606
+ this.core.hintsChanged = true
606
607
 
607
608
  await this.mutex.lock()
608
609
  try {
@@ -1324,7 +1325,7 @@ function validateRecoveryPeers(peers, length) {
1324
1325
 
1325
1326
  for (const p of peers) {
1326
1327
  if (p.remoteLength > length) return false
1327
- if (p.remoteLength === 0) return false
1328
+ if (p.remoteLength === 0 && !p.remoteSynced) return false
1328
1329
  }
1329
1330
 
1330
1331
  return true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.27.5",
3
+ "version": "11.27.7",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {