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

crosslightning-base

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crosslightning-base - npm Package Compare versions

Comparing version 6.0.2 to 6.0.3

7

dist/btcrelay/rpc/BitcoinRpc.d.ts

@@ -34,2 +34,8 @@ /// <reference types="node" />

};
export type BtcSyncInfo = {
ibd: boolean;
headers: number;
blocks: number;
verificationProgress: number;
};
export interface BitcoinRpc<T extends BtcBlock> {

@@ -48,2 +54,3 @@ isInMainChain(blockhash: string): Promise<boolean>;

getTipHeight(): Promise<number>;
getSyncInfo(): Promise<BtcSyncInfo>;
}

2

package.json
{
"name": "crosslightning-base",
"version": "6.0.2",
"version": "6.0.3",
"description": "Base classes and interfaces of SolLightning",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -40,2 +40,9 @@ import {BtcBlock} from "../types/BtcBlock";

export type BtcSyncInfo = {
ibd: boolean,
headers: number,
blocks: number,
verificationProgress: number
}
export interface BitcoinRpc<T extends BtcBlock> {

@@ -57,2 +64,4 @@

getSyncInfo(): Promise<BtcSyncInfo>;
}
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