crosslightning-base
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -107,3 +107,4 @@ /// <reference types="node" /> | ||
getTxStatus(tx: TX): Promise<"not_found" | "pending" | "success" | "reverted">; | ||
sendAndConfirm(txs: TX[], waitForConfirmation?: boolean, abortSignal?: AbortSignal, parallel?: boolean, onBeforeTxReplace?: (previousTx: TX, previousTxId: string, newTx: TX, newTxId: string) => Promise<void>): Promise<string[]>; | ||
sendAndConfirm(txs: TX[], waitForConfirmation?: boolean, abortSignal?: AbortSignal, parallel?: boolean, onBeforePublish?: (tx: TX, txId: string, rawTx: string) => Promise<void>): Promise<string[]>; | ||
onBeforeTxReplace(callback: (oldTx: string, oldTxId: string, newTx: string, newTxId: string) => Promise<void>): any; | ||
} |
{ | ||
"name": "crosslightning-base", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "Base classes and interfaces of SolLightning", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -137,4 +137,6 @@ import {SwapData} from "./SwapData"; | ||
sendAndConfirm(txs: TX[], waitForConfirmation?: boolean, abortSignal?: AbortSignal, parallel?: boolean, onBeforeTxReplace?: (previousTx: TX, previousTxId: string, newTx: TX, newTxId: string) => Promise<void>): Promise<string[]>; | ||
sendAndConfirm(txs: TX[], waitForConfirmation?: boolean, abortSignal?: AbortSignal, parallel?: boolean, onBeforePublish?: (tx: TX, txId: string, rawTx: string) => Promise<void>): Promise<string[]>; | ||
onBeforeTxReplace(callback: (oldTx: string, oldTxId: string, newTx: string, newTxId: string) => Promise<void>); | ||
} |
60610
1190