Skip to content

Commit 2513a54

Browse files
committed
lib: add LitApi to LNC
1 parent de7a891 commit 2513a54

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,6 +1,7 @@
11
import { NativeModules } from 'react-native';
22
import {
33
FaradayApi,
4+
LitApi,
45
LndApi,
56
LoopApi,
67
PoolApi,
@@ -25,6 +26,7 @@ export default class LNC {
2526
loop: LoopApi;
2627
pool: PoolApi;
2728
faraday: FaradayApi;
29+
lit: LitApi;
2830

2931
constructor(lncConfig?: LncConfig) {
3032
// merge the passed in config with the defaults
@@ -47,6 +49,7 @@ export default class LNC {
4749
this.loop = new LoopApi(createRpc, this);
4850
this.pool = new PoolApi(createRpc, this);
4951
this.faraday = new FaradayApi(createRpc, this);
52+
this.lit = new LitApi(createRpc, this);
5053

5154
NativeModules.LncModule.initLNC(this._namespace);
5255
}

0 commit comments

Comments
 (0)