Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lightninglabs/lnc-web

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightninglabs/lnc-web - npm Package Compare versions

Comparing version 0.2.3-alpha to 0.2.4-alpha

11

dist/lnc.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc