@arkade-os/sdk 0.5.0-rc.21 → 0.5.0-rc.23
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/README.md +31 -0
- 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/{asyncStorageTaskQueue-x8ok3tJy.d.cts → asyncStorageTaskQueue-DUu3VwBE.d.cts} +2 -2
- package/dist/{asyncStorageTaskQueue-aL7K14e4.d.ts → asyncStorageTaskQueue-Dm71_6ID.d.ts} +2 -2
- package/dist/{chunk-LNJPVLIC.js → chunk-B4CZLBE6.js} +4 -4
- package/dist/{chunk-LNJPVLIC.js.map → chunk-B4CZLBE6.js.map} +1 -1
- package/dist/{chunk-EXFU6MTA.js → chunk-ENGV6VZF.js} +511 -89
- package/dist/chunk-ENGV6VZF.js.map +1 -0
- package/dist/{chunk-R5OFJ23O.cjs → chunk-H7W2KLN2.cjs} +990 -565
- package/dist/chunk-H7W2KLN2.cjs.map +1 -0
- package/dist/{chunk-VZMLADXQ.cjs → chunk-JETDFDWV.cjs} +10 -10
- package/dist/{chunk-VZMLADXQ.cjs.map → chunk-JETDFDWV.cjs.map} +1 -1
- package/dist/{chunk-5XBH5SAL.cjs → chunk-KR6FLFIH.cjs} +3 -3
- package/dist/{chunk-5XBH5SAL.cjs.map → chunk-KR6FLFIH.cjs.map} +1 -1
- package/dist/{chunk-GVF4OCTL.cjs → chunk-QLJXXVRO.cjs} +48 -48
- package/dist/{chunk-GVF4OCTL.cjs.map → chunk-QLJXXVRO.cjs.map} +1 -1
- package/dist/{chunk-JZAEFOE4.js → chunk-SPJA7XMU.js} +3 -3
- package/dist/{chunk-JZAEFOE4.js.map → chunk-SPJA7XMU.js.map} +1 -1
- package/dist/{chunk-CXHJGED6.js → chunk-UDQ3QE4C.js} +3 -3
- package/dist/{chunk-CXHJGED6.js.map → chunk-UDQ3QE4C.js.map} +1 -1
- package/dist/{chunk-S2WWOVFC.js → chunk-W2VYRZLB.js} +4 -4
- package/dist/{chunk-S2WWOVFC.js.map → chunk-W2VYRZLB.js.map} +1 -1
- package/dist/{chunk-4FDNOLBO.js → chunk-XZEQV5FE.js} +3 -3
- package/dist/{chunk-4FDNOLBO.js.map → chunk-XZEQV5FE.js.map} +1 -1
- package/dist/{chunk-Q7PC3NHX.cjs → chunk-YFHGGSII.cjs} +18 -18
- package/dist/{chunk-Q7PC3NHX.cjs.map → chunk-YFHGGSII.cjs.map} +1 -1
- package/dist/{chunk-HIZNPHB2.cjs → chunk-ZDLFQ7ZH.cjs} +15 -15
- package/dist/{chunk-HIZNPHB2.cjs.map → chunk-ZDLFQ7ZH.cjs.map} +1 -1
- 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-BT5iON1T.d.ts → delegate-DATx5c2o.d.ts} +1 -1
- package/dist/{delegate-u6kXTtWY.d.cts → delegate-DRoyCz4n.d.cts} +1 -1
- package/dist/{index-CK5QbTmZ.d.ts → index-BKBoBSKX.d.cts} +83 -9
- package/dist/{index-CK5QbTmZ.d.cts → index-BKBoBSKX.d.ts} +83 -9
- package/dist/{index-D1D4cR-G.d.ts → index-BjDUwnH-.d.ts} +2 -2
- package/dist/{index-BCnhItOQ.d.cts → index-CLgF0km0.d.cts} +2 -2
- package/dist/index.cjs +321 -309
- package/dist/index.d.cts +78 -16
- package/dist/index.d.ts +78 -16
- package/dist/index.js +4 -4
- package/dist/repositories/realm/index.cjs +35 -35
- 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 +33 -33
- 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-BeYR6NpQ.d.ts → taskRunner-B78rNRXB.d.ts} +2 -2
- package/dist/{taskRunner-Csey3EYJ.d.cts → taskRunner-CoGRmz1U.d.cts} +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 +15 -15
- 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/{wallet-DzSLMxBZ.d.ts → wallet-CdUjdg15.d.cts} +23 -5
- package/dist/{wallet-DG3Qmbmt.d.cts → wallet-yKzfCUfY.d.ts} +23 -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-EXFU6MTA.js.map +0 -1
- package/dist/chunk-R5OFJ23O.cjs.map +0 -1
|
@@ -2918,12 +2918,18 @@ interface ScanContractsOptions {
|
|
|
2918
2918
|
* Freshness of the ContractManager's provider-backed sync. `degraded` means the most recent sync
|
|
2919
2919
|
* hit a retryable indexer/operator failure and repository state is being served; it returns to
|
|
2920
2920
|
* `online` on the next successful sync.
|
|
2921
|
+
*
|
|
2922
|
+
* `syncing` says a provider sync is in flight right now, so a read can be served from the
|
|
2923
|
+
* repository while the work that refreshes it runs on. Optional so adding it breaks no
|
|
2924
|
+
* implementer of this public interface; {@link ContractManager} always sets it.
|
|
2921
2925
|
*/
|
|
2922
2926
|
type ContractSyncState = {
|
|
2923
2927
|
mode: "online";
|
|
2928
|
+
syncing?: boolean;
|
|
2924
2929
|
lastSyncedAt?: number;
|
|
2925
2930
|
} | {
|
|
2926
2931
|
mode: "degraded";
|
|
2932
|
+
syncing?: boolean;
|
|
2927
2933
|
reason: string;
|
|
2928
2934
|
lastSyncedAt?: number;
|
|
2929
2935
|
};
|
|
@@ -2957,6 +2963,19 @@ interface IContractManager extends Disposable {
|
|
|
2957
2963
|
}): Promise<ContractWithVtxos[]>;
|
|
2958
2964
|
/** Latest provider-sync health. See {@link ContractSyncState}. */
|
|
2959
2965
|
getSyncState(): ContractSyncState;
|
|
2966
|
+
/**
|
|
2967
|
+
* Contracts with their repository VTXOs, answered without waiting on the indexer. A sync
|
|
2968
|
+
* older than `vtxoSyncMaxAgeMs` is requested in the background (skipped while the lazy boot
|
|
2969
|
+
* runs); check {@link getSyncState} before trusting the result. For display, never coin
|
|
2970
|
+
* selection.
|
|
2971
|
+
*/
|
|
2972
|
+
getStoredContractsWithVtxos?(filter?: GetContractsFilter): Promise<ContractWithVtxos[]>;
|
|
2973
|
+
/**
|
|
2974
|
+
* Settles when the `lazyInitialization` boot (look-ahead drain, reconcile, watcher start)
|
|
2975
|
+
* finishes; immediately when there is none. Never rejects: a failed boot is reported through
|
|
2976
|
+
* {@link getSyncState}.
|
|
2977
|
+
*/
|
|
2978
|
+
whenBooted?(): Promise<void>;
|
|
2960
2979
|
/**
|
|
2961
2980
|
* Stamp raw virtual outputs with their contract's tapscripts (forfeit, intent, tap tree).
|
|
2962
2981
|
* Throws when a vtxo's script has no registered contract, so the wallet never silently stamps
|
|
@@ -3097,8 +3116,10 @@ interface IContractManager extends Disposable {
|
|
|
3097
3116
|
getWatchedScripts?(): Promise<WatchedScript[]>;
|
|
3098
3117
|
/** Whether the underlying watcher is currently active. */
|
|
3099
3118
|
isWatching(): Promise<boolean>;
|
|
3100
|
-
/**
|
|
3101
|
-
|
|
3119
|
+
/**
|
|
3120
|
+
* Release resources (stop watching, clear listeners) and wait for in-flight repository writes.
|
|
3121
|
+
*/
|
|
3122
|
+
dispose(): Promise<void>;
|
|
3102
3123
|
}
|
|
3103
3124
|
/** Options for getting spendable paths. */
|
|
3104
3125
|
type GetSpendablePathsOptions = {
|
|
@@ -3120,6 +3141,8 @@ type GetAllSpendingPathsOptions = {
|
|
|
3120
3141
|
};
|
|
3121
3142
|
/** Configuration for the ContractManager. */
|
|
3122
3143
|
interface ContractManagerConfig {
|
|
3144
|
+
/** Opt in to background boot; inspect getSyncState() before using cached data. */
|
|
3145
|
+
lazyInitialization?: boolean;
|
|
3123
3146
|
indexerProvider: IndexerProvider;
|
|
3124
3147
|
contractRepository: ContractRepository;
|
|
3125
3148
|
/** Virtual output storage (single source of truth). */
|
|
@@ -3243,11 +3266,18 @@ declare class ContractManager implements IContractManager {
|
|
|
3243
3266
|
private initialized;
|
|
3244
3267
|
private eventCallbacks;
|
|
3245
3268
|
private stopWatcherFn?;
|
|
3269
|
+
/** Watcher events still being handled. They write VTXO rows, so {@link dispose} waits for them. */
|
|
3270
|
+
private readonly inFlightEvents;
|
|
3246
3271
|
/** `undefined` while online; the failure reason once a sync degrades. */
|
|
3247
3272
|
private syncDegradedReason?;
|
|
3248
3273
|
/** Epoch-ms of the last successful provider sync, if any. */
|
|
3249
3274
|
private lastSyncedAt?;
|
|
3250
3275
|
private syncedAtByScript;
|
|
3276
|
+
private syncsInFlight;
|
|
3277
|
+
/** The off-critical-path boot sequence, if one is running. @see runBootSequence */
|
|
3278
|
+
private bootTask?;
|
|
3279
|
+
/** A catch-up sync requested behind a stored read. @see requestCatchUpSync */
|
|
3280
|
+
private catchUpSync?;
|
|
3251
3281
|
/** Last chain tip read, with the epoch-ms it was read at. @see currentChainTip */
|
|
3252
3282
|
private chainTipCache?;
|
|
3253
3283
|
/** In-flight chain tip read, so concurrent cache misses share one. */
|
|
@@ -3275,6 +3305,8 @@ declare class ContractManager implements IContractManager {
|
|
|
3275
3305
|
* {@link initialize}, {@link getContractsWithVtxos} and {@link createContract}.
|
|
3276
3306
|
*/
|
|
3277
3307
|
getSyncState(): ContractSyncState;
|
|
3308
|
+
/** @inheritdoc */
|
|
3309
|
+
whenBooted(): Promise<void>;
|
|
3278
3310
|
/** @see ContractManagerConfig.vtxoSyncMaxAgeMs — for factory-built managers. */
|
|
3279
3311
|
setVtxoSyncMaxAge(maxAgeMs: number): void;
|
|
3280
3312
|
/** @see ContractManagerConfig.vtxoSyncOverlapMs — for factory-built managers. */
|
|
@@ -3286,6 +3318,8 @@ declare class ContractManager implements IContractManager {
|
|
|
3286
3318
|
* would claim coverage the wallet never had.
|
|
3287
3319
|
*/
|
|
3288
3320
|
private syncGapReason;
|
|
3321
|
+
/** Why the lazy boot's watcher start failed; nothing retries it, so no sync may clear it. */
|
|
3322
|
+
private watcherStartFailure?;
|
|
3289
3323
|
/** Contracts a sync could not annotate, as `script → reason`. */
|
|
3290
3324
|
private annotationFailures;
|
|
3291
3325
|
private annotationDegradedReason;
|
|
@@ -3299,6 +3333,11 @@ declare class ContractManager implements IContractManager {
|
|
|
3299
3333
|
private trySync;
|
|
3300
3334
|
private markSyncDegraded;
|
|
3301
3335
|
private initialize;
|
|
3336
|
+
private runBootSequence;
|
|
3337
|
+
/** Tracked so {@link dispose} can wait for handlers still writing. */
|
|
3338
|
+
private onWatcherEvent;
|
|
3339
|
+
/** No throw: construction returned long ago, so the state is the channel. */
|
|
3340
|
+
private reportBackgroundFailure;
|
|
3302
3341
|
/**
|
|
3303
3342
|
* Delta-sync the watched set (boot and reconnect), then reconcile the pending frontier, which
|
|
3304
3343
|
* catches not-yet-finalized virtual outputs that can sit outside any delta window.
|
|
@@ -3409,6 +3448,8 @@ declare class ContractManager implements IContractManager {
|
|
|
3409
3448
|
unspentOnly?: boolean;
|
|
3410
3449
|
requireSynced?: boolean;
|
|
3411
3450
|
}): Promise<ContractWithVtxos[]>;
|
|
3451
|
+
getStoredContractsWithVtxos(filter?: GetContractsFilter): Promise<ContractWithVtxos[]>;
|
|
3452
|
+
private requestCatchUpSync;
|
|
3412
3453
|
annotateVtxos(vtxos: VirtualCoin[], tapscripts?: ContractTapscriptCache): Promise<NormalizedExtendedVirtualCoin[]>;
|
|
3413
3454
|
/** @inheritdoc */
|
|
3414
3455
|
assertAnnotatable(vtxos: readonly {
|
|
@@ -3488,6 +3529,7 @@ declare class ContractManager implements IContractManager {
|
|
|
3488
3529
|
private getVtxosForContracts;
|
|
3489
3530
|
/** Sync virtual outputs for the given contracts (default: the watched set). */
|
|
3490
3531
|
private syncContracts;
|
|
3532
|
+
private performContractSync;
|
|
3491
3533
|
private syncedWithin;
|
|
3492
3534
|
/**
|
|
3493
3535
|
* Demote every funded `awaiting-funds` contract to `retained` (see {@link ContractWatchState}).
|
|
@@ -3505,19 +3547,30 @@ declare class ContractManager implements IContractManager {
|
|
|
3505
3547
|
private persistContractVtxos;
|
|
3506
3548
|
private fetchContractVxosFromIndexer;
|
|
3507
3549
|
private fetchContractVtxosBulk;
|
|
3508
|
-
/** Stop the watcher, clear callbacks, and mark the manager uninitialized. */
|
|
3509
|
-
dispose(): void;
|
|
3510
3550
|
/**
|
|
3511
|
-
*
|
|
3551
|
+
* Stop the watcher, clear callbacks, and mark the manager uninitialized.
|
|
3552
|
+
*
|
|
3553
|
+
* Teardown is synchronous. The returned promise settles once watcher events already being
|
|
3554
|
+
* handled, any look-ahead drain, and any lazy boot sequence finish; after that nothing more is written to the
|
|
3555
|
+
* repositories.
|
|
3556
|
+
*/
|
|
3557
|
+
dispose(): Promise<void>;
|
|
3558
|
+
/**
|
|
3559
|
+
* Symbol.dispose implementation for the `using` keyword. Teardown is immediate, but it does
|
|
3560
|
+
* not wait for in-flight work; use `await using` for that.
|
|
3561
|
+
*/
|
|
3562
|
+
[Symbol.dispose](): void;
|
|
3563
|
+
/**
|
|
3564
|
+
* Symbol.asyncDispose implementation for the `await using` keyword; waits like {@link dispose}.
|
|
3512
3565
|
* @example
|
|
3513
3566
|
* ```typescript
|
|
3514
3567
|
* {
|
|
3515
|
-
* using manager = await wallet.getContractManager();
|
|
3568
|
+
* await using manager = await wallet.getContractManager();
|
|
3516
3569
|
* // ... use manager
|
|
3517
|
-
* } //
|
|
3570
|
+
* } // disposed, with in-flight events finished
|
|
3518
3571
|
* ```
|
|
3519
3572
|
*/
|
|
3520
|
-
[Symbol.
|
|
3573
|
+
[Symbol.asyncDispose](): Promise<void>;
|
|
3521
3574
|
}
|
|
3522
3575
|
|
|
3523
3576
|
/**
|
|
@@ -4425,6 +4478,8 @@ interface BaseWalletConfig {
|
|
|
4425
4478
|
* ```
|
|
4426
4479
|
*/
|
|
4427
4480
|
interface ReadonlyWalletConfig extends BaseWalletConfig {
|
|
4481
|
+
/** Opt in to background contract initialization for explicit stored reads. */
|
|
4482
|
+
lazyInitialization?: boolean;
|
|
4428
4483
|
/** Readonly identity used to derive wallet addresses. */
|
|
4429
4484
|
identity: ReadonlyIdentity;
|
|
4430
4485
|
/**
|
|
@@ -4556,6 +4611,7 @@ interface WalletBalance {
|
|
|
4556
4611
|
unconfirmed: number;
|
|
4557
4612
|
/** Combined boarding balance (`confirmed` + `unconfirmed`) */
|
|
4558
4613
|
total: number;
|
|
4614
|
+
loaded?: boolean;
|
|
4559
4615
|
};
|
|
4560
4616
|
/** Settled (finalized) balance the wallet owns, including gated and intent-locked funds. */
|
|
4561
4617
|
settled: number;
|
|
@@ -4676,6 +4732,10 @@ interface Recipient {
|
|
|
4676
4732
|
*/
|
|
4677
4733
|
tapTree?: Bytes;
|
|
4678
4734
|
}
|
|
4735
|
+
type InputExpiryFloor = {
|
|
4736
|
+
readonly kind: "time" | "height";
|
|
4737
|
+
readonly value: bigint;
|
|
4738
|
+
};
|
|
4679
4739
|
/** Object form of `IWallet.send`'s arguments; the variadic form has no slot for options. */
|
|
4680
4740
|
interface SendParams {
|
|
4681
4741
|
/** One or more recipients — the variadic arguments of the other form. */
|
|
@@ -4688,6 +4748,10 @@ interface SendParams {
|
|
|
4688
4748
|
* @see IReadonlyWallet.getVtxos
|
|
4689
4749
|
*/
|
|
4690
4750
|
selectedVtxos?: ExtendedVirtualCoin[];
|
|
4751
|
+
/** Refuse before provider submission at or after this UNIX timestamp in seconds. */
|
|
4752
|
+
validUntil?: number;
|
|
4753
|
+
/** Require every input's known expiry to be at least this UNIX-seconds or block-height floor. */
|
|
4754
|
+
inputExpiryFloor?: InputExpiryFloor;
|
|
4691
4755
|
/** Maximum sats of unavoidable change this send may pay as an offchain fee. Defaults to any change below the operator's VTXO minimum; 0 disables it. */
|
|
4692
4756
|
maxChangeFee?: number;
|
|
4693
4757
|
}
|
|
@@ -5177,6 +5241,8 @@ interface IReadonlyWallet {
|
|
|
5177
5241
|
getArkadeReader(): Promise<ArkadeReader>;
|
|
5178
5242
|
/** @returns The wallet's combined onchain and offchain balance. */
|
|
5179
5243
|
getBalance(): Promise<WalletBalance>;
|
|
5244
|
+
/** Cached display balance; check provider state and boarding.loaded. */
|
|
5245
|
+
getStoredBalance?(): Promise<WalletBalance>;
|
|
5180
5246
|
/**
|
|
5181
5247
|
* Get virtual outputs tracked by the wallet.
|
|
5182
5248
|
*
|
|
@@ -5185,6 +5251,8 @@ interface IReadonlyWallet {
|
|
|
5185
5251
|
* @see GetVtxosFilter
|
|
5186
5252
|
*/
|
|
5187
5253
|
getVtxos(filter?: GetVtxosFilter): Promise<NormalizedExtendedVirtualCoin[]>;
|
|
5254
|
+
/** Cached display coins; may be incomplete until synchronization finishes. */
|
|
5255
|
+
getStoredVtxos?(filter?: GetVtxosFilter): Promise<NormalizedExtendedVirtualCoin[]>;
|
|
5188
5256
|
/**
|
|
5189
5257
|
* The subset of {@link getVtxos} generic spending may select: minus gated contracts,
|
|
5190
5258
|
* pending-recovery funds and intent-locked outpoints (all from one contract snapshot). Every
|
|
@@ -5196,6 +5264,12 @@ interface IReadonlyWallet {
|
|
|
5196
5264
|
getSpendableVtxos(filter?: GetSpendableVtxosFilter): Promise<NormalizedExtendedVirtualCoin[]>;
|
|
5197
5265
|
/** @returns Onchain boarding inputs tracked by the wallet. */
|
|
5198
5266
|
getBoardingUtxos(): Promise<ExtendedCoin[]>;
|
|
5267
|
+
/**
|
|
5268
|
+
* Boarding inputs as last cached, with no onchain call: stale or empty until this wallet
|
|
5269
|
+
* instance has fetched them (see `WalletBalance.boarding.loaded`). For display, never coin
|
|
5270
|
+
* selection.
|
|
5271
|
+
*/
|
|
5272
|
+
getStoredBoardingUtxos?(): Promise<ExtendedCoin[]>;
|
|
5199
5273
|
/** @returns Wallet transaction history derived from boarding and Arkade activity. */
|
|
5200
5274
|
getTransactionHistory(): Promise<ArkTransaction[]>;
|
|
5201
5275
|
/** Resolvers that group/label {@link getActivityHistory} rows. */
|
|
@@ -5359,4 +5433,4 @@ declare function isBatchSignable(identity: Identity): identity is BatchSignableI
|
|
|
5359
5433
|
*/
|
|
5360
5434
|
declare function isSigningIdentity(value: unknown): value is Identity;
|
|
5361
5435
|
|
|
5362
|
-
export { type VirtualTx as $, type ArkadeInfo as A, type ExtendedVirtualCoin as B, type ContractRepository as C, type PageResult as D, type ExtendedCoin as E, type ScriptVtxoCursor as F, type GetArkadeInfoOptions as G, type ScriptVtxoPageOptions as H, type IWallet as I, type StoredVtxo as J, type VtxoRepositoryKey as K, type TransactionHistoryPageFilter as L, type TransactionHistoryPageCursor as M, type NormalizedExtendedVirtualCoin as N, type Outpoint as O, type PageRequest as P, type WalletState as Q, type Recipient as R, type SettleParams as S, type TxNotificationEvent as T, type ContractFilter as U, VtxoScript as V, type WalletRepository as W, type IntentRepository as X, type ArkIntent as Y, type IntentPageFilter as Z, type VirtualTxRepository as _, type Identity as a, type
|
|
5436
|
+
export { type VirtualTx as $, type ArkadeInfo as A, type ExtendedVirtualCoin as B, type ContractRepository as C, type PageResult as D, type ExtendedCoin as E, type ScriptVtxoCursor as F, type GetArkadeInfoOptions as G, type ScriptVtxoPageOptions as H, type IWallet as I, type StoredVtxo as J, type VtxoRepositoryKey as K, type TransactionHistoryPageFilter as L, type TransactionHistoryPageCursor as M, type NormalizedExtendedVirtualCoin as N, type Outpoint as O, type PageRequest as P, type WalletState as Q, type Recipient as R, type SettleParams as S, type TxNotificationEvent as T, type ContractFilter as U, VtxoScript as V, type WalletRepository as W, type IntentRepository as X, type ArkIntent as Y, type IntentPageFilter as Z, type VirtualTxRepository as _, type Identity as a, type IssuanceResult as a$, type VtxoBranch as a0, ChainedTxType as a1, type DescriptorProvider as a2, type DescriptorSigningRequest as a3, Transaction as a4, type Network as a5, CSVMultisigTapscript as a6, type BatchStartedEvent as a7, type TreeSigningStartedEvent as a8, TxTree as a9, type SignedIntent as aA, Intent as aB, type TimeHeight as aC, type IntentFeeConfig as aD, type OffchainInput as aE, FeeAmount as aF, type OnchainInput as aG, type FeeOutput as aH, type ContractWatcherConfig as aI, type Asset as aJ, type FeeInfo as aK, type GetVtxosOptions as aL, type PaginationOptions as aM, type CreateContractParams as aN, type GetContractsFilter as aO, type GetSpendablePathsOptions as aP, type GetAllSpendingPathsOptions as aQ, type InputExpiryFloor as aR, type IssuanceParams as aS, type ReissuanceParams as aT, type BurnParams as aU, type RenewVtxosOptions as aV, type NormalizedVtxoPage as aW, type WatchedScript as aX, type PathSelection as aY, type ContractEvent as aZ, type AssetDetails as a_, type TreeNoncesEvent as aa, type BatchFinalizationEvent as ab, type BatchFinalizedEvent as ac, type BatchFailedEvent as ad, type TreeTxEvent as ae, type TreeSignatureEvent as af, type IReadonlyWallet as ag, type ReadonlyIdentity as ah, type OnchainProvider as ai, type DelegateProvider as aj, type ReadonlyWalletConfig as ak, type ExitCaptureMode as al, type ExitDataSource as am, type IReadonlyAssetManager as an, type ContractSyncState as ao, type RecipientArkadeAddressContext as ap, type NetworkName as aq, ArkAddress as ar, type ContractWithVtxos as as, selectPendingRecoveryOutpoints as at, type Coin as au, ContractManager as av, type ContractManagerConfig as aw, type SettlementConfig as ax, VtxoManager as ay, type SignerSession as az, type WalletConfig as b, type MigrateDeprecatedSignerOptions as b$, type DelegateInfo as b0, type MigrationGlobalSkipReason as b1, type MigrationLegSkipReason as b2, type SignerStatus as b3, type StorageConfig as b4, type IVtxoManager as b5, type SendBitcoinParams as b6, type ExplorerTransaction as b7, type TreeNonces as b8, type TreePartialSigs as b9, ContractWatcher as bA, DEFAULT_VTXO_PAGE_SIZE as bB, DelegateManagerImpl as bC, type DelegateOptions as bD, type DeprecatedSignerMigrationReport as bE, type DeprecatedSignerReport as bF, DigestMismatchError as bG, type Discoverable as bH, type DiscoveredContract as bI, type DiscoveryDeps as bJ, ESPLORA_URL as bK, EsploraProvider as bL, type EventSourceCapable as bM, type EventSourceFactory as bN, type EventSourceLike as bO, EventSourceUnavailableError as bP, type ExitChainResolver as bQ, type ExtendedContractVtxo as bR, type GroupMembership as bS, type HandlerError as bT, INTENT_TERMINAL_STATES as bU, IndexerTxType as bV, type IntentCoin as bW, type IntentFilter as bX, type KnownMetadata as bY, MAX_PAGE_SIZE as bZ, MUTINYNET_EMULATOR_PUBKEY as b_, type PendingTx as ba, type EncodedVtxoScript as bb, type Status as bc, type ChainTx as bd, type PathContext as be, type ActivityIntent as bf, type ActivityResolver as bg, type ArkIntentState as bh, type ArkTapscript as bi, type AssetMetadata as bj, BITCOIN_EMULATOR_PUBKEY as bk, type BaseWalletConfig as bl, type BatchInfo as bm, type BatchSignableIdentity as bn, CLTVMultisigTapscript as bo, type CandidateDeps as bp, ChainTxType as bq, type CommitmentTx as br, ConditionCSVMultisigTapscript as bs, ConditionMultisigTapscript as bt, type ContractBalance as bu, type ContractEventCallback as bv, type ContractHandler as bw, type ContractState as bx, type ContractVtxo as by, type ContractVtxoEvent as bz, type ArkadeReader as c, createExitChainResolver as c$, type MigrationLegReport as c0, type MigrationVtxoRef as c1, MultisigTapscript as c2, type NewAddressType as c3, type Nonces as c4, type Output as c5, type PageResponse as c6, PartialSig as c7, type PrevTxSource as c8, PrevTxUnavailableError as c9, type Vtxo as cA, type VtxoChain as cB, type VtxoType as cC, type WalletMode as cD, type WithPrevTx as cE, assertAllowedSighashTypes as cF, assertPageRequest as cG, assertRecipientArkadeAddress as cH, assetMintResolver as cI, attachPrevArkTxs as cJ, attachPrevoutTxs as cK, boardingResolver as cL, canRecoverOnchain as cM, canSpendOffchain as cN, canSweepOnchain as cO, classifyAgainstSignerSet as cP, classifyContractSigner as cQ, collabExitResolver as cR, collectContracts as cS, collectIntents as cT, collectPages as cU, collectScriptVtxos as cV, collectTransactionHistory as cW, collectUtxos as cX, collectVtxos as cY, configureEventSource as cZ, createDefaultActivityRegistry as c_, type ProviderClass as ca, REGTEST_EMULATOR_PUBKEY as cb, type RawTxSource as cc, type RenewalSplit as cd, type RenewalSplitContext as ce, RestDelegateProvider as cf, type ScanContractsOptions as cg, type ScanResult as ch, type ScheduledSession as ci, SettlementEventType as cj, type SignRequest as ck, type SignerClassification as cl, type SignerSet as cm, type SubscriptionEvent as cn, type SubscriptionHeartbeat as co, type SweepTxNotification as cp, type TapLeaves as cq, TapTreeCoder as cr, TapscriptType as cs, type Tx as ct, type TxHistoryRecord as cu, type TxKey as cv, type TxNotification as cw, type TxTag as cx, type TxTreeNode as cy, TxType as cz, type ArkadeBroadcaster as d, decodeTapscript as d0, defaultEmulatorPubkey as d1, getAllNormalizedVtxos as d2, getConfiguredEventSource as d3, getNetwork as d4, getNormalizedVtxos as d5, getRandomId as d6, getSequence as d7, hasCandidates as d8, isBatchSignable as d9, isContractVtxoEvent as da, isCooperativelyMigratable as db, isDiscoverable as dc, isEventSourceUnavailableError as dd, isPastExpiry as de, isSigningIdentity as df, isSubdust as dg, isTerminalIntentState as dh, isVirtualCoin as di, isVtxoExpiringSoon as dj, isVtxoSpent as dk, iteratePages as dl, networkFromArkadeInfo as dm, networks as dn, pageResult as dp, resolveEmulatorPubkey as dq, resolveEventSource as dr, resolvePrevTxs as ds, scriptFromTapLeafScript as dt, signerSetFromInfo as du, toXOnlySignerHex as dv, withPrevTxs as dw, type TapscriptDeriving as dx, type WalletBalance as e, type GetVtxosFilter as f, type GetSpendableVtxosFilter as g, type ArkTransaction as h, ActivityRegistry as i, type Activity as j, type IContractManager as k, type GetNewAddressesOptions as l, type NewAddress as m, type IDelegateManager as n, type SettlementEvent as o, type SendParams as p, type IAssetManager as q, RestArkProvider as r, RestIndexerProvider as s, type SubscriptionResponse as t, type ArkProvider as u, type IndexerProvider as v, type RelativeTimelock as w, type TapLeafScript as x, type VirtualCoin as y, type Contract as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-
|
|
1
|
+
import { bw as ContractHandler, w as RelativeTimelock, bH as Discoverable, V as VtxoScript, x as TapLeafScript, dx as TapscriptDeriving } from './index-BKBoBSKX.js';
|
|
2
|
+
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-DATx5c2o.js';
|
|
3
3
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-
|
|
1
|
+
import { bw as ContractHandler, w as RelativeTimelock, bH as Discoverable, V as VtxoScript, x as TapLeafScript, dx as TapscriptDeriving } from './index-BKBoBSKX.cjs';
|
|
2
|
+
import { D as DefaultVtxo, a as DelegateVtxo } from './delegate-DRoyCz4n.cjs';
|
|
3
3
|
import { Bytes } from '@scure/btc-signer/utils.js';
|
|
4
4
|
|
|
5
5
|
/**
|