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 4.3.0 to 4.4.0

6

dist/btcrelay/BtcRelay.d.ts

@@ -54,5 +54,7 @@ /// <reference types="node" />

}>;
estimateSynchronizeFee(requiredBlockheight: number): Promise<BN>;
getFeePerBlock(): Promise<BN>;
getMainFeeRate?(): Promise<any>;
getForkFeeRate?(forkId: number): Promise<any>;
estimateSynchronizeFee(requiredBlockheight: number, feeRate?: any): Promise<BN>;
getFeePerBlock(feeRate?: any): Promise<BN>;
sweepForkData?(lastSweepTimestamp?: number): Promise<number | null>;
}

@@ -15,3 +15,4 @@ import { BtcStoredHeader } from "../types/BtcStoredHeader";

latestBlockHeader: B;
startForkId?: number;
}>;
}

@@ -91,5 +91,5 @@ /// <reference types="node" />

toTokenAddress(address: string): TokenAddress;
getCommitFee(): Promise<BN>;
getClaimFee(): Promise<BN>;
getRefundFee(): Promise<BN>;
getCommitFee(swapData: T, feeRate?: any): Promise<BN>;
getClaimFee(swapData: T, feeRate?: any): Promise<BN>;
getRefundFee(swapData: T, feeRate?: any): Promise<BN>;
getInitPayInFeeRate?(offerer: string, claimer: string, token: TokenAddress, paymentHash?: string): Promise<any>;

@@ -96,0 +96,0 @@ getInitFeeRate?(offerer: string, claimer: string, token: TokenAddress, paymentHash?: string): Promise<any>;

{
"name": "crosslightning-base",
"version": "4.3.0",
"version": "4.4.0",
"description": "Base classes and interfaces of SolLightning",

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

@@ -55,8 +55,11 @@ import {BtcStoredHeader} from "./types/BtcStoredHeader";

estimateSynchronizeFee(requiredBlockheight: number): Promise<BN>;
getMainFeeRate?(): Promise<any>;
getForkFeeRate?(forkId: number): Promise<any>;
getFeePerBlock(): Promise<BN>;
estimateSynchronizeFee(requiredBlockheight: number, feeRate?: any): Promise<BN>;
getFeePerBlock(feeRate?: any): Promise<BN>;
sweepForkData?(lastSweepTimestamp?: number): Promise<number | null>;
}

@@ -13,5 +13,6 @@ import {BtcStoredHeader} from "../types/BtcStoredHeader";

btcRelayTipBlockHash: string,
latestBlockHeader: B
latestBlockHeader: B,
startForkId?: number
}>;
}

@@ -119,5 +119,5 @@ import {SwapData} from "./SwapData";

getCommitFee(): Promise<BN>;
getClaimFee(): Promise<BN>;
getRefundFee(): Promise<BN>;
getCommitFee(swapData: T, feeRate?: any): Promise<BN>;
getClaimFee(swapData: T, feeRate?: any): Promise<BN>;
getRefundFee(swapData: T, feeRate?: any): Promise<BN>;

@@ -124,0 +124,0 @@ getInitPayInFeeRate?(offerer: string, claimer: string, token: TokenAddress, paymentHash?: string): Promise<any>;

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