Files
Evan Kaloudis 4d03977a0d chore(deps): bump protobufjs to v8, regenerate proto bindings
Upgrades the protobuf toolchain and runtime together, as they are
version-coupled (protobufjs-cli 2.5.x peer-requires protobufjs ^8.6):

- protobufjs 7.6.5 -> 8.7.1 (runtime; v8's only breaking change is
  Edition 2024 descriptor support - LND protos are proto3 and the
  runtime APIs Zeus uses, util.Long/configure/Writer/Reader, are
  unchanged)
- protobufjs-cli 2.0.0 -> 2.5.1 (dev; supersedes #4257, which would
  have created a peer mismatch against the 7.x runtime)
- long 5.2.3 -> 5.3.2 (protobufjs 8 requires ^5.3.2; keeping the
  direct dep in lockstep avoids two hoisted Long classes and
  instanceof mismatches in the Long wiring in index.js)
- gen-proto: add -p proto so pbjs can resolve import "lightning.proto"
  from the rpc subdirectory protos; the script failed with ENOENT
  without it (on both old and new CLI versions)
- proto/lightning.js + lightning.d.ts regenerated with the new
  toolchain (v8-era codegen: unknown-field preservation, recursion
  depth guards); d.ts formatted with the repo prettier config
2026-07-24 18:22:29 -04:00
..