@secondts/bark 0.7.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundler/bark_ffi_wasm.d.ts +8 -0
- package/bundler/bark_ffi_wasm_bg.js +257 -230
- package/bundler/bark_ffi_wasm_bg.wasm +0 -0
- package/bundler/bark_ffi_wasm_bg.wasm.d.ts +13 -10
- package/package.json +2 -2
- package/web/bark_ffi_wasm.d.ts +21 -10
- package/web/bark_ffi_wasm.js +257 -230
- package/web/bark_ffi_wasm_bg.wasm +0 -0
- package/web/bark_ffi_wasm_bg.wasm.d.ts +13 -10
|
@@ -220,6 +220,11 @@ export interface LightningSend {
|
|
|
220
220
|
* Number of input VTXOs locked into the in-flight HTLC.
|
|
221
221
|
*/
|
|
222
222
|
htlcVtxoCount: number;
|
|
223
|
+
/**
|
|
224
|
+
* Whether the send is stuck in the revocation-failed state: the payment
|
|
225
|
+
* failed but revoking the HTLC also failed
|
|
226
|
+
*/
|
|
227
|
+
hasFailedRevocation: boolean;
|
|
223
228
|
}
|
|
224
229
|
|
|
225
230
|
export interface Movement {
|
|
@@ -406,7 +411,9 @@ export class Wallet {
|
|
|
406
411
|
[Symbol.dispose](): void;
|
|
407
412
|
allExitsClaimableAtHeight(): Promise<number | undefined>;
|
|
408
413
|
allVtxos(): Promise<Vtxo[]>;
|
|
414
|
+
allowLightningSendToExit(paymentHash: string): Promise<void>;
|
|
409
415
|
arkInfo(): Promise<ArkInfo | undefined>;
|
|
416
|
+
attemptLightningReceiveExit(paymentHash: string): Promise<void>;
|
|
410
417
|
balance(): Promise<Balance>;
|
|
411
418
|
boardAll(onchainWallet: OnchainWallet): Promise<PendingBoard>;
|
|
412
419
|
boardAmount(onchainWallet: OnchainWallet, amountSats: number): Promise<PendingBoard>;
|
|
@@ -485,6 +492,7 @@ export class Wallet {
|
|
|
485
492
|
spendableVtxos(): Promise<Vtxo[]>;
|
|
486
493
|
startExitForEntireWallet(): Promise<void>;
|
|
487
494
|
startExitForVtxos(vtxoIds: string[]): Promise<void>;
|
|
495
|
+
stuckFailedLightningSends(): Promise<LightningSend[]>;
|
|
488
496
|
sync(): Promise<void>;
|
|
489
497
|
syncExits(onchainWallet: OnchainWallet): Promise<void>;
|
|
490
498
|
syncPendingBoards(): Promise<void>;
|