Skip to content

Commit 53686d7

Browse files
committed
lnc: extract wasm functions from LNC into WasmManager class
1 parent 4878338 commit 53686d7

File tree

5 files changed

+473
-396
lines changed

5 files changed

+473
-396
lines changed

lib/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
require('./wasm_exec');
33

44
import LNC from './lnc';
5+
import { WasmManager } from './wasmManager';
56

67
// polyfill
78
if (!WebAssembly.instantiateStreaming) {
@@ -14,3 +15,4 @@ if (!WebAssembly.instantiateStreaming) {
1415
export type { LncConfig, CredentialStore } from './types/lnc';
1516
export * from '@lightninglabs/lnc-core';
1617
export default LNC;
18+
export { WasmManager };

0 commit comments

Comments
 (0)