@bsv/wallet-toolbox-client 2.6.4 → 2.7.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/out/index.client.cjs +1812 -399
- package/out/index.client.cjs.map +1 -1
- package/out/index.client.d.cts +202 -14
- package/out/index.client.d.cts.map +1 -1
- package/out/index.client.d.mts +202 -14
- package/out/index.client.d.mts.map +1 -1
- package/out/index.client.mjs +1798 -400
- package/out/index.client.mjs.map +1 -1
- package/package.json +3 -3
package/out/index.client.d.mts
CHANGED
|
@@ -200,9 +200,10 @@ declare const specOpWalletManagedUtxos = "284570a6213a74ba861c38b1cf790e1e400d9c
|
|
|
200
200
|
/**
|
|
201
201
|
* `listOutputs` special operation basket name value.
|
|
202
202
|
*
|
|
203
|
-
* Returns currently spendable wallet change outputs
|
|
203
|
+
* Returns currently spendable wallet change outputs conclusively confirmed spent.
|
|
204
|
+
* The operation rejects if any candidate cannot be classified conclusively.
|
|
204
205
|
*
|
|
205
|
-
* Optional tag value 'release'. If present, updates
|
|
206
|
+
* Optional tag value 'release'. If present, atomically updates only confirmed-spent change outputs to not spendable after rechecking current ownership and allocation state.
|
|
206
207
|
*
|
|
207
208
|
* Optional tag value 'all'. If present, processes all spendable true outputs, independent of baskets, but basket must be defined.
|
|
208
209
|
*/
|
|
@@ -1061,7 +1062,8 @@ interface WalletServices {
|
|
|
1061
1062
|
* and ensures that the output's outpoint matches an unspent use of that script.
|
|
1062
1063
|
*
|
|
1063
1064
|
* @param output
|
|
1064
|
-
* @returns true if the output
|
|
1065
|
+
* @returns true if the output is conclusively unspent, or false if it is conclusively spent.
|
|
1066
|
+
* @throws when no provider returns a successful explicit verdict.
|
|
1065
1067
|
*/
|
|
1066
1068
|
isUtxo: (output: TableOutput) => Promise<boolean>;
|
|
1067
1069
|
/**
|
|
@@ -1275,6 +1277,18 @@ interface StatusForTxidResult {
|
|
|
1275
1277
|
* 'unknown' if depth === undefined, txid may be old an purged or never processed.
|
|
1276
1278
|
*/
|
|
1277
1279
|
status: 'mined' | 'known' | 'unknown';
|
|
1280
|
+
/** Provider supplied a durable terminal lifecycle verdict for this txid. */
|
|
1281
|
+
terminal?: boolean;
|
|
1282
|
+
/** The terminal verdict proves this transaction lost an input conflict. */
|
|
1283
|
+
inputConflict?: boolean;
|
|
1284
|
+
/** Provider-native lifecycle status retained for reconciliation/audit. */
|
|
1285
|
+
providerStatus?: string;
|
|
1286
|
+
/** Provider-native status code when supplied. */
|
|
1287
|
+
statusCode?: number;
|
|
1288
|
+
/** Bounded provider detail suitable for durable diagnostics. */
|
|
1289
|
+
description?: string;
|
|
1290
|
+
/** Competing transaction ids reported by the provider. */
|
|
1291
|
+
competingTxs?: string[];
|
|
1278
1292
|
}
|
|
1279
1293
|
/**
|
|
1280
1294
|
* Properties on result returned from `WalletServices` function `getRawTx`.
|
|
@@ -1617,6 +1631,10 @@ interface StorageCapabilities {
|
|
|
1617
1631
|
manifestVersion?: 2;
|
|
1618
1632
|
/** A prepared compact manifest may be committed by its semantic digest. */
|
|
1619
1633
|
commitByDigest?: boolean;
|
|
1634
|
+
/** Expired workspaces can atomically reacquire their exact external inputs. */
|
|
1635
|
+
resume?: boolean;
|
|
1636
|
+
/** Maximum number of persisted outputs one workspace may reserve at once. */
|
|
1637
|
+
maxReservedOutputs?: number;
|
|
1620
1638
|
/** Multiple logical blobs may share one authenticated binary request. */
|
|
1621
1639
|
packedUploads?: {
|
|
1622
1640
|
version: 1;
|
|
@@ -1650,6 +1668,11 @@ interface BeginActionBatchResult {
|
|
|
1650
1668
|
commissionSatoshis: number;
|
|
1651
1669
|
commissionPubKeyHex?: string;
|
|
1652
1670
|
availableChangeCount: number;
|
|
1671
|
+
/** Internal planner policy; absent on older providers, which use defaults. */
|
|
1672
|
+
managedChangePolicy?: {
|
|
1673
|
+
maxOutputsPerAction: number;
|
|
1674
|
+
migrationInputsPerAction: number;
|
|
1675
|
+
};
|
|
1653
1676
|
reservedOutputs: ActionBatchFundingOutput[];
|
|
1654
1677
|
explicitOutputs: ActionBatchFundingOutput[];
|
|
1655
1678
|
inputBeef?: number[] | Uint8Array;
|
|
@@ -1673,6 +1696,15 @@ interface ExtendActionBatchResult {
|
|
|
1673
1696
|
interface RenewActionBatchResult {
|
|
1674
1697
|
expiresAt: string;
|
|
1675
1698
|
}
|
|
1699
|
+
interface ResumeActionBatchArgs {
|
|
1700
|
+
batchId: string;
|
|
1701
|
+
/** Exact persisted outputs still held by the client workspace. */
|
|
1702
|
+
outpoints: Array<{
|
|
1703
|
+
txid: string;
|
|
1704
|
+
vout: number;
|
|
1705
|
+
}>;
|
|
1706
|
+
}
|
|
1707
|
+
interface ResumeActionBatchResult extends RenewActionBatchResult {}
|
|
1676
1708
|
interface ActionBatchCommitMetadata {
|
|
1677
1709
|
description: string;
|
|
1678
1710
|
labels: string[];
|
|
@@ -1786,6 +1818,7 @@ interface WalletStorage {
|
|
|
1786
1818
|
beginActionBatch: (args: BeginActionBatchArgs) => Promise<BeginActionBatchResult>;
|
|
1787
1819
|
extendActionBatch: (args: ExtendActionBatchArgs) => Promise<ExtendActionBatchResult>;
|
|
1788
1820
|
renewActionBatch: (batchId: string) => Promise<RenewActionBatchResult>;
|
|
1821
|
+
resumeActionBatch?: (args: ResumeActionBatchArgs) => Promise<ResumeActionBatchResult>;
|
|
1789
1822
|
prepareActionBatchCommit: (manifest: ActionBatchManifest) => Promise<PrepareActionBatchCommitResult>;
|
|
1790
1823
|
putActionBatchBlob: (args: PutActionBatchBlobArgs) => Promise<void>;
|
|
1791
1824
|
putActionBatchPack?: (args: PutActionBatchPackArgs) => Promise<void>;
|
|
@@ -1866,6 +1899,7 @@ interface WalletStorageWriter extends WalletStorageReader {
|
|
|
1866
1899
|
beginActionBatch: (auth: AuthId, args: BeginActionBatchArgs) => Promise<BeginActionBatchResult>;
|
|
1867
1900
|
extendActionBatch: (auth: AuthId, args: ExtendActionBatchArgs) => Promise<ExtendActionBatchResult>;
|
|
1868
1901
|
renewActionBatch: (auth: AuthId, batchId: string) => Promise<RenewActionBatchResult>;
|
|
1902
|
+
resumeActionBatch?: (auth: AuthId, args: ResumeActionBatchArgs) => Promise<ResumeActionBatchResult>;
|
|
1869
1903
|
prepareActionBatchCommit: (auth: AuthId, manifest: ActionBatchManifest) => Promise<PrepareActionBatchCommitResult>;
|
|
1870
1904
|
putActionBatchBlob: (auth: AuthId, args: PutActionBatchBlobArgs) => Promise<void>;
|
|
1871
1905
|
putActionBatchPack?: (auth: AuthId, args: PutActionBatchPackArgs) => Promise<void>;
|
|
@@ -2332,6 +2366,28 @@ declare class WERR_INTERNAL extends WalletError {
|
|
|
2332
2366
|
declare class WERR_INVALID_OPERATION extends WalletError {
|
|
2333
2367
|
constructor(message?: string);
|
|
2334
2368
|
}
|
|
2369
|
+
/**
|
|
2370
|
+
* A destructive UTXO review could not obtain a conclusive verdict for every
|
|
2371
|
+
* candidate. Consumers can match this name and retry later without parsing the
|
|
2372
|
+
* human-readable message.
|
|
2373
|
+
*/
|
|
2374
|
+
declare class WERR_UTXO_REVIEW_INCONCLUSIVE extends WalletError {
|
|
2375
|
+
checked: number;
|
|
2376
|
+
confirmedSpent: number;
|
|
2377
|
+
unknown: number;
|
|
2378
|
+
constructor(checked: number, confirmedSpent: number, unknown: number);
|
|
2379
|
+
toJson(): string;
|
|
2380
|
+
}
|
|
2381
|
+
type ActionBatchErrorState = 'missing' | 'expired' | 'hard-expired' | 'inactive' | 'conflicted' | 'aborted' | 'committed';
|
|
2382
|
+
/**
|
|
2383
|
+
* An action-batch lifecycle operation cannot continue in the batch's current state.
|
|
2384
|
+
*/
|
|
2385
|
+
declare class WERRActionBatchState extends WalletError {
|
|
2386
|
+
state: ActionBatchErrorState;
|
|
2387
|
+
batchId?: string | undefined;
|
|
2388
|
+
constructor(state: ActionBatchErrorState, batchId?: string | undefined);
|
|
2389
|
+
toJson(): string;
|
|
2390
|
+
}
|
|
2335
2391
|
/**
|
|
2336
2392
|
* Unable to broadcast transaction at this time.
|
|
2337
2393
|
*/
|
|
@@ -2575,7 +2631,7 @@ declare class PrivilegedKeyManager implements ProtoWallet {
|
|
|
2575
2631
|
verifySignature(args: VerifySignatureArgs): Promise<VerifySignatureResult>;
|
|
2576
2632
|
}
|
|
2577
2633
|
declare namespace index_d_exports {
|
|
2578
|
-
export { AbortActionBatchResult, ActionBatchCommitAction, ActionBatchCommitInput, ActionBatchCommitMetadata, ActionBatchCommitPlan, ActionBatchFundingOutput, ActionBatchManifest, ActionBatchPackEncoding, ActionBatchPackItem, AuthId, BaseBlockHeader, BeginActionBatchArgs, BeginActionBatchResult, BlockHeader, BsvExchangeRate, CertOpsWallet, Chain, CommitActionBatchByDigestArgs, CommitActionBatchResult, EntityTimeStamp, ExtendActionBatchArgs, ExtendActionBatchResult, FiatCurrencyCode, FiatExchangeRates, FindCertificateFieldsArgs, FindCertificatesArgs, FindCommissionsArgs, FindForUserSincePagedArgs, FindMonitorEventsArgs, FindOutputBasketsArgs, FindOutputTagMapsArgs, FindOutputTagsArgs, FindOutputsArgs, FindPartialSincePagedArgs, FindProvenTxReqsArgs, FindProvenTxsArgs, FindSincePagedArgs, FindStaleMerkleRootsArgs, FindSyncStatesArgs, FindTransactionsArgs, FindTxLabelMapsArgs, FindTxLabelsArgs, FindUsersArgs, GetMerklePathResult, GetMerklePathService, GetRawTxResult, GetRawTxService, GetScriptHashHistory, GetScriptHashHistoryResult, GetScriptHashHistoryService, GetStatusForTxidsResult, GetStatusForTxidsService, GetUtxoStatusDetails, GetUtxoStatusOutputFormat, GetUtxoStatusResult, GetUtxoStatusService, KeyPair, OutPoint, Paged, PostBeefResult, PostBeefService, PostTxResultForTxid, PostTxResultForTxidError, PostTxsResult, PostTxsService, PrepareActionBatchCommitResult, PrivilegedKeyManager, ProcessSyncChunkResult, ProvenOrRawTx, ProvenTransactionStatus, ProvenTxReqNonTerminalStatus, ProvenTxReqStatus, ProvenTxReqTerminalStatus, ProviderCallHistory, PurgeParams, PurgeResults, PutActionBatchBlobArgs, PutActionBatchPackArgs, RenewActionBatchResult, ReproveHeaderResult, ReproveProvenResult, ReqHistoryNote, RequestSyncChunkArgs, ReviewActionResult, ReviewActionResultStatus, ScriptHashFormat, ScriptTemplateUnlock$1 as ScriptTemplateUnlock, ServiceCall$1 as ServiceCall, ServiceCallHistory, ServiceCallHistoryCounts, ServicesCallHistory, StatusForTxidResult, StorageCapabilities, StorageCreateActionResult, StorageCreateTransactionSdkInput, StorageCreateTransactionSdkOutput, StorageFeeModel, StorageGetBeefOptions, StorageIdentity, StorageInternalizeActionResult, StorageProcessActionArgs, StorageProcessActionResults, StorageProvenOrReq, StorageProvidedBy, StorageSyncReaderOptions, SyncChunk, SyncProtocolVersion, SyncStatus, TransactionStatus, TrxToken, UpdateFiatExchangeRateService, UpdateProvenTxReqWithNewProvenTxArgs, UpdateProvenTxReqWithNewProvenTxResult, Validation$1 as Validation, WERR_BAD_REQUEST, WERR_BROADCAST_UNAVAILABLE, WERR_INSUFFICIENT_FUNDS, WERR_INTERNAL, WERR_INVALID_MERKLE_ROOT, WERR_INVALID_OPERATION, WERR_INVALID_PARAMETER, WERR_INVALID_PUBLIC_KEY, WERR_MISSING_PARAMETER, WERR_NETWORK_CHAIN, WERR_NOT_ACTIVE, WERR_NOT_IMPLEMENTED, WERR_REVIEW_ACTIONS, WERR_UNAUTHORIZED, WalletBalance, WalletError, WalletErrorFromJson, WalletServices, WalletServicesOptions, WalletSigner$1 as WalletSigner, WalletStorage, WalletStorageInfo, WalletStorageProvider, WalletStorageReader, WalletStorageSync, WalletStorageSyncReader, WalletStorageWriter, isCreateActionSpecOp, isListActionsSpecOp, isListOutputsSpecOp, specOpFailedActions, specOpInvalidChange, specOpNoSendActions, specOpSetWalletChangeParams, specOpThrowReviewActions, specOpWalletBalance, specOpWalletManagedUtxos };
|
|
2634
|
+
export { AbortActionBatchResult, ActionBatchCommitAction, ActionBatchCommitInput, ActionBatchCommitMetadata, ActionBatchCommitPlan, ActionBatchErrorState, ActionBatchFundingOutput, ActionBatchManifest, ActionBatchPackEncoding, ActionBatchPackItem, AuthId, BaseBlockHeader, BeginActionBatchArgs, BeginActionBatchResult, BlockHeader, BsvExchangeRate, CertOpsWallet, Chain, CommitActionBatchByDigestArgs, CommitActionBatchResult, EntityTimeStamp, ExtendActionBatchArgs, ExtendActionBatchResult, FiatCurrencyCode, FiatExchangeRates, FindCertificateFieldsArgs, FindCertificatesArgs, FindCommissionsArgs, FindForUserSincePagedArgs, FindMonitorEventsArgs, FindOutputBasketsArgs, FindOutputTagMapsArgs, FindOutputTagsArgs, FindOutputsArgs, FindPartialSincePagedArgs, FindProvenTxReqsArgs, FindProvenTxsArgs, FindSincePagedArgs, FindStaleMerkleRootsArgs, FindSyncStatesArgs, FindTransactionsArgs, FindTxLabelMapsArgs, FindTxLabelsArgs, FindUsersArgs, GetMerklePathResult, GetMerklePathService, GetRawTxResult, GetRawTxService, GetScriptHashHistory, GetScriptHashHistoryResult, GetScriptHashHistoryService, GetStatusForTxidsResult, GetStatusForTxidsService, GetUtxoStatusDetails, GetUtxoStatusOutputFormat, GetUtxoStatusResult, GetUtxoStatusService, KeyPair, OutPoint, Paged, PostBeefResult, PostBeefService, PostTxResultForTxid, PostTxResultForTxidError, PostTxsResult, PostTxsService, PrepareActionBatchCommitResult, PrivilegedKeyManager, ProcessSyncChunkResult, ProvenOrRawTx, ProvenTransactionStatus, ProvenTxReqNonTerminalStatus, ProvenTxReqStatus, ProvenTxReqTerminalStatus, ProviderCallHistory, PurgeParams, PurgeResults, PutActionBatchBlobArgs, PutActionBatchPackArgs, RenewActionBatchResult, ReproveHeaderResult, ReproveProvenResult, ReqHistoryNote, RequestSyncChunkArgs, ResumeActionBatchArgs, ResumeActionBatchResult, ReviewActionResult, ReviewActionResultStatus, ScriptHashFormat, ScriptTemplateUnlock$1 as ScriptTemplateUnlock, ServiceCall$1 as ServiceCall, ServiceCallHistory, ServiceCallHistoryCounts, ServicesCallHistory, StatusForTxidResult, StorageCapabilities, StorageCreateActionResult, StorageCreateTransactionSdkInput, StorageCreateTransactionSdkOutput, StorageFeeModel, StorageGetBeefOptions, StorageIdentity, StorageInternalizeActionResult, StorageProcessActionArgs, StorageProcessActionResults, StorageProvenOrReq, StorageProvidedBy, StorageSyncReaderOptions, SyncChunk, SyncProtocolVersion, SyncStatus, TransactionStatus, TrxToken, UpdateFiatExchangeRateService, UpdateProvenTxReqWithNewProvenTxArgs, UpdateProvenTxReqWithNewProvenTxResult, Validation$1 as Validation, WERRActionBatchState as WERR_ACTION_BATCH_STATE, WERR_BAD_REQUEST, WERR_BROADCAST_UNAVAILABLE, WERR_INSUFFICIENT_FUNDS, WERR_INTERNAL, WERR_INVALID_MERKLE_ROOT, WERR_INVALID_OPERATION, WERR_INVALID_PARAMETER, WERR_INVALID_PUBLIC_KEY, WERR_MISSING_PARAMETER, WERR_NETWORK_CHAIN, WERR_NOT_ACTIVE, WERR_NOT_IMPLEMENTED, WERR_REVIEW_ACTIONS, WERR_UNAUTHORIZED, WERR_UTXO_REVIEW_INCONCLUSIVE, WalletBalance, WalletError, WalletErrorFromJson, WalletServices, WalletServicesOptions, WalletSigner$1 as WalletSigner, WalletStorage, WalletStorageInfo, WalletStorageProvider, WalletStorageReader, WalletStorageSync, WalletStorageSyncReader, WalletStorageWriter, isCreateActionSpecOp, isListActionsSpecOp, isListOutputsSpecOp, specOpFailedActions, specOpInvalidChange, specOpNoSendActions, specOpSetWalletChangeParams, specOpThrowReviewActions, specOpWalletBalance, specOpWalletManagedUtxos };
|
|
2579
2635
|
}
|
|
2580
2636
|
//#endregion
|
|
2581
2637
|
//#region ../src/utility/stampLog.d.ts
|
|
@@ -2653,7 +2709,7 @@ declare function toWalletNetwork(chain: Chain): WalletNetwork;
|
|
|
2653
2709
|
* Maps a Chain to a network preset suitable for LookupResolver / SHIPBroadcaster.
|
|
2654
2710
|
* Unlike `toWalletNetwork`, this returns `'local'` for `mock` chain.
|
|
2655
2711
|
*/
|
|
2656
|
-
declare function toLookupNetworkPreset(chain: Chain): 'mainnet' | 'testnet' | 'local';
|
|
2712
|
+
declare function toLookupNetworkPreset(chain: Chain): 'mainnet' | 'testnet' | 'teratestnet' | 'local';
|
|
2657
2713
|
declare function makeAtomicBeef(tx: Transaction, beef: number[] | Beef): number[];
|
|
2658
2714
|
/**
|
|
2659
2715
|
* Coerce a bsv transaction encoded as a hex string, serialized array, or Transaction to Transaction
|
|
@@ -2827,6 +2883,28 @@ interface ParsedBrc114ActionTimeLabels {
|
|
|
2827
2883
|
declare function parseBrc114ActionTimeLabels(labels: string[] | undefined): ParsedBrc114ActionTimeLabels;
|
|
2828
2884
|
declare function makeBrc114ActionTimeLabel(unixMillis: number): string;
|
|
2829
2885
|
//#endregion
|
|
2886
|
+
//#region ../src/utility/brc153ReferenceLabels.d.ts
|
|
2887
|
+
declare const BRC153_REFERENCE_PREFIX = "reference ";
|
|
2888
|
+
/**
|
|
2889
|
+
* Build the BRC-153 synthetic listActions label for an action reference.
|
|
2890
|
+
* Encodes reference bytes as lowercase hex (labels are lowercased by validation).
|
|
2891
|
+
*/
|
|
2892
|
+
declare function makeBrc153ReferenceLabel(referenceBase64: string): string;
|
|
2893
|
+
/**
|
|
2894
|
+
* True iff the label uses the reserved BRC-153 reference prefix.
|
|
2895
|
+
*/
|
|
2896
|
+
declare function isBrc153ReferenceLabel(label: string): boolean;
|
|
2897
|
+
/**
|
|
2898
|
+
* Ensure labels contain exactly one wallet-authored `reference <hex>`.
|
|
2899
|
+
* Any existing reserved-prefix labels are replaced.
|
|
2900
|
+
*/
|
|
2901
|
+
declare function applyBrc153ReferenceLabel(labels: string[], referenceBase64: string): string[];
|
|
2902
|
+
/**
|
|
2903
|
+
* Parse a BRC-153 synthetic reference label back to the BRC-100 Base64String reference.
|
|
2904
|
+
* Returns undefined if the label is not a valid reference label.
|
|
2905
|
+
*/
|
|
2906
|
+
declare function parseBrc153ReferenceLabel(label: string): string | undefined;
|
|
2907
|
+
//#endregion
|
|
2830
2908
|
//#region ../src/storage/schema/entities/EntityBase.d.ts
|
|
2831
2909
|
type EntityStorage = StorageProvider;
|
|
2832
2910
|
declare abstract class EntityBase<T> {
|
|
@@ -3888,7 +3966,58 @@ declare abstract class StorageReaderWriter extends StorageReader {
|
|
|
3888
3966
|
interface StorageReaderWriterOptions extends StorageReaderOptions {}
|
|
3889
3967
|
//#endregion
|
|
3890
3968
|
//#region ../src/storage/methods/availableManagedChange.d.ts
|
|
3891
|
-
type ManagedChangeInputCandidate = Pick<TableOutput, 'outputId' | 'transactionId' | 'satoshis' | 'txid' | 'vout'
|
|
3969
|
+
type ManagedChangeInputCandidate = Pick<TableOutput, 'outputId' | 'transactionId' | 'satoshis' | 'txid' | 'vout'> & {
|
|
3970
|
+
/**
|
|
3971
|
+
* Additive ancestry metadata. Older custom providers may omit it; the
|
|
3972
|
+
* planner resolves a missing value through the provider's transaction API.
|
|
3973
|
+
*/
|
|
3974
|
+
transactionStatus?: TransactionStatus;
|
|
3975
|
+
};
|
|
3976
|
+
//#endregion
|
|
3977
|
+
//#region ../src/storage/methods/managedChangePolicy.d.ts
|
|
3978
|
+
/** Historical default retained only to identify untouched wallet baskets. */
|
|
3979
|
+
declare const LEGACY_MANAGED_CHANGE_MINIMUM_SATOSHIS = 32;
|
|
3980
|
+
/**
|
|
3981
|
+
* Default liquidity policy for wallet-managed change.
|
|
3982
|
+
*
|
|
3983
|
+
* The preferred minimum is deliberately much larger than the dust threshold.
|
|
3984
|
+
* Dust answers "can this output ever be spent economically?"; this value
|
|
3985
|
+
* answers "is this output useful as an independently selectable liquidity
|
|
3986
|
+
* unit at contemporary fee rates?".
|
|
3987
|
+
*/
|
|
3988
|
+
declare const DEFAULT_MANAGED_CHANGE_TARGET_UTXOS = 144;
|
|
3989
|
+
declare const DEFAULT_MANAGED_CHANGE_MINIMUM_SATOSHIS = 5000;
|
|
3990
|
+
declare const DEFAULT_MANAGED_CHANGE_MAX_OUTPUTS_PER_ACTION = 8;
|
|
3991
|
+
declare const DEFAULT_MANAGED_CHANGE_MIGRATION_INPUTS_PER_ACTION = 4;
|
|
3992
|
+
declare const DEFAULT_MANAGED_CHANGE_PENDING_COMPARISON_INPUTS = 16;
|
|
3993
|
+
interface ManagedChangePolicy {
|
|
3994
|
+
/** Maximum change outputs created by one action while growing the pool; -1 is unlimited. */
|
|
3995
|
+
maxOutputsPerAction: number;
|
|
3996
|
+
/** Maximum undersized, fee-positive inputs consumed only to improve the pool; -1 is unlimited. */
|
|
3997
|
+
migrationInputsPerAction: number;
|
|
3998
|
+
/**
|
|
3999
|
+
* A completed-only plan above this input count is compared with pending
|
|
4000
|
+
* alternatives using exact BEEF bytes. This is a comparison trigger, never
|
|
4001
|
+
* a funding limit. -1 disables pending comparison until settled funding is
|
|
4002
|
+
* actually insufficient.
|
|
4003
|
+
*/
|
|
4004
|
+
pendingComparisonInputs: number;
|
|
4005
|
+
}
|
|
4006
|
+
type ManagedChangePolicyOptions = Partial<ManagedChangePolicy>;
|
|
4007
|
+
interface ManagedChangeBasketDefaults {
|
|
4008
|
+
name: string;
|
|
4009
|
+
numberOfDesiredUTXOs: number;
|
|
4010
|
+
minimumDesiredUTXOValue: number;
|
|
4011
|
+
}
|
|
4012
|
+
/** True only for the exact historical default that is safe to auto-upgrade. */
|
|
4013
|
+
declare function isLegacyManagedChangeBasketDefault(basket: ManagedChangeBasketDefaults): boolean;
|
|
4014
|
+
/**
|
|
4015
|
+
* Normalize a legacy default while retaining every other field and every
|
|
4016
|
+
* operator-selected non-default value. Used by migrations, sync, and restore.
|
|
4017
|
+
*/
|
|
4018
|
+
declare function upgradeLegacyManagedChangeBasketDefault<T extends ManagedChangeBasketDefaults>(basket: T): T;
|
|
4019
|
+
declare function defaultManagedChangePolicy(): ManagedChangePolicy;
|
|
4020
|
+
declare function validateManagedChangePolicy(options?: ManagedChangePolicyOptions): ManagedChangePolicy;
|
|
3892
4021
|
//#endregion
|
|
3893
4022
|
//#region ../src/storage/StorageProvider.d.ts
|
|
3894
4023
|
declare abstract class StorageProvider extends StorageReaderWriter implements WalletStorageProvider {
|
|
@@ -3898,11 +4027,15 @@ declare abstract class StorageProvider extends StorageReaderWriter implements Wa
|
|
|
3898
4027
|
commissionSatoshis: number;
|
|
3899
4028
|
commissionPubKeyHex?: PubKeyHex;
|
|
3900
4029
|
maxRecursionDepth?: number;
|
|
4030
|
+
readonly actionBatchMaxReservedOutputs: number;
|
|
4031
|
+
readonly managedChangePolicy: ManagedChangePolicy;
|
|
3901
4032
|
readonly scriptVerifier?: SpendVerifierInterface;
|
|
3902
4033
|
static defaultOptions(): {
|
|
3903
4034
|
feeModel: StorageFeeModel;
|
|
3904
4035
|
commissionSatoshis: number;
|
|
3905
4036
|
commissionPubKeyHex: undefined;
|
|
4037
|
+
actionBatchMaxReservedOutputs: number;
|
|
4038
|
+
managedChangePolicy: ManagedChangePolicy;
|
|
3906
4039
|
};
|
|
3907
4040
|
static createStorageBaseOptions(chain: Chain): StorageProviderOptions;
|
|
3908
4041
|
constructor(options: StorageProviderOptions);
|
|
@@ -3968,6 +4101,7 @@ declare abstract class StorageProvider extends StorageReaderWriter implements Wa
|
|
|
3968
4101
|
beginActionBatch(auth: AuthId, args: BeginActionBatchArgs): Promise<BeginActionBatchResult>;
|
|
3969
4102
|
extendActionBatch(auth: AuthId, args: ExtendActionBatchArgs): Promise<ExtendActionBatchResult>;
|
|
3970
4103
|
renewActionBatch(auth: AuthId, batchId: string): Promise<RenewActionBatchResult>;
|
|
4104
|
+
resumeActionBatch(auth: AuthId, args: ResumeActionBatchArgs): Promise<ResumeActionBatchResult>;
|
|
3971
4105
|
prepareActionBatchCommit(auth: AuthId, manifest: ActionBatchManifest): Promise<PrepareActionBatchCommitResult>;
|
|
3972
4106
|
putActionBatchBlob(auth: AuthId, args: PutActionBatchBlobArgs): Promise<void>;
|
|
3973
4107
|
putActionBatchPack(auth: AuthId, args: PutActionBatchPackArgs): Promise<void>;
|
|
@@ -4125,7 +4259,6 @@ declare abstract class StorageProvider extends StorageReaderWriter implements Wa
|
|
|
4125
4259
|
confirmSpendableOutputs(): Promise<{
|
|
4126
4260
|
invalidSpendableOutputs: TableOutput[];
|
|
4127
4261
|
}>;
|
|
4128
|
-
private checkOutputIsUtxo;
|
|
4129
4262
|
updateProvenTxReqDynamics(id: number, update: Partial<TableProvenTxReqDynamics>, trx?: TrxToken): Promise<number>;
|
|
4130
4263
|
extendOutput(o: TableOutput, includeBasket?: boolean, includeTags?: boolean, trx?: TrxToken): Promise<TableOutputX>;
|
|
4131
4264
|
validateOutputScript(o: TableOutput, trx?: TrxToken): Promise<void>;
|
|
@@ -4149,6 +4282,17 @@ interface StorageProviderOptions extends StorageReaderWriterOptions {
|
|
|
4149
4282
|
* Toolbox extension leaves the BRC-100 wallet interface unchanged.
|
|
4150
4283
|
*/
|
|
4151
4284
|
scriptVerifier?: SpendVerifierInterface;
|
|
4285
|
+
/**
|
|
4286
|
+
* Maximum persisted outputs one action-batch workspace may reserve.
|
|
4287
|
+
* Defaults to 256; -1 disables this cumulative provider limit.
|
|
4288
|
+
*/
|
|
4289
|
+
actionBatchMaxReservedOutputs?: number;
|
|
4290
|
+
/**
|
|
4291
|
+
* Optional wallet-managed liquidity tuning. Values are soft shaping and
|
|
4292
|
+
* comparison budgets; none can prevent an otherwise fundable action. Each
|
|
4293
|
+
* limit accepts -1 for an explicit operator-selected unlimited mode.
|
|
4294
|
+
*/
|
|
4295
|
+
managedChangePolicy?: ManagedChangePolicyOptions;
|
|
4152
4296
|
}
|
|
4153
4297
|
declare function validateStorageFeeModel(v?: StorageFeeModel): StorageFeeModel;
|
|
4154
4298
|
interface StorageAdminStats {
|
|
@@ -4377,6 +4521,7 @@ declare class WalletStorageManager implements WalletStorage {
|
|
|
4377
4521
|
beginActionBatch(args: BeginActionBatchArgs): Promise<BeginActionBatchResult>;
|
|
4378
4522
|
extendActionBatch(args: ExtendActionBatchArgs): Promise<ExtendActionBatchResult>;
|
|
4379
4523
|
renewActionBatch(batchId: string): Promise<RenewActionBatchResult>;
|
|
4524
|
+
resumeActionBatch(args: ResumeActionBatchArgs): Promise<ResumeActionBatchResult>;
|
|
4380
4525
|
prepareActionBatchCommit(manifest: ActionBatchManifest): Promise<PrepareActionBatchCommitResult>;
|
|
4381
4526
|
putActionBatchBlob(args: PutActionBatchBlobArgs): Promise<void>;
|
|
4382
4527
|
putActionBatchPack(args: PutActionBatchPackArgs): Promise<void>;
|
|
@@ -4438,6 +4583,17 @@ declare class WalletStorageManager implements WalletStorage {
|
|
|
4438
4583
|
* @param storageIdentityKey of current backup storage provider that is to become the new active provider.
|
|
4439
4584
|
*/
|
|
4440
4585
|
setActive(storageIdentityKey: string, progLog?: (s: string) => string): Promise<string>;
|
|
4586
|
+
/**
|
|
4587
|
+
* Return the remote HTTP(S) endpoint for a managed store, if any.
|
|
4588
|
+
*
|
|
4589
|
+
* Duck-types `endpointUrl` on the provider (as set by `StorageClientBase`).
|
|
4590
|
+
* Do **not** key this off `constructor.name === 'StorageClient'`: production
|
|
4591
|
+
* minifiers (Vite/esbuild/webpack) rename classes, so that check fails and
|
|
4592
|
+
* every remote store reports `endpointURL: undefined` even though the URL is
|
|
4593
|
+
* present. Consumers that match backups by URL (e.g. making a remote store
|
|
4594
|
+
* primary) then fail while sync still works, because sync walks `_backups`
|
|
4595
|
+
* without needing `endpointURL`.
|
|
4596
|
+
*/
|
|
4441
4597
|
getStoreEndpointURL(store: ManagedStorage): string | undefined;
|
|
4442
4598
|
getStores(): WalletStorageInfo[];
|
|
4443
4599
|
}
|
|
@@ -4616,6 +4772,7 @@ interface StorageIdbOptions extends StorageProviderOptions {}
|
|
|
4616
4772
|
declare class StorageIdb extends StorageProvider implements WalletStorageProvider {
|
|
4617
4773
|
dbName: string;
|
|
4618
4774
|
db?: IDBPDatabase<StorageIdbSchema>;
|
|
4775
|
+
private managedChangeDefaultsMigrated;
|
|
4619
4776
|
constructor(options: StorageIdbOptions);
|
|
4620
4777
|
protected supportsActionBatchPersistence(): boolean;
|
|
4621
4778
|
protected requiresActionBatchCleanupBeforeCreateAction(): boolean;
|
|
@@ -4658,6 +4815,7 @@ declare class StorageIdb extends StorageProvider implements WalletStorageProvide
|
|
|
4658
4815
|
*/
|
|
4659
4816
|
readSettings(_trx?: TrxToken): Promise<TableSettings>;
|
|
4660
4817
|
initDB(storageName?: string, storageIdentityKey?: string): Promise<IDBPDatabase<StorageIdbSchema>>;
|
|
4818
|
+
private migrateManagedChangeDefaults;
|
|
4661
4819
|
reviewStatus(args: {
|
|
4662
4820
|
agedLimit: Date;
|
|
4663
4821
|
trx?: TrxToken;
|
|
@@ -4992,6 +5150,7 @@ declare abstract class StorageClientBase implements WalletStorageProvider {
|
|
|
4992
5150
|
beginActionBatch(auth: AuthId, args: BeginActionBatchArgs): Promise<BeginActionBatchResult>;
|
|
4993
5151
|
extendActionBatch(auth: AuthId, args: ExtendActionBatchArgs): Promise<ExtendActionBatchResult>;
|
|
4994
5152
|
renewActionBatch(auth: AuthId, batchId: string): Promise<RenewActionBatchResult>;
|
|
5153
|
+
resumeActionBatch(auth: AuthId, args: ResumeActionBatchArgs): Promise<ResumeActionBatchResult>;
|
|
4995
5154
|
prepareActionBatchCommit(auth: AuthId, manifest: ActionBatchManifest): Promise<PrepareActionBatchCommitResult>;
|
|
4996
5155
|
putActionBatchBlob(auth: AuthId, args: PutActionBatchBlobArgs): Promise<void>;
|
|
4997
5156
|
putActionBatchPack(_auth: AuthId, args: PutActionBatchPackArgs): Promise<void>;
|
|
@@ -6968,6 +7127,15 @@ declare class Arcade {
|
|
|
6968
7127
|
postBeef(beef: Beef, txids: string[]): Promise<PostBeefResult>;
|
|
6969
7128
|
/** Look up a transaction's current status (and merkle path once mined) via `GET /tx/{txid}`. */
|
|
6970
7129
|
getTxData(txid: string): Promise<ArcMinerGetTxData>;
|
|
7130
|
+
/**
|
|
7131
|
+
* Adapt Arcade's lifecycle endpoint to the shared transaction-status
|
|
7132
|
+
* provider contract. This lets monitor reconciliation remain operational
|
|
7133
|
+
* when an explorer such as WhatsOnChain is absent. Only network-observed
|
|
7134
|
+
* states count as known; RECEIVED/PENDING_RETRY and terminal rejection
|
|
7135
|
+
* states remain unknown, while MINED/IMMUTABLE are authoritative mined
|
|
7136
|
+
* observations whose proof is validated separately.
|
|
7137
|
+
*/
|
|
7138
|
+
getStatusForTxids(txids: string[]): Promise<GetStatusForTxidsResult>;
|
|
6971
7139
|
/**
|
|
6972
7140
|
* `getMerklePath` provider: obtain a BUMP merkle proof for a mined transaction from Arcade.
|
|
6973
7141
|
*
|
|
@@ -8347,6 +8515,8 @@ declare class ActionBatchController {
|
|
|
8347
8515
|
private runExclusive;
|
|
8348
8516
|
private negotiate;
|
|
8349
8517
|
private begin;
|
|
8518
|
+
private retire;
|
|
8519
|
+
private recover;
|
|
8350
8520
|
plan(args: Validation.ValidCreateActionArgs): Promise<StorageCreateActionResult | undefined>;
|
|
8351
8521
|
process(prior: PendingSignAction | undefined, args: Validation.ValidProcessActionArgs): Promise<StorageProcessActionResults | undefined>;
|
|
8352
8522
|
ownsReference(reference: string): boolean;
|
|
@@ -8570,14 +8740,15 @@ declare class Wallet implements WalletInterface, ProtoWallet {
|
|
|
8570
8740
|
balance(args?: ListOutputsArgs): Promise<number>;
|
|
8571
8741
|
/**
|
|
8572
8742
|
* Uses `listOutputs` special operation to review the spendability via `Services` of
|
|
8573
|
-
* outputs currently considered spendable. Returns
|
|
8743
|
+
* outputs currently considered spendable. Returns only outputs conclusively
|
|
8744
|
+
* confirmed spent. Rejects the review if any provider result is inconclusive.
|
|
8574
8745
|
*
|
|
8575
8746
|
* Ignores the `limit` and `offset` properties.
|
|
8576
8747
|
*
|
|
8577
8748
|
* @param all Defaults to false. If false, only change outputs ('default' basket) are reviewed. If true, all spendable outputs are reviewed.
|
|
8578
|
-
* @param release Defaults to false. If true, sets
|
|
8749
|
+
* @param release Defaults to false. If true, atomically sets conclusively spent outputs to un-spendable (spendable: false). No outputs change if any candidate is inconclusive.
|
|
8579
8750
|
* @param optionalArgs Optional. Additional tags will constrain the outputs processed.
|
|
8580
|
-
* @returns outputs
|
|
8751
|
+
* @returns outputs previously considered spendable but conclusively confirmed spent.
|
|
8581
8752
|
*/
|
|
8582
8753
|
reviewSpendableOutputs(all?: boolean, release?: boolean, optionalArgs?: Partial<ListOutputsArgs>): Promise<ListOutputsResult>;
|
|
8583
8754
|
/**
|
|
@@ -8713,6 +8884,8 @@ interface SetupClientWalletArgs {
|
|
|
8713
8884
|
* storage validation. This does not alter the BRC-100 interface.
|
|
8714
8885
|
*/
|
|
8715
8886
|
scriptVerifier?: SpendVerifierInterface;
|
|
8887
|
+
/** Optional operator tuning for local wallet-managed liquidity shaping. */
|
|
8888
|
+
managedChangePolicy?: ManagedChangePolicyOptions;
|
|
8716
8889
|
}
|
|
8717
8890
|
/**
|
|
8718
8891
|
* Extension `SetupWalletClient` of `SetupWallet` is returned by `createWalletClient`
|
|
@@ -8826,6 +8999,8 @@ declare abstract class SetupClient {
|
|
|
8826
8999
|
*/
|
|
8827
9000
|
interface SetupWalletIdbArgs extends SetupClientWalletArgs {
|
|
8828
9001
|
databaseName: string;
|
|
9002
|
+
/** Optional operator tuning for wallet-managed liquidity shaping. */
|
|
9003
|
+
managedChangePolicy?: ManagedChangePolicyOptions;
|
|
8829
9004
|
}
|
|
8830
9005
|
/**
|
|
8831
9006
|
*
|
|
@@ -9449,13 +9624,26 @@ declare class CWIStyleWalletManager implements WalletInterface {
|
|
|
9449
9624
|
/**
|
|
9450
9625
|
* Returns the credential-free default ChainTracks client for a supported
|
|
9451
9626
|
* public network, or an operator-configured client for stn/tstn.
|
|
9627
|
+
*
|
|
9628
|
+
* BROWSER RUNTIMES get the legacy CORS-enabled Chaintracks service for
|
|
9629
|
+
* main/test. The Go Chaintracks deployments (`arcade-v2-*.bsvblockchain.tech`)
|
|
9630
|
+
* currently serve no `Access-Control-Allow-Origin` header and answer OPTIONS
|
|
9631
|
+
* preflights with 404 (verified live 2026-08-11), so every fetch from a
|
|
9632
|
+
* browser-hosted wallet is CORS-blocked (WebKit surfaces it as
|
|
9633
|
+
* `TypeError: Load failed`) and the wallet loses `getHeight`, headers and
|
|
9634
|
+
* merkle-root validation wholesale. The repository service contract
|
|
9635
|
+
* (AGENTS.md: "browser, mobile, and unknown-domain clients must not be
|
|
9636
|
+
* silently blocked by CORS") requires a default that browsers can actually
|
|
9637
|
+
* reach. Once the Go deployments serve CORS (and a browser-run conformance
|
|
9638
|
+
* check proves it), this branch can be removed and browsers can share the v2
|
|
9639
|
+
* default. Node runtimes are unchanged.
|
|
9452
9640
|
*/
|
|
9453
9641
|
declare function createDefaultChaintracksClient(chain: Exclude<Chain, 'mock'>): ChaintracksClientApi;
|
|
9454
9642
|
declare function createDefaultWalletServicesOptions(...[chain, arcCallbackUrl, arcCallbackToken, taalArcApiKey, gorillaPoolArcApiKey, bitailsApiKey, deploymentId, chaintracks, arcadeUrl, arcadeApiKey, arcadeCallbackToken]: [chain: Chain, arcCallbackUrl?: string, arcCallbackToken?: string, taalArcApiKey?: string, gorillaPoolArcApiKey?: string, bitailsApiKey?: string, deploymentId?: string, chaintracks?: ChaintracksClientApi,
|
|
9455
9643
|
/**
|
|
9456
|
-
* Optional Arcade endpoint.
|
|
9457
|
-
*
|
|
9458
|
-
* Pass an empty string to explicitly disable the
|
|
9644
|
+
* Optional Arcade endpoint. TTN uses its public Arcade endpoint by default; other
|
|
9645
|
+
* chains remain opt-in. Arcade is registered as the primary broadcaster ahead of ARC.
|
|
9646
|
+
* Pass an empty string to explicitly disable the TTN default.
|
|
9459
9647
|
*/
|
|
9460
9648
|
arcadeUrl?: string,
|
|
9461
9649
|
/** Server-level API key (Bearer) for the Arcade endpoint, if it requires auth. */
|
|
@@ -10970,5 +11158,5 @@ declare class WalletPermissionsManager implements WalletInterface {
|
|
|
10970
11158
|
private buildActiveRequestKey;
|
|
10971
11159
|
}
|
|
10972
11160
|
//#endregion
|
|
10973
|
-
export { ARGON2ID_DEFAULT_HASH_LENGTH, ARGON2ID_DEFAULT_ITERATIONS, ARGON2ID_DEFAULT_MEMORY_KIB, ARGON2ID_DEFAULT_PARALLELISM, ARGON2ID_MAX_ITERATIONS, ARGON2ID_MAX_MEMORY_KIB, ARGON2ID_MAX_PARALLELISM, ActionBatchStatus, AdminStatsResult, AnyBlockHeader, AuthMethodInteractor, AuthPayload, BHServiceClient, BRC38ImportOptions, BRC38ImportResult, BRC38Tables, BRC38WalletData, BRC39Options, type BaseBlockHeader, type BlockHeader, BulkFileDataManager, BulkFileDataManagerMergeResult, BulkFileDataManagerOptions, BulkFileDataReader, BulkFilesReader, BulkFilesReaderFs, BulkFilesReaderStorage, BulkIngestorApi, BulkIngestorBase, BulkIngestorBaseOptions, BulkIngestorCDN, BulkIngestorCDNBabbage, BulkIngestorCDNOptions, BulkIngestorChaintracks, BulkIngestorChaintracksOptions, BulkIngestorWhatsOnChainCdn, BulkIngestorWhatsOnChainOptions, BulkStorageApi, BulkStorageBase, BulkStorageBaseOptions, BulkSyncResult, ByteEncoding, ByteInput, CWIStyleWalletManager, Certifier, type Chain, Chaintracks, ChaintracksApi, ChaintracksAppendableFileApi, ChaintracksArgumentsTail, ChaintracksChainTracker, ChaintracksChainTrackerOptions, ChaintracksClientApi, ChaintracksFetch, ChaintracksFetchApi, ChaintracksFetchError, ChaintracksFsApi, ChaintracksInfoApi, ChaintracksIngestorParams, ChaintracksManagementApi, ChaintracksOptions, ChaintracksPackageInfoApi, ChaintracksReadableFileApi, ChaintracksServiceClient, ChaintracksServiceClientOptions, ChaintracksSourceOptions, ChaintracksSourceStatusApi, ChaintracksStorageApi, ChaintracksStorageBase, ChaintracksStorageBaseOptions, ChaintracksStorageBulkFileApi, ChaintracksStorageIdb, ChaintracksStorageIdbOptions, ChaintracksStorageIdbSchema, ChaintracksStorageIngestApi, ChaintracksStorageNoDb, ChaintracksStorageNoDbOptions, ChaintracksStorageQueryApi, ChaintracksWritableFileApi, CompleteAuthResponse, ContactRecord, ContactSource, CounterpartyPermissionEventHandler, CounterpartyPermissionRequest, CounterpartyPermissions, CreatedChaintracks, DEFAULT_PROFILE_ID, DEFAULT_SETTINGS, DeactivedHeader, DefaultChaintracksArguments, DevConsoleInteractor, EnqueueHandler, EntityBase, EntityCertificate, EntityCertificateField, EntityCommission, EntityOutput, EntityOutputBasket, EntityOutputTag, EntityOutputTagMap, EntityProvenTx, EntityProvenTxReq, EntityStorage, EntitySyncMap, EntitySyncState, EntityTransaction, EntityTxLabel, EntityTxLabelMap, EntityUser, ErrorHandler, GetHeaderByteFileLinksResult, GoChaintracksServiceClient, GoChaintracksServiceClientOptions, GroupedPermissionEventHandler, GroupedPermissionRequest, GroupedPermissions, HeaderListener, HeightRange, HeightRangeApi, HeightRanges, InsertHeaderResult, KDF_MAX_HASH_LENGTH, KdfConfig, KeyPairAddress, LineItemType, ListActionsSpecOp, ListOutputsSpecOp, LiveBlockHeader, LiveIngestorApi, LiveIngestorBase, LiveIngestorBaseOptions, LiveIngestorChaintracksSSE, LiveIngestorChaintracksSSEOptions, LiveIngestorWhatsOnChainOptions, LiveIngestorWhatsOnChainPoll, MAX_STATE_SNAPSHOT_BYTES, MergeEntity, Monitor, MonitorOptions, MonitorStartupTaskMode, MonitorStorage, OverlayUMPTokenInteractor, PBKDF2_MAX_ITERATIONS, PBKDF2_NUM_ROUNDS, ParsedBrc114ActionTimeLabels, PendingSignAction, PendingStorageInput, PermissionEventHandler, PermissionRequest, PermissionToken, PermissionsManagerConfig, PermissionsModule, PersonaIDInteractor, PrivilegedKeyManager, Profile, ProvenTxFromTxidResult, ProvenTxReqHistory, ProvenTxReqHistorySummaryApi, ProvenTxReqNotify, ReorgListener, ResolvedDefaultChaintracksParams, ScriptTemplateBRC29, ScriptTemplateParamsBRC29, SecurityLevel, Services, SetupClient, SetupClientWalletArgs, SetupClientWalletClientArgs, SetupWallet, SetupWalletClient, SetupWalletIdb, SetupWalletIdbArgs, SimpleWalletManager, StartAuthResponse, StorageAdminStats, StorageClient, StorageIdb, StorageIdbOptions, StorageProvider, StorageProviderOptions, StorageSyncReader, SyncError, SyncMap, TESTNET_DEFAULT_SETTINGS, TableActionBatch, TableActionBatchBlob, TableActionBatchOutput, TableAuthSession, TableCertificate, TableCertificateField, TableCertificateX, TableCommission, TableMonitorEvent, TableOutput, TableOutputBasket, TableOutputTag, TableOutputTagMap, TableOutputX, TableProvenTx, TableProvenTxReq, TableProvenTxReqDynamics, TableSettings, TableSyncState, TableTransaction, TableTxLabel, TableTxLabelMap, TableUser, TrustSettings, TscMerkleProofApi, TwilioPhoneInteractor, TxScriptOffsets, UMPToken, UMPTokenInteractor, UMPTokenLookupDiagnostics, UMPTokenLookupError, UMPTokenLookupFailureReason, VerifyAndRepairBeefResult, WABAccountContinuityError, WABClient, WABClientError, WABClientErrorCode, WABClientErrorOptions, WABClientOptions, WABFaucetResponse, WABOperationResponse, WABRequestOptions, WABServerInfo, WABTransport, WABTransportOptions, Wallet, WalletArgs, WalletAuthenticationManager, WalletAuthenticationManagerOptions, WalletLogger, WalletLoggerArgs, WalletLoggerLevel, WalletPermissionsManager, WalletPermissionsManagerCallbacks, WalletSettings, WalletSettingsManager, WalletSettingsManagerConfig, WalletSigner, WalletStorageManager, WalletTheme, WhatsOnChainServices, WhatsOnChainServicesOptions, WocGetHeaderByteFileLinks, WocGetHeadersHeader, arcDefaultUrl, arcGorillaPoolUrl, arcadeDefaultUrl, arraysEqual, asArray, asBsvSdkPrivateKey, asBsvSdkPublickKey, asBsvSdkScript, asBsvSdkTx, asString, asUint8Array, brc29ProtocolID, buildChaintracksOptionsWithIngestors, convertProofToMerklePath, createAndStartDefaultChaintracks, createDefaultBulkFileDataManager, createDefaultChaintracksClient, createDefaultChaintracksStorageOptions, createDefaultIdbChaintracksOptions, createDefaultNoDbChaintracksOptions, createDefaultWalletServicesOptions, createIdbChaintracks, createNoDbChaintracks, createSyncMap, decryptBRC39, doubleSha256BE, doubleSha256LE, encryptBRC39, exportBRC38, exportBRC38Json, exportBRC39, getIdentityKey, getLabelToSpecOp, getListOutputsSpecOp, importBRC38, importBRC39, isAutoSpendableChangeOutput, isBaseBlockHeader, isBlockHeader, isLive, isLiveBlockHeader, isManagedChangeOutput, logCreateActionArgs, logWalletError, logger, makeAtomicBeef, makeBrc114ActionTimeLabel, managedChangeOutputFields, maxDate, optionalArraysEqual, outputColumnsWithoutLockingScript, parseBRC38Json, parseBrc114ActionTimeLabels, parseFileLink, parseTxScriptOffsets, partitionActionLabels, randomBytes, randomBytesBase64, randomBytesHex, resolveDefaultChaintracksArguments, index_d_exports as sdk, selectBulkHeaderFiles, sha256Hash, stampLog, stampLogFormat, startChaintracks, tableAuthSessionToPeerSession, throwDummyReviewActions, toBinaryBaseBlockHeader, toDefaultChaintracksArguments, toLookupNetworkPreset, toWalletNetwork, transactionColumnsWithoutRawTx, blockHeaderUtilities_d_exports as utils, validateScriptHash, validateSecondsSinceEpoch, validateStorageFeeModel, verifyHexString, verifyId, verifyInteger, verifyNumber, verifyOne, verifyOneOrNone, verifyOptionalHexString, verifyTruthy, wait, wocGetHeadersHeaderToBlockHeader };
|
|
11161
|
+
export { ARGON2ID_DEFAULT_HASH_LENGTH, ARGON2ID_DEFAULT_ITERATIONS, ARGON2ID_DEFAULT_MEMORY_KIB, ARGON2ID_DEFAULT_PARALLELISM, ARGON2ID_MAX_ITERATIONS, ARGON2ID_MAX_MEMORY_KIB, ARGON2ID_MAX_PARALLELISM, ActionBatchStatus, AdminStatsResult, AnyBlockHeader, AuthMethodInteractor, AuthPayload, BHServiceClient, BRC153_REFERENCE_PREFIX, BRC38ImportOptions, BRC38ImportResult, BRC38Tables, BRC38WalletData, BRC39Options, type BaseBlockHeader, type BlockHeader, BulkFileDataManager, BulkFileDataManagerMergeResult, BulkFileDataManagerOptions, BulkFileDataReader, BulkFilesReader, BulkFilesReaderFs, BulkFilesReaderStorage, BulkIngestorApi, BulkIngestorBase, BulkIngestorBaseOptions, BulkIngestorCDN, BulkIngestorCDNBabbage, BulkIngestorCDNOptions, BulkIngestorChaintracks, BulkIngestorChaintracksOptions, BulkIngestorWhatsOnChainCdn, BulkIngestorWhatsOnChainOptions, BulkStorageApi, BulkStorageBase, BulkStorageBaseOptions, BulkSyncResult, ByteEncoding, ByteInput, CWIStyleWalletManager, Certifier, type Chain, Chaintracks, ChaintracksApi, ChaintracksAppendableFileApi, ChaintracksArgumentsTail, ChaintracksChainTracker, ChaintracksChainTrackerOptions, ChaintracksClientApi, ChaintracksFetch, ChaintracksFetchApi, ChaintracksFetchError, ChaintracksFsApi, ChaintracksInfoApi, ChaintracksIngestorParams, ChaintracksManagementApi, ChaintracksOptions, ChaintracksPackageInfoApi, ChaintracksReadableFileApi, ChaintracksServiceClient, ChaintracksServiceClientOptions, ChaintracksSourceOptions, ChaintracksSourceStatusApi, ChaintracksStorageApi, ChaintracksStorageBase, ChaintracksStorageBaseOptions, ChaintracksStorageBulkFileApi, ChaintracksStorageIdb, ChaintracksStorageIdbOptions, ChaintracksStorageIdbSchema, ChaintracksStorageIngestApi, ChaintracksStorageNoDb, ChaintracksStorageNoDbOptions, ChaintracksStorageQueryApi, ChaintracksWritableFileApi, CompleteAuthResponse, ContactRecord, ContactSource, CounterpartyPermissionEventHandler, CounterpartyPermissionRequest, CounterpartyPermissions, CreatedChaintracks, DEFAULT_MANAGED_CHANGE_MAX_OUTPUTS_PER_ACTION, DEFAULT_MANAGED_CHANGE_MIGRATION_INPUTS_PER_ACTION, DEFAULT_MANAGED_CHANGE_MINIMUM_SATOSHIS, DEFAULT_MANAGED_CHANGE_PENDING_COMPARISON_INPUTS, DEFAULT_MANAGED_CHANGE_TARGET_UTXOS, DEFAULT_PROFILE_ID, DEFAULT_SETTINGS, DeactivedHeader, DefaultChaintracksArguments, DevConsoleInteractor, EnqueueHandler, EntityBase, EntityCertificate, EntityCertificateField, EntityCommission, EntityOutput, EntityOutputBasket, EntityOutputTag, EntityOutputTagMap, EntityProvenTx, EntityProvenTxReq, EntityStorage, EntitySyncMap, EntitySyncState, EntityTransaction, EntityTxLabel, EntityTxLabelMap, EntityUser, ErrorHandler, GetHeaderByteFileLinksResult, GoChaintracksServiceClient, GoChaintracksServiceClientOptions, GroupedPermissionEventHandler, GroupedPermissionRequest, GroupedPermissions, HeaderListener, HeightRange, HeightRangeApi, HeightRanges, InsertHeaderResult, KDF_MAX_HASH_LENGTH, KdfConfig, KeyPairAddress, LEGACY_MANAGED_CHANGE_MINIMUM_SATOSHIS, LineItemType, ListActionsSpecOp, ListOutputsSpecOp, LiveBlockHeader, LiveIngestorApi, LiveIngestorBase, LiveIngestorBaseOptions, LiveIngestorChaintracksSSE, LiveIngestorChaintracksSSEOptions, LiveIngestorWhatsOnChainOptions, LiveIngestorWhatsOnChainPoll, MAX_STATE_SNAPSHOT_BYTES, ManagedChangeBasketDefaults, ManagedChangePolicy, ManagedChangePolicyOptions, MergeEntity, Monitor, MonitorOptions, MonitorStartupTaskMode, MonitorStorage, OverlayUMPTokenInteractor, PBKDF2_MAX_ITERATIONS, PBKDF2_NUM_ROUNDS, ParsedBrc114ActionTimeLabels, PendingSignAction, PendingStorageInput, PermissionEventHandler, PermissionRequest, PermissionToken, PermissionsManagerConfig, PermissionsModule, PersonaIDInteractor, PrivilegedKeyManager, Profile, ProvenTxFromTxidResult, ProvenTxReqHistory, ProvenTxReqHistorySummaryApi, ProvenTxReqNotify, ReorgListener, ResolvedDefaultChaintracksParams, ScriptTemplateBRC29, ScriptTemplateParamsBRC29, SecurityLevel, Services, SetupClient, SetupClientWalletArgs, SetupClientWalletClientArgs, SetupWallet, SetupWalletClient, SetupWalletIdb, SetupWalletIdbArgs, SimpleWalletManager, StartAuthResponse, StorageAdminStats, StorageClient, StorageIdb, StorageIdbOptions, StorageProvider, StorageProviderOptions, StorageSyncReader, SyncError, SyncMap, TESTNET_DEFAULT_SETTINGS, TableActionBatch, TableActionBatchBlob, TableActionBatchOutput, TableAuthSession, TableCertificate, TableCertificateField, TableCertificateX, TableCommission, TableMonitorEvent, TableOutput, TableOutputBasket, TableOutputTag, TableOutputTagMap, TableOutputX, TableProvenTx, TableProvenTxReq, TableProvenTxReqDynamics, TableSettings, TableSyncState, TableTransaction, TableTxLabel, TableTxLabelMap, TableUser, TrustSettings, TscMerkleProofApi, TwilioPhoneInteractor, TxScriptOffsets, UMPToken, UMPTokenInteractor, UMPTokenLookupDiagnostics, UMPTokenLookupError, UMPTokenLookupFailureReason, VerifyAndRepairBeefResult, WABAccountContinuityError, WABClient, WABClientError, WABClientErrorCode, WABClientErrorOptions, WABClientOptions, WABFaucetResponse, WABOperationResponse, WABRequestOptions, WABServerInfo, WABTransport, WABTransportOptions, Wallet, WalletArgs, WalletAuthenticationManager, WalletAuthenticationManagerOptions, WalletLogger, WalletLoggerArgs, WalletLoggerLevel, WalletPermissionsManager, WalletPermissionsManagerCallbacks, WalletSettings, WalletSettingsManager, WalletSettingsManagerConfig, WalletSigner, WalletStorageManager, WalletTheme, WhatsOnChainServices, WhatsOnChainServicesOptions, WocGetHeaderByteFileLinks, WocGetHeadersHeader, applyBrc153ReferenceLabel, arcDefaultUrl, arcGorillaPoolUrl, arcadeDefaultUrl, arraysEqual, asArray, asBsvSdkPrivateKey, asBsvSdkPublickKey, asBsvSdkScript, asBsvSdkTx, asString, asUint8Array, brc29ProtocolID, buildChaintracksOptionsWithIngestors, convertProofToMerklePath, createAndStartDefaultChaintracks, createDefaultBulkFileDataManager, createDefaultChaintracksClient, createDefaultChaintracksStorageOptions, createDefaultIdbChaintracksOptions, createDefaultNoDbChaintracksOptions, createDefaultWalletServicesOptions, createIdbChaintracks, createNoDbChaintracks, createSyncMap, decryptBRC39, defaultManagedChangePolicy, doubleSha256BE, doubleSha256LE, encryptBRC39, exportBRC38, exportBRC38Json, exportBRC39, getIdentityKey, getLabelToSpecOp, getListOutputsSpecOp, importBRC38, importBRC39, isAutoSpendableChangeOutput, isBaseBlockHeader, isBlockHeader, isBrc153ReferenceLabel, isLegacyManagedChangeBasketDefault, isLive, isLiveBlockHeader, isManagedChangeOutput, logCreateActionArgs, logWalletError, logger, makeAtomicBeef, makeBrc114ActionTimeLabel, makeBrc153ReferenceLabel, managedChangeOutputFields, maxDate, optionalArraysEqual, outputColumnsWithoutLockingScript, parseBRC38Json, parseBrc114ActionTimeLabels, parseBrc153ReferenceLabel, parseFileLink, parseTxScriptOffsets, partitionActionLabels, randomBytes, randomBytesBase64, randomBytesHex, resolveDefaultChaintracksArguments, index_d_exports as sdk, selectBulkHeaderFiles, sha256Hash, stampLog, stampLogFormat, startChaintracks, tableAuthSessionToPeerSession, throwDummyReviewActions, toBinaryBaseBlockHeader, toDefaultChaintracksArguments, toLookupNetworkPreset, toWalletNetwork, transactionColumnsWithoutRawTx, upgradeLegacyManagedChangeBasketDefault, blockHeaderUtilities_d_exports as utils, validateManagedChangePolicy, validateScriptHash, validateSecondsSinceEpoch, validateStorageFeeModel, verifyHexString, verifyId, verifyInteger, verifyNumber, verifyOne, verifyOneOrNone, verifyOptionalHexString, verifyTruthy, wait, wocGetHeadersHeaderToBlockHeader };
|
|
10974
11162
|
//# sourceMappingURL=index.client.d.mts.map
|