@arkade-os/sdk 0.4.74 → 0.4.75
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/dist/adapters/expo.cjs +5 -5
- package/dist/adapters/expo.d.cts +2 -2
- package/dist/adapters/expo.d.ts +2 -2
- package/dist/adapters/expo.js +3 -3
- package/dist/adapters/indexedDB.cjs +5 -5
- package/dist/adapters/indexedDB.js +4 -4
- package/dist/{asyncStorageTaskQueue-D1AwLuqn.d.cts → asyncStorageTaskQueue-5k0H_cDM.d.cts} +2 -2
- package/dist/{asyncStorageTaskQueue-aCaOBGTS.d.ts → asyncStorageTaskQueue-DjwCbb07.d.ts} +2 -2
- package/dist/{chunk-QS6AZE4F.cjs → chunk-2Q2PYU3Y.cjs} +10 -10
- package/dist/{chunk-QS6AZE4F.cjs.map → chunk-2Q2PYU3Y.cjs.map} +1 -1
- package/dist/{chunk-J3XVGWMP.js → chunk-2ULUCL6A.js} +4 -4
- package/dist/{chunk-J3XVGWMP.js.map → chunk-2ULUCL6A.js.map} +1 -1
- package/dist/{chunk-LGB65ZCO.js → chunk-4GLSOP6L.js} +12 -5
- package/dist/chunk-4GLSOP6L.js.map +1 -0
- package/dist/{chunk-WIHSU3YS.cjs → chunk-EHJYR4E5.cjs} +741 -578
- package/dist/chunk-EHJYR4E5.cjs.map +1 -0
- package/dist/{chunk-ZTGTQP2W.js → chunk-FTLPTF3R.js} +306 -144
- package/dist/chunk-FTLPTF3R.js.map +1 -0
- package/dist/{chunk-KMPNH7NS.cjs → chunk-J5EX3OMM.cjs} +3 -3
- package/dist/{chunk-KMPNH7NS.cjs.map → chunk-J5EX3OMM.cjs.map} +1 -1
- package/dist/{chunk-X5BPARRD.js → chunk-PS564TAU.js} +3 -3
- package/dist/{chunk-X5BPARRD.js.map → chunk-PS564TAU.js.map} +1 -1
- package/dist/{chunk-AS3W34MG.cjs → chunk-SH23SRZE.cjs} +17 -17
- package/dist/{chunk-AS3W34MG.cjs.map → chunk-SH23SRZE.cjs.map} +1 -1
- package/dist/{chunk-KPLQN4M4.js → chunk-SKAL4MCW.js} +4 -4
- package/dist/{chunk-KPLQN4M4.js.map → chunk-SKAL4MCW.js.map} +1 -1
- package/dist/{chunk-WJVOFYTQ.js → chunk-UKFA7NVE.js} +3 -3
- package/dist/{chunk-WJVOFYTQ.js.map → chunk-UKFA7NVE.js.map} +1 -1
- package/dist/{chunk-J4ZR4VEM.cjs → chunk-YA3L3WL4.cjs} +17 -17
- package/dist/{chunk-J4ZR4VEM.cjs.map → chunk-YA3L3WL4.cjs.map} +1 -1
- package/dist/{chunk-DXLVCFVK.cjs → chunk-YYWEBYFJ.cjs} +58 -51
- package/dist/chunk-YYWEBYFJ.cjs.map +1 -0
- package/dist/contracts/handlers/index.cjs +9 -9
- package/dist/contracts/handlers/index.d.cts +3 -3
- package/dist/contracts/handlers/index.d.ts +3 -3
- package/dist/contracts/handlers/index.js +2 -2
- package/dist/{delegate-6N0DKdnG.d.cts → delegate-D0v8yT-a.d.cts} +1 -1
- package/dist/{delegate-z6veQfLI.d.ts → delegate-D_sW61rj.d.ts} +1 -1
- package/dist/{hdWalletCapable-Bncp-eF0.d.ts → hdWalletCapable-66hG5KQP.d.cts} +3 -11
- package/dist/{hdWalletCapable-DJT8E8sN.d.cts → hdWalletCapable-DHCNbAgl.d.ts} +3 -11
- package/dist/{index-BVqlZJwW.d.cts → index-B2JSxDi1.d.cts} +2 -2
- package/dist/{index-Bxz3cKPA.d.ts → index-TZBbMNqA.d.cts} +9 -0
- package/dist/{index-Bxz3cKPA.d.cts → index-TZBbMNqA.d.ts} +9 -0
- package/dist/{index-CKQQ1oOg.d.ts → index-vUeTpifq.d.ts} +2 -2
- package/dist/index.cjs +306 -302
- package/dist/index.d.cts +51 -14
- package/dist/index.d.ts +51 -14
- package/dist/index.js +4 -4
- package/dist/repositories/realm/index.cjs +19 -19
- package/dist/repositories/realm/index.d.cts +2 -2
- package/dist/repositories/realm/index.d.ts +2 -2
- package/dist/repositories/realm/index.js +5 -5
- package/dist/repositories/sqlite/index.cjs +18 -18
- package/dist/repositories/sqlite/index.d.cts +2 -2
- package/dist/repositories/sqlite/index.d.ts +2 -2
- package/dist/repositories/sqlite/index.js +5 -5
- package/dist/{taskRunner-C26IIg1F.d.cts → taskRunner-CAAPpdyi.d.cts} +2 -2
- package/dist/{taskRunner-KxtIKYLv.d.ts → taskRunner-CairkunF.d.ts} +2 -2
- package/dist/wallet/expo/background.cjs +14 -14
- package/dist/wallet/expo/background.d.cts +3 -3
- package/dist/wallet/expo/background.d.ts +3 -3
- package/dist/wallet/expo/background.js +6 -6
- package/dist/wallet/expo/index.cjs +14 -14
- package/dist/wallet/expo/index.d.cts +4 -4
- package/dist/wallet/expo/index.d.ts +4 -4
- package/dist/wallet/expo/index.js +5 -5
- package/dist/worker/expo/index.cjs +9 -9
- package/dist/worker/expo/index.d.cts +4 -4
- package/dist/worker/expo/index.d.ts +4 -4
- package/dist/worker/expo/index.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-DXLVCFVK.cjs.map +0 -1
- package/dist/chunk-LGB65ZCO.js.map +0 -1
- package/dist/chunk-WIHSU3YS.cjs.map +0 -1
- package/dist/chunk-ZTGTQP2W.js.map +0 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkYYWEBYFJ_cjs = require('../../chunk-YYWEBYFJ.cjs');
|
|
4
|
+
require('../../chunk-J5EX3OMM.cjs');
|
|
5
5
|
require('../../chunk-5BLDMQED.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "ArkadeContractHandler", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkYYWEBYFJ_cjs.ArkadeContractHandler; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "BoardingContractHandler", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkYYWEBYFJ_cjs.BoardingContractHandler; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "DefaultContractHandler", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkYYWEBYFJ_cjs.DefaultContractHandler; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "DelegateContractHandler", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkYYWEBYFJ_cjs.DelegateContractHandler; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "VHTLCContractHandler", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkYYWEBYFJ_cjs.VHTLCContractHandler; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "VHTLCV2ContractHandler", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkYYWEBYFJ_cjs.VHTLCV2ContractHandler; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "contractHandlers", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkYYWEBYFJ_cjs.contractHandlers; }
|
|
36
36
|
});
|
|
37
37
|
//# sourceMappingURL=index.cjs.map
|
|
38
38
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from '../../index-
|
|
2
|
-
import '../../index-
|
|
1
|
+
export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from '../../index-B2JSxDi1.cjs';
|
|
2
|
+
import '../../index-TZBbMNqA.cjs';
|
|
3
3
|
import '@scure/btc-signer/utils.js';
|
|
4
4
|
import '@scure/btc-signer/transaction.js';
|
|
5
5
|
import '@scure/btc-signer';
|
|
6
6
|
import '@scure/btc-signer/psbt.js';
|
|
7
|
-
import '../../delegate-
|
|
7
|
+
import '../../delegate-D0v8yT-a.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from '../../index-
|
|
2
|
-
import '../../index-
|
|
1
|
+
export { n as ArkadeContractHandler, B as BoardingContractHandler, o as BoardingContractParams, D as DefaultContractHandler, q as DefaultContractParams, t as DelegateContractHandler, u as DelegateContractParams, x as VHTLCContractHandler, y as VHTLCContractParams, z as VHTLCV2ContractHandler, E as VHTLCV2ContractParams, F as contractHandlers } from '../../index-vUeTpifq.js';
|
|
2
|
+
import '../../index-TZBbMNqA.js';
|
|
3
3
|
import '@scure/btc-signer/utils.js';
|
|
4
4
|
import '@scure/btc-signer/transaction.js';
|
|
5
5
|
import '@scure/btc-signer';
|
|
6
6
|
import '@scure/btc-signer/psbt.js';
|
|
7
|
-
import '../../delegate-
|
|
7
|
+
import '../../delegate-D_sW61rj.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DelegateContractHandler, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { ArkadeContractHandler, BoardingContractHandler, DefaultContractHandler, DelegateContractHandler, VHTLCContractHandler, VHTLCV2ContractHandler, contractHandlers } from '../../chunk-4GLSOP6L.js';
|
|
2
|
+
import '../../chunk-UKFA7NVE.js';
|
|
3
3
|
import '../../chunk-NSBPE2FW.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
2
|
-
import { s as RelativeTimelock, V as VtxoScript, t as TapLeafScript } from './index-
|
|
2
|
+
import { s as RelativeTimelock, V as VtxoScript, t as TapLeafScript } from './index-TZBbMNqA.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* DefaultVtxo is the default implementation of a VtxoScript.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
2
|
-
import { s as RelativeTimelock, V as VtxoScript, t as TapLeafScript } from './index-
|
|
2
|
+
import { s as RelativeTimelock, V as VtxoScript, t as TapLeafScript } from './index-TZBbMNqA.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* DefaultVtxo is the default implementation of a VtxoScript.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as RelativeTimelock, M as Network, P as CSVMultisigTapscript, Q as BatchStartedEvent, U as TreeSigningStartedEvent, X as TxTree, Y as TreeNoncesEvent, Z as BatchFinalizationEvent, _ as BatchFinalizedEvent, $ as BatchFailedEvent, a0 as TreeTxEvent, a1 as TreeSignatureEvent, k as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, a2 as DescriptorProvider, f as IContractManager, a3 as IReadonlyWallet, a4 as ReadonlyIdentity, a5 as OnchainProvider, r as IndexerProvider, a6 as DelegateProvider, a7 as ReadonlyWalletConfig, B as IntentRepository, H as VirtualTxRepository, a8 as ExitCaptureMode, a9 as ExitDataSource, d as ActivityRegistry, aa as IReadonlyAssetManager, ab as ContractSyncState, ac as RecipientAddressContext, q as ArkProvider, ad as NetworkName, ae as ArkInfo, af as ArkAddress, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, ag as ContractWithVtxos, ah as selectPendingRecoveryOutpoints, A as ArkTransaction, e as Activity, E as ExtendedCoin, ai as Coin, w as ExtendedVirtualCoin, aj as ContractManager, ak as ContractManagerConfig, I as IWallet, a as Identity, g as GetNewAddressesOptions, h as NewAddress, al as SettlementConfig, m as IAssetManager, am as VtxoManager, i as IDelegateManager, S as SendBitcoinParams, j as SettleParams, R as Recipient, an as SignerSession, ao as SignedIntent, ap as Intent, l as SendParams, aq as TimeHeight } from './index-
|
|
1
|
+
import { s as RelativeTimelock, M as Network, P as CSVMultisigTapscript, Q as BatchStartedEvent, U as TreeSigningStartedEvent, X as TxTree, Y as TreeNoncesEvent, Z as BatchFinalizationEvent, _ as BatchFinalizedEvent, $ as BatchFailedEvent, a0 as TreeTxEvent, a1 as TreeSignatureEvent, k as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, a2 as DescriptorProvider, f as IContractManager, a3 as IReadonlyWallet, a4 as ReadonlyIdentity, a5 as OnchainProvider, r as IndexerProvider, a6 as DelegateProvider, a7 as ReadonlyWalletConfig, B as IntentRepository, H as VirtualTxRepository, a8 as ExitCaptureMode, a9 as ExitDataSource, d as ActivityRegistry, aa as IReadonlyAssetManager, ab as ContractSyncState, ac as RecipientAddressContext, q as ArkProvider, ad as NetworkName, ae as ArkInfo, af as ArkAddress, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, ag as ContractWithVtxos, ah as selectPendingRecoveryOutpoints, A as ArkTransaction, e as Activity, E as ExtendedCoin, ai as Coin, w as ExtendedVirtualCoin, aj as ContractManager, ak as ContractManagerConfig, I as IWallet, a as Identity, g as GetNewAddressesOptions, h as NewAddress, al as SettlementConfig, m as IAssetManager, am as VtxoManager, i as IDelegateManager, S as SendBitcoinParams, j as SettleParams, R as Recipient, an as SignerSession, ao as SignedIntent, ap as Intent, l as SendParams, aq as TimeHeight } from './index-TZBbMNqA.cjs';
|
|
2
2
|
import { Transaction } from '@scure/btc-signer';
|
|
3
3
|
import { TransactionOutput } from '@scure/btc-signer/psbt.js';
|
|
4
4
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
5
|
-
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-
|
|
5
|
+
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-D0v8yT-a.cjs';
|
|
6
6
|
|
|
7
7
|
/** Wall-clock floor for `batchExpiry` outside regtest. */
|
|
8
8
|
declare const DEFAULT_MIN_BATCH_EXPIRY_SECONDS = 86400n;
|
|
@@ -1759,15 +1759,7 @@ declare class Wallet extends ReadonlyWallet implements IWallet, HDWalletCapable,
|
|
|
1759
1759
|
* fields already written by the event reducer (state-event ordering).
|
|
1760
1760
|
*/
|
|
1761
1761
|
private persistIntentSnapshot;
|
|
1762
|
-
|
|
1763
|
-
* @internal Sign an on-chain boarding exit / sweep transaction, routing
|
|
1764
|
-
* each input to the correct key by its `witnessUtxo.script`: the identity
|
|
1765
|
-
* for index-0 / static boarding, the per-index descriptor for a rotated
|
|
1766
|
-
* boarding UTXO (plan §6-III.3). Used by
|
|
1767
|
-
* {@link VtxoManager.sweepExpiredBoardingUtxos}; without it, the
|
|
1768
|
-
* unilateral exit of a rotated boarding UTXO would be signed with the
|
|
1769
|
-
* wrong (index-0) key and rejected.
|
|
1770
|
-
*/
|
|
1762
|
+
signInputsByWitnessScript(tx: Transaction): Promise<Transaction>;
|
|
1771
1763
|
signOnchainBoardingTx(tx: Transaction): Promise<Transaction>;
|
|
1772
1764
|
safeRegisterIntent(intent: SignedIntent<Intent.RegisterMessage>, inputs: ExtendedCoin[]): Promise<string>;
|
|
1773
1765
|
makeRegisterIntentSignature(coins: ExtendedCoin[], outputs: TransactionOutput[], onchainOutputsIndexes: number[], cosignerPubKeys: string[], validAt?: number): Promise<SignedIntent<Intent.RegisterMessage>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as RelativeTimelock, M as Network, P as CSVMultisigTapscript, Q as BatchStartedEvent, U as TreeSigningStartedEvent, X as TxTree, Y as TreeNoncesEvent, Z as BatchFinalizationEvent, _ as BatchFinalizedEvent, $ as BatchFailedEvent, a0 as TreeTxEvent, a1 as TreeSignatureEvent, k as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, a2 as DescriptorProvider, f as IContractManager, a3 as IReadonlyWallet, a4 as ReadonlyIdentity, a5 as OnchainProvider, r as IndexerProvider, a6 as DelegateProvider, a7 as ReadonlyWalletConfig, B as IntentRepository, H as VirtualTxRepository, a8 as ExitCaptureMode, a9 as ExitDataSource, d as ActivityRegistry, aa as IReadonlyAssetManager, ab as ContractSyncState, ac as RecipientAddressContext, q as ArkProvider, ad as NetworkName, ae as ArkInfo, af as ArkAddress, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, ag as ContractWithVtxos, ah as selectPendingRecoveryOutpoints, A as ArkTransaction, e as Activity, E as ExtendedCoin, ai as Coin, w as ExtendedVirtualCoin, aj as ContractManager, ak as ContractManagerConfig, I as IWallet, a as Identity, g as GetNewAddressesOptions, h as NewAddress, al as SettlementConfig, m as IAssetManager, am as VtxoManager, i as IDelegateManager, S as SendBitcoinParams, j as SettleParams, R as Recipient, an as SignerSession, ao as SignedIntent, ap as Intent, l as SendParams, aq as TimeHeight } from './index-
|
|
1
|
+
import { s as RelativeTimelock, M as Network, P as CSVMultisigTapscript, Q as BatchStartedEvent, U as TreeSigningStartedEvent, X as TxTree, Y as TreeNoncesEvent, Z as BatchFinalizationEvent, _ as BatchFinalizedEvent, $ as BatchFailedEvent, a0 as TreeTxEvent, a1 as TreeSignatureEvent, k as SettlementEvent, b as WalletConfig, W as WalletRepository, C as ContractRepository, a2 as DescriptorProvider, f as IContractManager, a3 as IReadonlyWallet, a4 as ReadonlyIdentity, a5 as OnchainProvider, r as IndexerProvider, a6 as DelegateProvider, a7 as ReadonlyWalletConfig, B as IntentRepository, H as VirtualTxRepository, a8 as ExitCaptureMode, a9 as ExitDataSource, d as ActivityRegistry, aa as IReadonlyAssetManager, ab as ContractSyncState, ac as RecipientAddressContext, q as ArkProvider, ad as NetworkName, ae as ArkInfo, af as ArkAddress, c as WalletBalance, G as GetVtxosFilter, N as NormalizedExtendedVirtualCoin, ag as ContractWithVtxos, ah as selectPendingRecoveryOutpoints, A as ArkTransaction, e as Activity, E as ExtendedCoin, ai as Coin, w as ExtendedVirtualCoin, aj as ContractManager, ak as ContractManagerConfig, I as IWallet, a as Identity, g as GetNewAddressesOptions, h as NewAddress, al as SettlementConfig, m as IAssetManager, am as VtxoManager, i as IDelegateManager, S as SendBitcoinParams, j as SettleParams, R as Recipient, an as SignerSession, ao as SignedIntent, ap as Intent, l as SendParams, aq as TimeHeight } from './index-TZBbMNqA.js';
|
|
2
2
|
import { Transaction } from '@scure/btc-signer';
|
|
3
3
|
import { TransactionOutput } from '@scure/btc-signer/psbt.js';
|
|
4
4
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
5
|
-
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-
|
|
5
|
+
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-D_sW61rj.js';
|
|
6
6
|
|
|
7
7
|
/** Wall-clock floor for `batchExpiry` outside regtest. */
|
|
8
8
|
declare const DEFAULT_MIN_BATCH_EXPIRY_SECONDS = 86400n;
|
|
@@ -1759,15 +1759,7 @@ declare class Wallet extends ReadonlyWallet implements IWallet, HDWalletCapable,
|
|
|
1759
1759
|
* fields already written by the event reducer (state-event ordering).
|
|
1760
1760
|
*/
|
|
1761
1761
|
private persistIntentSnapshot;
|
|
1762
|
-
|
|
1763
|
-
* @internal Sign an on-chain boarding exit / sweep transaction, routing
|
|
1764
|
-
* each input to the correct key by its `witnessUtxo.script`: the identity
|
|
1765
|
-
* for index-0 / static boarding, the per-index descriptor for a rotated
|
|
1766
|
-
* boarding UTXO (plan §6-III.3). Used by
|
|
1767
|
-
* {@link VtxoManager.sweepExpiredBoardingUtxos}; without it, the
|
|
1768
|
-
* unilateral exit of a rotated boarding UTXO would be signed with the
|
|
1769
|
-
* wrong (index-0) key and rejected.
|
|
1770
|
-
*/
|
|
1762
|
+
signInputsByWitnessScript(tx: Transaction): Promise<Transaction>;
|
|
1771
1763
|
signOnchainBoardingTx(tx: Transaction): Promise<Transaction>;
|
|
1772
1764
|
safeRegisterIntent(intent: SignedIntent<Intent.RegisterMessage>, inputs: ExtendedCoin[]): Promise<string>;
|
|
1773
1765
|
makeRegisterIntentSignature(coins: ExtendedCoin[], outputs: TransactionOutput[], onchainOutputsIndexes: number[], cosignerPubKeys: string[], validAt?: number): Promise<SignedIntent<Intent.RegisterMessage>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bh as ContractHandler, s as RelativeTimelock, bu as Discoverable, V as VtxoScript, t as TapLeafScript, d8 as TapscriptDeriving } from './index-
|
|
2
|
-
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-
|
|
1
|
+
import { bh as ContractHandler, s as RelativeTimelock, bu as Discoverable, V as VtxoScript, t as TapLeafScript, d8 as TapscriptDeriving } from './index-TZBbMNqA.cjs';
|
|
2
|
+
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-D0v8yT-a.cjs';
|
|
3
3
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -4107,6 +4107,15 @@ declare class ContractManager implements IContractManager {
|
|
|
4107
4107
|
/** @see ContractManagerConfig.vtxoSyncMaxAgeMs — for factory-built managers. */
|
|
4108
4108
|
setVtxoSyncMaxAge(maxAgeMs: number): void;
|
|
4109
4109
|
private markSyncOnline;
|
|
4110
|
+
/**
|
|
4111
|
+
* Why a sync that just succeeded still has not covered everything it should
|
|
4112
|
+
* have. Both reasons outlive the sync that failed to cover them, so neither
|
|
4113
|
+
* is discharged by the next one succeeding — which is the point: a wallet
|
|
4114
|
+
* that reported itself current while the look-ahead band sat behind the
|
|
4115
|
+
* watermark, or while a contract could not be annotated, would be claiming
|
|
4116
|
+
* coverage it never had. `getSyncState()` is the channel apps already watch.
|
|
4117
|
+
*/
|
|
4118
|
+
private syncGapReason;
|
|
4110
4119
|
/** Contracts a sync could not annotate, as `script → reason`. */
|
|
4111
4120
|
private annotationFailures;
|
|
4112
4121
|
private annotationDegradedReason;
|
|
@@ -4107,6 +4107,15 @@ declare class ContractManager implements IContractManager {
|
|
|
4107
4107
|
/** @see ContractManagerConfig.vtxoSyncMaxAgeMs — for factory-built managers. */
|
|
4108
4108
|
setVtxoSyncMaxAge(maxAgeMs: number): void;
|
|
4109
4109
|
private markSyncOnline;
|
|
4110
|
+
/**
|
|
4111
|
+
* Why a sync that just succeeded still has not covered everything it should
|
|
4112
|
+
* have. Both reasons outlive the sync that failed to cover them, so neither
|
|
4113
|
+
* is discharged by the next one succeeding — which is the point: a wallet
|
|
4114
|
+
* that reported itself current while the look-ahead band sat behind the
|
|
4115
|
+
* watermark, or while a contract could not be annotated, would be claiming
|
|
4116
|
+
* coverage it never had. `getSyncState()` is the channel apps already watch.
|
|
4117
|
+
*/
|
|
4118
|
+
private syncGapReason;
|
|
4110
4119
|
/** Contracts a sync could not annotate, as `script → reason`. */
|
|
4111
4120
|
private annotationFailures;
|
|
4112
4121
|
private annotationDegradedReason;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { bh as ContractHandler, s as RelativeTimelock, bu as Discoverable, V as VtxoScript, t as TapLeafScript, d8 as TapscriptDeriving } from './index-
|
|
2
|
-
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-
|
|
1
|
+
import { bh as ContractHandler, s as RelativeTimelock, bu as Discoverable, V as VtxoScript, t as TapLeafScript, d8 as TapscriptDeriving } from './index-TZBbMNqA.js';
|
|
2
|
+
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-D_sW61rj.js';
|
|
3
3
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
4
4
|
|
|
5
5
|
/**
|