crosslightning-base
Advanced tools
Comparing version 4.3.0 to 4.4.0
@@ -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>; |
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
63868
1227