Skip to content

Commit b68fdcc

Browse files
committed
grpc -> grpcjs
notes: * grpcjs doesnt like ByteBuffer, i added src/bytebuffer_replacement.ts to have fake ByteBuffer methods that produce native nodejs `Buffer`s * grpcjs doesnt like calls without an argument (src/grpc/subscribe.ts:24) * grpcjs converts uint64 in a map key (map<uint64, ...>) to some hash, this is fixed with protobuf_long.patch which is applied after `npm i` protobufjs/protobuf.js#1669
1 parent eb58ea3 commit b68fdcc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+6698
-10048
lines changed

.github/workflows/update_proto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Update proto files
22
on:
33
schedule:
4-
- cron: "0 0 1 * *"
4+
- cron: '0 0 1 * *'
55

66
jobs:
77
update_proto:

dist/src/bytebuffer_replacement.js

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/bytebuffer_replacement.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/grpc/greenlight.js

Lines changed: 14 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/grpc/greenlight.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/grpc/interfaces.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/grpc/interfaces.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/grpc/lightning.js

Lines changed: 18 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/grpc/lightning.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/grpc/proto.js

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)