Skip to content

Commit c865242

Browse files
committed
lib: expose LitApi instance to access autopilot RPCs
1 parent c74b48f commit c865242

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/lnc.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import {
22
FaradayApi,
3+
LitApi,
34
LndApi,
45
LoopApi,
56
PoolApi,
@@ -32,6 +33,7 @@ export default class LNC {
3233
loop: LoopApi;
3334
pool: PoolApi;
3435
faraday: FaradayApi;
36+
lit: LitApi;
3537

3638
constructor(lncConfig?: LncConfig) {
3739
// merge the passed in config with the defaults
@@ -62,6 +64,7 @@ export default class LNC {
6264
this.loop = new LoopApi(createRpc, this);
6365
this.pool = new PoolApi(createRpc, this);
6466
this.faraday = new FaradayApi(createRpc, this);
67+
this.lit = new LitApi(createRpc, this);
6568
}
6669

6770
private get wasm() {

0 commit comments

Comments
 (0)