@lightninglabs/lnc-web
Advanced tools
Comparing version 0.2.3-alpha to 0.2.4-alpha
@@ -19,8 +19,9 @@ import { FaradayApi, LitApi, LndApi, LoopApi, PoolApi } from '@lightninglabs/lnc-core'; | ||
private get wasm(); | ||
get isReady(): boolean; | ||
get isConnected(): boolean; | ||
get status(): string; | ||
private set wasm(value); | ||
get isReady(): any; | ||
get isConnected(): any; | ||
get status(): any; | ||
get expiry(): Date; | ||
get isReadOnly(): boolean; | ||
hasPerms(permission: string): boolean; | ||
get isReadOnly(): any; | ||
hasPerms(permission: string): any; | ||
/** | ||
@@ -27,0 +28,0 @@ * Downloads the WASM client binary |
@@ -41,2 +41,21 @@ export interface WasmGlobal { | ||
wasmClientGetExpiry: () => number; | ||
/** | ||
* The callback that is called when the WASM client generates a new local private | ||
* key. This is used to reestablish subsequent connections to the proxy server. | ||
* @param keyHex the hex encoded private key of the local WASM client | ||
*/ | ||
onLocalPrivCreate?: (keyHex: string) => void; | ||
/** | ||
* The callback that is called when the WASM client receives the remote node's | ||
* public key. This is used to reestablish subsequent connections to the proxy | ||
* server. | ||
* @param keyHex the hex encoded public key of the remote node | ||
*/ | ||
onRemoteKeyReceive?: (keyHex: string) => void; | ||
/** | ||
* The callback that is called when the WASM client receives the macaroon | ||
* associated with the LNC session. | ||
* @param macaroonHex the hex encoded macaroon associated with the LNC session | ||
*/ | ||
onAuthData?: (macaroonHex: string) => void; | ||
} | ||
@@ -43,0 +62,0 @@ export interface LncConfig { |
{ | ||
"name": "@lightninglabs/lnc-web", | ||
"version": "0.2.3-alpha", | ||
"version": "0.2.4-alpha", | ||
"description": "Lightning Node Connect npm module for web", | ||
@@ -54,3 +54,3 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"@lightninglabs/lnc-core": "0.2.3-alpha", | ||
"@lightninglabs/lnc-core": "0.2.4-alpha", | ||
"crypto-js": "4.1.1" | ||
@@ -57,0 +57,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
204330
331
+ Added@lightninglabs/lnc-core@0.2.4-alpha(transitive)
- Removed@lightninglabs/lnc-core@0.2.3-alpha(transitive)