Commit Graph
18 Commits
Author SHA1 Message Date
mateuszmp fd10d8d903 Replacing deprecated import with recommended replacement
npm module grpc is deprecated as of April 2021. 
The recommended replacement is @grpc/grpc-js. 
The replacement is compatible with the use cases presented in JS examples and so switching examples to it requires only changes to the list of npm modules to install and the imports.

Source for deprecation: https://www.npmjs.com/package/grpc
Source for replacement and compatibility information: https://www.npmjs.com/package/@grpc/grpc-js
2021-08-07 11:07:48 +02:00
Oliver Gugger 235efc04e4 docs+lnrpc: rename rpc.proto to lightning.proto
To avoid a naming conflict with etcd, we rename our very generic
rpc.proto to lightning.proto to match the service name that's declared
within. This will break many external tutorials and possibly also our
API docs but the change needs to be done eventually.
2021-07-27 12:59:56 +02:00
Oliver Gugger 2c634bfaf3 docs: unify code and shell cmd blocks 2021-01-22 09:14:09 +01:00
Oliver Gugger b7ff6ab4ef docs+javascript: add link to API documentation 2020-05-04 10:12:54 +02:00
Oliver Gugger 92abf3ed87 docs+javascript: switch to proto-loader 2020-05-04 10:12:54 +02:00
Oliver Gugger d950b7e4b1 docs+javascript: remove broken macaroon example 2020-05-04 10:12:53 +02:00
Oliver Gugger 192bcc15b7 docs+javascript: uset let and const, fix example formatting 2020-05-04 10:12:49 +02:00
Oliver Gugger af0bfd015a docs+javascript: fix headings 2020-05-04 10:02:26 +02:00
Xavi Soler ca9f572766 add num_inactive_channels field to docs 2018-11-05 09:11:01 +01:00
Wilmer PaulinoandKarl Ranna dc3db4bf62 docs: update path to where macaroons are stored
Co-Authored-By: Karl Ranna <karl@karlranna.com>
2018-08-23 18:05:00 -07:00
Richard Bondi caf8139750 docs/grpc: correct javascript macaroon example
Creating and adding metadata in single line resulted in null `metadata`
2018-04-25 13:38:39 -07:00
Danny Paz 3c73329912 docs/grpc/javascript: updated docs to include macaroon and cipher suites 2018-04-17 18:42:55 -07:00
Cristobal Griffero ffbcf7db4f lncli: rename value to amt in addinvoice command 2018-01-27 14:52:46 -08:00
Max Fang 9cd1168ebe docs: State example gRPC assumptions, add TLS grpc instructions 2017-08-14 17:51:41 -07:00
Max Fang ab97fa7287 docs: Javascript gRPC streaming examples & complete guide 2017-08-14 17:51:41 -07:00
Marty Jones 18052f9f19 multi: various formatting fixes after changes to Github flavored markdown 2017-03-27 16:20:31 -07:00
Olaoluwa Osuntokun e96e83f5eb docs/grpc: add additional links to node.js tutorial 2017-02-28 18:22:06 -06:00
François b2aa45db03 docs/grpc: add instructions for writing gRPC clients in node.js
This commit adds a basic set of instructions for installing the necessary
gRPC dependencies to be able to drive `lnd` from node.js. In the future,
this section will be expanded with additional example
scripts/applications.
2017-02-28 18:13:55 -06:00