File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ npm init (or npm init -f if you want to use the default values without prompt)
1010Then you need to install the Javascript grpc and proto loader library
1111dependencies:
1212```
13- npm install grpc @grpc/proto-loader --save
13+ npm install @ grpc/grpc-js @grpc/proto-loader --save
1414```
1515
1616You also need to copy the ` lnd ` ` lightning.proto ` file in your project directory
@@ -21,11 +21,11 @@ sources](https://github.com/lightningnetwork/lnd/blob/master/lnrpc/lightning.pro
2121
2222### Imports and Client
2323
24- Every time you work with Javascript gRPC, you will have to import ` grpc ` , load
24+ Every time you work with Javascript gRPC, you will have to import ` @ grpc/grpc-js ` , load
2525` lightning.proto ` , and create a connection to your client like so:
2626
2727``` js
28- const grpc = require (' grpc' );
28+ const grpc = require (' @ grpc/grpc-js ' );
2929const protoLoader = require (' @grpc/proto-loader' );
3030const fs = require (" fs" );
3131
@@ -183,7 +183,7 @@ The following snippet will add the macaroon to every request automatically:
183183
184184``` js
185185const fs = require (' fs' );
186- const grpc = require (' grpc' );
186+ const grpc = require (' @ grpc/grpc-js ' );
187187const protoLoader = require (' @grpc/proto-loader' );
188188const loaderOptions = {
189189 keepCase: true ,
Original file line number Diff line number Diff line change @@ -25,6 +25,12 @@ for more information.
2525* [ Stub code for interacting with ` lnrpc ` from a WASM context through JSON
2626 messages was added] ( https://github.com/lightningnetwork/lnd/pull/5601 ) .
2727
28+ ## Wallet
29+
30+ * It is now possible to fund a psbt [ without specifying any
31+ outputs] ( https://github.com/lightningnetwork/lnd/pull/5442 ) . This option is
32+ useful for CPFP bumping of unconfirmed outputs or general utxo consolidation.
33+
2834## Security
2935
3036### Admin macaroon permissions
114120
115121* [ Missing dots in cmd interface] ( https://github.com/lightningnetwork/lnd/pull/5535 ) .
116122
123+ * [ Link channel point logging] ( https://github.com/lightningnetwork/lnd/pull/5508 )
124+
117125## Database
118126
119127* [ Ensure single writer for legacy
@@ -142,6 +150,8 @@ A bug has been fixed that would cause `lnd` to [try to bootstrap using the
142150currnet DNS seeds when in SigNet
143151mode] ( https://github.com/lightningnetwork/lnd/pull/5564 ) .
144152
153+ [ A validation check for sane ` CltvLimit ` and ` FinalCltvDelta ` has been added for ` REST ` -initiated payments.] ( https://github.com/lightningnetwork/lnd/pull/5591 )
154+
145155## Documentation
146156
147157The [ code contribution guidelines have been updated to mention the new
You can’t perform that action at this time.
0 commit comments