hypercore 11.8.1 → 11.8.2

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.
@@ -84,7 +84,7 @@ async function verify (storage, buffer, { referrer = null } = {}) {
84
84
  if (batch.signature[1] !== 0) return null
85
85
 
86
86
  signable = batch.signable(auth.key)
87
- signature = batch.signature.subarray(2)
87
+ signature = batch.signature.subarray(2, 66)
88
88
  }
89
89
 
90
90
  if (!crypto.verify(signable, signature, publicKey)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.8.1",
3
+ "version": "11.8.2",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {