hypercore 10.37.7 → 10.37.8

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
@@ -457,7 +457,7 @@ class Peer {
457
457
  const name = message.name || this.lastExtensionRecv
458
458
  this.lastExtensionRecv = name
459
459
  const ext = this.extensions.get(name)
460
- if (ext) ext._onmessage({ start: 0, end: message.byteLength, buffer: message.message }, this)
460
+ if (ext) ext._onmessage({ start: 0, end: message.message.byteLength, buffer: message.message }, this)
461
461
  }
462
462
 
463
463
  sendSync () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "10.37.7",
3
+ "version": "10.37.8",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {