hypercore 11.16.0 → 11.16.1

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
@@ -1752,8 +1752,8 @@ module.exports = class Replicator {
1752
1752
 
1753
1753
  while (session.length > 0) {
1754
1754
  const ref = session[session.length - 1]
1755
- ref.context.detach(ref, err)
1756
1755
  updated.add(ref.context.replicator)
1756
+ ref.context.detach(ref, err)
1757
1757
  }
1758
1758
 
1759
1759
  for (const replicator of updated) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.16.0",
3
+ "version": "11.16.1",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -70,6 +70,7 @@
70
70
  "hyperswarm": "^4.3.6",
71
71
  "rache": "^1.0.0",
72
72
  "range-parser": "^1.2.1",
73
+ "resolve-reject-promise": "^1.1.0",
73
74
  "speedometer": "^1.1.0",
74
75
  "standard": "^17.0.0",
75
76
  "test-tmp": "^1.0.2",