Skip to content

Commit af7af42

Browse files
committed
switch out grpc for @grpc/grpc-js + generated ts types
1 parent d3434e8 commit af7af42

File tree

513 files changed

+17700
-1009
lines changed

Some content is hidden

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

513 files changed

+17700
-1009
lines changed

.github/workflows/update_proto.yml

Lines changed: 9 additions & 3 deletions
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:
@@ -19,8 +19,14 @@ jobs:
1919
run: |
2020
find lnd/lnrpc -name '*.proto' -exec bash -c 'test -e proto/`basename {}` && cp {} proto' \;
2121
sed -i 's/^import.*\//import "/' proto/*
22+
git add proto
23+
- name: update generated types
24+
run: |
25+
bash grpc_gen_types.sh
26+
git add src/grpc/types
27+
- name: commit changes
28+
run: |
2229
git config user.name 'Github Actions'
2330
git config user.email [email protected]
24-
git add proto
25-
git commit -m "Update proto files" || echo -n
31+
git commit -m 'Update proto files and types' || echo -n
2632
git push

dist/src/controllers/invoices.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/controllers/queries.js

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

dist/src/controllers/queries.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/crypto/rsa.js

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

dist/src/crypto/rsa.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/greenlight.js

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

0 commit comments

Comments
 (0)