Skip to content

Commit

Permalink
switch out grpc for @grpc/grpc-js + generated ts types
Browse files Browse the repository at this point in the history
  • Loading branch information
antonilol committed Sep 8, 2022
1 parent d3434e8 commit af7af42
Show file tree
Hide file tree
Showing 513 changed files with 17,700 additions and 1,009 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/update_proto.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Update proto files
on:
schedule:
- cron: "0 0 1 * *"
- cron: '0 0 1 * *'

jobs:
update_proto:
Expand All @@ -19,8 +19,14 @@ jobs:
run: |
find lnd/lnrpc -name '*.proto' -exec bash -c 'test -e proto/`basename {}` && cp {} proto' \;
sed -i 's/^import.*\//import "/' proto/*
git add proto
- name: update generated types
run: |
bash grpc_gen_types.sh
git add src/grpc/types
- name: commit changes
run: |
git config user.name 'Github Actions'
git config user.email [email protected]
git add proto
git commit -m "Update proto files" || echo -n
git commit -m 'Update proto files and types' || echo -n
git push
2 changes: 1 addition & 1 deletion dist/src/controllers/invoices.js.map

Large diffs are not rendered by default.

18 changes: 12 additions & 6 deletions dist/src/controllers/queries.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/controllers/queries.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/src/crypto/rsa.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/src/crypto/rsa.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 18 additions & 16 deletions dist/src/grpc/greenlight.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit af7af42

Please sign in to comment.