hypercore 11.33.0 → 11.33.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.
Files changed (2) hide show
  1. package/lib/messages.js +3 -3
  2. package/package.json +1 -1
package/lib/messages.js CHANGED
@@ -686,9 +686,9 @@ wire.reorgHint = {
686
686
  },
687
687
  decode(state) {
688
688
  return {
689
- from: c.uint.encode(state),
690
- to: c.uint.encode(state),
691
- ancestors: c.uint.encode(state)
689
+ from: c.uint.decode(state),
690
+ to: c.uint.decode(state),
691
+ ancestors: c.uint.decode(state)
692
692
  }
693
693
  }
694
694
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore",
3
- "version": "11.33.0",
3
+ "version": "11.33.1",
4
4
  "description": "Hypercore is a secure, distributed append-only log",
5
5
  "main": "index.js",
6
6
  "scripts": {