Skip to content

Commit 1b81f41

Browse files
authored
lnc-web: make wasmClientCode an optional param
1 parent d713bac commit 1b81f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ interface LncConstructor {
7070
/** remote public key; part of the second handshake authentication process. Only need to specify this if you handle storage of auth data yourself and set `onRemoteKeyReceive`. */
7171
remoteKey?: string;
7272
/** Custom location for the WASM client code. Can be remote or local. If not specified we’ll default to our instance on our CDN. */
73-
wasmClientCode: any; // URL or WASM client object
73+
wasmClientCode?: any; // URL or WASM client object
7474
/** JavaScript namespace used for the main WASM calls. You can maintain multiple connections if you use different namespaces. If not specified we'll default to `default`. */
7575
namespace?: string;
7676
/** By default, this module will handle storage of your local and remote keys for you in local storage. We highly recommend encrypting that data with a password you set here. */

0 commit comments

Comments
 (0)