hypercore 11.21.5 → 11.21.6

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.
package/lib/replicator.js CHANGED
@@ -896,6 +896,7 @@ class Peer {
896
896
 
897
897
  async push(index) {
898
898
  if (!this.remoteAllowPush) return
899
+ if (!this.remoteDownloading) return
899
900
  if (this.core.state.fork !== this.remoteFork) return
900
901
  if (this.remoteBitfield.get(index)) return
901
902
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.21.5",
3
+ "version": "11.21.6",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {