@bsv/wallet-toolbox-client 2.6.5 → 2.7.1
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 +1854 -406
- 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 +1840 -407
- package/out/index.client.mjs.map +1 -1
- package/package.json +3 -3
package/out/index.client.d.cts
CHANGED
|
@@ -201,9 +201,10 @@ declare const specOpWalletManagedUtxos = "284570a6213a74ba861c38b1cf790e1e400d9c
|
|
|
201
201
|
/**
|
|
202
202
|
* `listOutputs` special operation basket name value.
|
|
203
203
|
*
|
|
204
|
-
* Returns currently spendable wallet change outputs
|
|
204
|
+
* Returns currently spendable wallet change outputs conclusively confirmed spent.
|
|
205
|
+
* The operation rejects if any candidate cannot be classified conclusively.
|
|
205
206
|
*
|
|
206
|
-
* Optional tag value 'release'. If present, updates
|
|
207
|
+
* Optional tag value 'release'. If present, atomically updates only confirmed-spent change outputs to not spendable after rechecking current ownership and allocation state.
|
|
207
208
|
*
|
|
208
209
|
* Optional tag value 'all'. If present, processes all spendable true outputs, independent of baskets, but basket must be defined.
|
|
209
210
|
*/
|
|
@@ -1062,7 +1063,8 @@ interface WalletServices {
|
|
|
1062
1063
|
* and ensures that the output's outpoint matches an unspent use of that script.
|
|
1063
1064
|
*
|
|
1064
1065
|
* @param output
|
|
1065
|
-
* @returns true if the output
|
|
1066
|
+
* @returns true if the output is conclusively unspent, or false if it is conclusively spent.
|
|
1067
|
+
* @throws when no provider returns a successful explicit verdict.
|
|
1066
1068
|
*/
|
|
1067
1069
|
isUtxo: (output: TableOutput) => Promise<boolean>;
|
|
1068
1070
|
/**
|
|
@@ -1276,6 +1278,18 @@ interface StatusForTxidResult {
|
|
|
1276
1278
|
* 'unknown' if depth === undefined, txid may be old an purged or never processed.
|
|
1277
1279
|
*/
|
|
1278
1280
|
status: 'mined' | 'known' | 'unknown';
|
|
1281
|
+
/** Provider supplied a durable terminal lifecycle verdict for this txid. */
|
|
1282
|
+
terminal?: boolean;
|
|
1283
|
+
/** The terminal verdict proves this transaction lost an input conflict. */
|
|
1284
|
+
inputConflict?: boolean;
|
|
1285
|
+
/** Provider-native lifecycle status retained for reconciliation/audit. */
|
|
1286
|
+
providerStatus?: string;
|
|
1287
|
+
/** Provider-native status code when supplied. */
|
|
1288
|
+
statusCode?: number;
|
|
1289
|
+
/** Bounded provider detail suitable for durable diagnostics. */
|
|
1290
|
+
description?: string;
|
|
1291
|
+
/** Competing transaction ids reported by the provider. */
|
|
1292
|
+
competingTxs?: string[];
|
|
1279
1293
|
}
|
|
1280
1294
|
/**
|
|
1281
1295
|
* Properties on result returned from `WalletServices` function `getRawTx`.
|
|
@@ -1618,6 +1632,10 @@ interface StorageCapabilities {
|
|
|
1618
1632
|
manifestVersion?: 2;
|
|
1619
1633
|
/** A prepared compact manifest may be committed by its semantic digest. */
|
|
1620
1634
|
commitByDigest?: boolean;
|
|
1635
|
+
/** Expired workspaces can atomically reacquire their exact external inputs. */
|
|
1636
|
+
resume?: boolean;
|
|
1637
|
+
/** Maximum number of persisted outputs one workspace may reserve at once. */
|
|
1638
|
+
maxReservedOutputs?: number;
|
|
1621
1639
|
/** Multiple logical blobs may share one authenticated binary request. */
|
|
1622
1640
|
packedUploads?: {
|
|
1623
1641
|
version: 1;
|
|
@@ -1651,6 +1669,11 @@ interface BeginActionBatchResult {
|
|
|
1651
1669
|
commissionSatoshis: number;
|
|
1652
1670
|
commissionPubKeyHex?: string;
|
|
1653
1671
|
availableChangeCount: number;
|
|
1672
|
+
/** Internal planner policy; absent on older providers, which use defaults. */
|
|
1673
|
+
managedChangePolicy?: {
|
|
1674
|
+
maxOutputsPerAction: number;
|
|
1675
|
+
migrationInputsPerAction: number;
|
|
1676
|
+
};
|
|
1654
1677
|
reservedOutputs: ActionBatchFundingOutput[];
|
|
1655
1678
|
explicitOutputs: ActionBatchFundingOutput[];
|
|
1656
1679
|
inputBeef?: number[] | Uint8Array;
|
|
@@ -1674,6 +1697,15 @@ interface ExtendActionBatchResult {
|
|
|
1674
1697
|
interface RenewActionBatchResult {
|
|
1675
1698
|
expiresAt: string;
|
|
1676
1699
|
}
|
|
1700
|
+
interface ResumeActionBatchArgs {
|
|
1701
|
+
batchId: string;
|
|
1702
|
+
/** Exact persisted outputs still held by the client workspace. */
|
|
1703
|
+
outpoints: Array<{
|
|
1704
|
+
txid: string;
|
|
1705
|
+
vout: number;
|
|
1706
|
+
}>;
|
|
1707
|
+
}
|
|
1708
|
+
interface ResumeActionBatchResult extends RenewActionBatchResult {}
|
|
1677
1709
|
interface ActionBatchCommitMetadata {
|
|
1678
1710
|
description: string;
|
|
1679
1711
|
labels: string[];
|
|
@@ -1787,6 +1819,7 @@ interface WalletStorage {
|
|
|
1787
1819
|
beginActionBatch: (args: BeginActionBatchArgs) => Promise<BeginActionBatchResult>;
|
|
1788
1820
|
extendActionBatch: (args: ExtendActionBatchArgs) => Promise<ExtendActionBatchResult>;
|
|
1789
1821
|
renewActionBatch: (batchId: string) => Promise<RenewActionBatchResult>;
|
|
1822
|
+
resumeActionBatch?: (args: ResumeActionBatchArgs) => Promise<ResumeActionBatchResult>;
|
|
1790
1823
|
prepareActionBatchCommit: (manifest: ActionBatchManifest) => Promise<PrepareActionBatchCommitResult>;
|
|
1791
1824
|
putActionBatchBlob: (args: PutActionBatchBlobArgs) => Promise<void>;
|
|
1792
1825
|
putActionBatchPack?: (args: PutActionBatchPackArgs) => Promise<void>;
|
|
@@ -1867,6 +1900,7 @@ interface WalletStorageWriter extends WalletStorageReader {
|
|
|
1867
1900
|
beginActionBatch: (auth: AuthId, args: BeginActionBatchArgs) => Promise<BeginActionBatchResult>;
|
|
1868
1901
|
extendActionBatch: (auth: AuthId, args: ExtendActionBatchArgs) => Promise<ExtendActionBatchResult>;
|
|
1869
1902
|
renewActionBatch: (auth: AuthId, batchId: string) => Promise<RenewActionBatchResult>;
|
|
1903
|
+
resumeActionBatch?: (auth: AuthId, args: ResumeActionBatchArgs) => Promise<ResumeActionBatchResult>;
|
|
1870
1904
|
prepareActionBatchCommit: (auth: AuthId, manifest: ActionBatchManifest) => Promise<PrepareActionBatchCommitResult>;
|
|
1871
1905
|
putActionBatchBlob: (auth: AuthId, args: PutActionBatchBlobArgs) => Promise<void>;
|
|
1872
1906
|
putActionBatchPack?: (auth: AuthId, args: PutActionBatchPackArgs) => Promise<void>;
|
|
@@ -2333,6 +2367,28 @@ declare class WERR_INTERNAL extends WalletError {
|
|
|
2333
2367
|
declare class WERR_INVALID_OPERATION extends WalletError {
|
|
2334
2368
|
constructor(message?: string);
|
|
2335
2369
|
}
|
|
2370
|
+
/**
|
|
2371
|
+
* A destructive UTXO review could not obtain a conclusive verdict for every
|
|
2372
|
+
* candidate. Consumers can match this name and retry later without parsing the
|
|
2373
|
+
* human-readable message.
|
|
2374
|
+
*/
|
|
2375
|
+
declare class WERR_UTXO_REVIEW_INCONCLUSIVE extends WalletError {
|
|
2376
|
+
checked: number;
|
|
2377
|
+
confirmedSpent: number;
|
|
2378
|
+
unknown: number;
|
|
2379
|
+
constructor(checked: number, confirmedSpent: number, unknown: number);
|
|
2380
|
+
toJson(): string;
|
|
2381
|
+
}
|
|
2382
|
+
type ActionBatchErrorState = 'missing' | 'expired' | 'hard-expired' | 'inactive' | 'conflicted' | 'aborted' | 'committed';
|
|
2383
|
+
/**
|
|
2384
|
+
* An action-batch lifecycle operation cannot continue in the batch's current state.
|
|
2385
|
+
*/
|
|
2386
|
+
declare class WERRActionBatchState extends WalletError {
|
|
2387
|
+
state: ActionBatchErrorState;
|
|
2388
|
+
batchId?: string | undefined;
|
|
2389
|
+
constructor(state: ActionBatchErrorState, batchId?: string | undefined);
|
|
2390
|
+
toJson(): string;
|
|
2391
|
+
}
|
|
2336
2392
|
/**
|
|
2337
2393
|
* Unable to broadcast transaction at this time.
|
|
2338
2394
|
*/
|
|
@@ -2576,7 +2632,7 @@ declare class PrivilegedKeyManager implements ProtoWallet {
|
|
|
2576
2632
|
verifySignature(args: VerifySignatureArgs): Promise<VerifySignatureResult>;
|
|
2577
2633
|
}
|
|
2578
2634
|
declare namespace index_d_exports {
|
|
2579
|
-
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 };
|
|
2635
|
+
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 };
|
|
2580
2636
|
}
|
|
2581
2637
|
//#endregion
|
|
2582
2638
|
//#region ../src/utility/stampLog.d.ts
|
|
@@ -2654,7 +2710,7 @@ declare function toWalletNetwork(chain: Chain): WalletNetwork;
|
|
|
2654
2710
|
* Maps a Chain to a network preset suitable for LookupResolver / SHIPBroadcaster.
|
|
2655
2711
|
* Unlike `toWalletNetwork`, this returns `'local'` for `mock` chain.
|
|
2656
2712
|
*/
|
|
2657
|
-
declare function toLookupNetworkPreset(chain: Chain): 'mainnet' | 'testnet' | 'local';
|
|
2713
|
+
declare function toLookupNetworkPreset(chain: Chain): 'mainnet' | 'testnet' | 'teratestnet' | 'local';
|
|
2658
2714
|
declare function makeAtomicBeef(tx: Transaction, beef: number[] | Beef): number[];
|
|
2659
2715
|
/**
|
|
2660
2716
|
* Coerce a bsv transaction encoded as a hex string, serialized array, or Transaction to Transaction
|
|
@@ -2828,6 +2884,28 @@ interface ParsedBrc114ActionTimeLabels {
|
|
|
2828
2884
|
declare function parseBrc114ActionTimeLabels(labels: string[] | undefined): ParsedBrc114ActionTimeLabels;
|
|
2829
2885
|
declare function makeBrc114ActionTimeLabel(unixMillis: number): string;
|
|
2830
2886
|
//#endregion
|
|
2887
|
+
//#region ../src/utility/brc153ReferenceLabels.d.ts
|
|
2888
|
+
declare const BRC153_REFERENCE_PREFIX = "reference ";
|
|
2889
|
+
/**
|
|
2890
|
+
* Build the BRC-153 synthetic listActions label for an action reference.
|
|
2891
|
+
* Encodes reference bytes as lowercase hex (labels are lowercased by validation).
|
|
2892
|
+
*/
|
|
2893
|
+
declare function makeBrc153ReferenceLabel(referenceBase64: string): string;
|
|
2894
|
+
/**
|
|
2895
|
+
* True iff the label uses the reserved BRC-153 reference prefix.
|
|
2896
|
+
*/
|
|
2897
|
+
declare function isBrc153ReferenceLabel(label: string): boolean;
|
|
2898
|
+
/**
|
|
2899
|
+
* Ensure labels contain exactly one wallet-authored `reference <hex>`.
|
|
2900
|
+
* Any existing reserved-prefix labels are replaced.
|
|
2901
|
+
*/
|
|
2902
|
+
declare function applyBrc153ReferenceLabel(labels: string[], referenceBase64: string): string[];
|
|
2903
|
+
/**
|
|
2904
|
+
* Parse a BRC-153 synthetic reference label back to the BRC-100 Base64String reference.
|
|
2905
|
+
* Returns undefined if the label is not a valid reference label.
|
|
2906
|
+
*/
|
|
2907
|
+
declare function parseBrc153ReferenceLabel(label: string): string | undefined;
|
|
2908
|
+
//#endregion
|
|
2831
2909
|
//#region ../src/storage/schema/entities/EntityBase.d.ts
|
|
2832
2910
|
type EntityStorage = StorageProvider;
|
|
2833
2911
|
declare abstract class EntityBase<T> {
|
|
@@ -3889,7 +3967,58 @@ declare abstract class StorageReaderWriter extends StorageReader {
|
|
|
3889
3967
|
interface StorageReaderWriterOptions extends StorageReaderOptions {}
|
|
3890
3968
|
//#endregion
|
|
3891
3969
|
//#region ../src/storage/methods/availableManagedChange.d.ts
|
|
3892
|
-
type ManagedChangeInputCandidate = Pick<TableOutput, 'outputId' | 'transactionId' | 'satoshis' | 'txid' | 'vout'
|
|
3970
|
+
type ManagedChangeInputCandidate = Pick<TableOutput, 'outputId' | 'transactionId' | 'satoshis' | 'txid' | 'vout'> & {
|
|
3971
|
+
/**
|
|
3972
|
+
* Additive ancestry metadata. Older custom providers may omit it; the
|
|
3973
|
+
* planner resolves a missing value through the provider's transaction API.
|
|
3974
|
+
*/
|
|
3975
|
+
transactionStatus?: TransactionStatus;
|
|
3976
|
+
};
|
|
3977
|
+
//#endregion
|
|
3978
|
+
//#region ../src/storage/methods/managedChangePolicy.d.ts
|
|
3979
|
+
/** Historical default retained only to identify untouched wallet baskets. */
|
|
3980
|
+
declare const LEGACY_MANAGED_CHANGE_MINIMUM_SATOSHIS = 32;
|
|
3981
|
+
/**
|
|
3982
|
+
* Default liquidity policy for wallet-managed change.
|
|
3983
|
+
*
|
|
3984
|
+
* The preferred minimum is deliberately much larger than the dust threshold.
|
|
3985
|
+
* Dust answers "can this output ever be spent economically?"; this value
|
|
3986
|
+
* answers "is this output useful as an independently selectable liquidity
|
|
3987
|
+
* unit at contemporary fee rates?".
|
|
3988
|
+
*/
|
|
3989
|
+
declare const DEFAULT_MANAGED_CHANGE_TARGET_UTXOS = 144;
|
|
3990
|
+
declare const DEFAULT_MANAGED_CHANGE_MINIMUM_SATOSHIS = 5000;
|
|
3991
|
+
declare const DEFAULT_MANAGED_CHANGE_MAX_OUTPUTS_PER_ACTION = 8;
|
|
3992
|
+
declare const DEFAULT_MANAGED_CHANGE_MIGRATION_INPUTS_PER_ACTION = 4;
|
|
3993
|
+
declare const DEFAULT_MANAGED_CHANGE_PENDING_COMPARISON_INPUTS = 16;
|
|
3994
|
+
interface ManagedChangePolicy {
|
|
3995
|
+
/** Maximum change outputs created by one action while growing the pool; -1 is unlimited. */
|
|
3996
|
+
maxOutputsPerAction: number;
|
|
3997
|
+
/** Maximum undersized, fee-positive inputs consumed only to improve the pool; -1 is unlimited. */
|
|
3998
|
+
migrationInputsPerAction: number;
|
|
3999
|
+
/**
|
|
4000
|
+
* A completed-only plan above this input count is compared with pending
|
|
4001
|
+
* alternatives using exact BEEF bytes. This is a comparison trigger, never
|
|
4002
|
+
* a funding limit. -1 disables pending comparison until settled funding is
|
|
4003
|
+
* actually insufficient.
|
|
4004
|
+
*/
|
|
4005
|
+
pendingComparisonInputs: number;
|
|
4006
|
+
}
|
|
4007
|
+
type ManagedChangePolicyOptions = Partial<ManagedChangePolicy>;
|
|
4008
|
+
interface ManagedChangeBasketDefaults {
|
|
4009
|
+
name: string;
|
|
4010
|
+
numberOfDesiredUTXOs: number;
|
|
4011
|
+
minimumDesiredUTXOValue: number;
|
|
4012
|
+
}
|
|
4013
|
+
/** True only for the exact historical default that is safe to auto-upgrade. */
|
|
4014
|
+
declare function isLegacyManagedChangeBasketDefault(basket: ManagedChangeBasketDefaults): boolean;
|
|
4015
|
+
/**
|
|
4016
|
+
* Normalize a legacy default while retaining every other field and every
|
|
4017
|
+
* operator-selected non-default value. Used by migrations, sync, and restore.
|
|
4018
|
+
*/
|
|
4019
|
+
declare function upgradeLegacyManagedChangeBasketDefault<T extends ManagedChangeBasketDefaults>(basket: T): T;
|
|
4020
|
+
declare function defaultManagedChangePolicy(): ManagedChangePolicy;
|
|
4021
|
+
declare function validateManagedChangePolicy(options?: ManagedChangePolicyOptions): ManagedChangePolicy;
|
|
3893
4022
|
//#endregion
|
|
3894
4023
|
//#region ../src/storage/StorageProvider.d.ts
|
|
3895
4024
|
declare abstract class StorageProvider extends StorageReaderWriter implements WalletStorageProvider {
|
|
@@ -3899,11 +4028,15 @@ declare abstract class StorageProvider extends StorageReaderWriter implements Wa
|
|
|
3899
4028
|
commissionSatoshis: number;
|
|
3900
4029
|
commissionPubKeyHex?: PubKeyHex;
|
|
3901
4030
|
maxRecursionDepth?: number;
|
|
4031
|
+
readonly actionBatchMaxReservedOutputs: number;
|
|
4032
|
+
readonly managedChangePolicy: ManagedChangePolicy;
|
|
3902
4033
|
readonly scriptVerifier?: SpendVerifierInterface;
|
|
3903
4034
|
static defaultOptions(): {
|
|
3904
4035
|
feeModel: StorageFeeModel;
|
|
3905
4036
|
commissionSatoshis: number;
|
|
3906
4037
|
commissionPubKeyHex: undefined;
|
|
4038
|
+
actionBatchMaxReservedOutputs: number;
|
|
4039
|
+
managedChangePolicy: ManagedChangePolicy;
|
|
3907
4040
|
};
|
|
3908
4041
|
static createStorageBaseOptions(chain: Chain): StorageProviderOptions;
|
|
3909
4042
|
constructor(options: StorageProviderOptions);
|
|
@@ -3969,6 +4102,7 @@ declare abstract class StorageProvider extends StorageReaderWriter implements Wa
|
|
|
3969
4102
|
beginActionBatch(auth: AuthId, args: BeginActionBatchArgs): Promise<BeginActionBatchResult>;
|
|
3970
4103
|
extendActionBatch(auth: AuthId, args: ExtendActionBatchArgs): Promise<ExtendActionBatchResult>;
|
|
3971
4104
|
renewActionBatch(auth: AuthId, batchId: string): Promise<RenewActionBatchResult>;
|
|
4105
|
+
resumeActionBatch(auth: AuthId, args: ResumeActionBatchArgs): Promise<ResumeActionBatchResult>;
|
|
3972
4106
|
prepareActionBatchCommit(auth: AuthId, manifest: ActionBatchManifest): Promise<PrepareActionBatchCommitResult>;
|
|
3973
4107
|
putActionBatchBlob(auth: AuthId, args: PutActionBatchBlobArgs): Promise<void>;
|
|
3974
4108
|
putActionBatchPack(auth: AuthId, args: PutActionBatchPackArgs): Promise<void>;
|
|
@@ -4126,7 +4260,6 @@ declare abstract class StorageProvider extends StorageReaderWriter implements Wa
|
|
|
4126
4260
|
confirmSpendableOutputs(): Promise<{
|
|
4127
4261
|
invalidSpendableOutputs: TableOutput[];
|
|
4128
4262
|
}>;
|
|
4129
|
-
private checkOutputIsUtxo;
|
|
4130
4263
|
updateProvenTxReqDynamics(id: number, update: Partial<TableProvenTxReqDynamics>, trx?: TrxToken): Promise<number>;
|
|
4131
4264
|
extendOutput(o: TableOutput, includeBasket?: boolean, includeTags?: boolean, trx?: TrxToken): Promise<TableOutputX>;
|
|
4132
4265
|
validateOutputScript(o: TableOutput, trx?: TrxToken): Promise<void>;
|
|
@@ -4150,6 +4283,17 @@ interface StorageProviderOptions extends StorageReaderWriterOptions {
|
|
|
4150
4283
|
* Toolbox extension leaves the BRC-100 wallet interface unchanged.
|
|
4151
4284
|
*/
|
|
4152
4285
|
scriptVerifier?: SpendVerifierInterface;
|
|
4286
|
+
/**
|
|
4287
|
+
* Maximum persisted outputs one action-batch workspace may reserve.
|
|
4288
|
+
* Defaults to 256; -1 disables this cumulative provider limit.
|
|
4289
|
+
*/
|
|
4290
|
+
actionBatchMaxReservedOutputs?: number;
|
|
4291
|
+
/**
|
|
4292
|
+
* Optional wallet-managed liquidity tuning. Values are soft shaping and
|
|
4293
|
+
* comparison budgets; none can prevent an otherwise fundable action. Each
|
|
4294
|
+
* limit accepts -1 for an explicit operator-selected unlimited mode.
|
|
4295
|
+
*/
|
|
4296
|
+
managedChangePolicy?: ManagedChangePolicyOptions;
|
|
4153
4297
|
}
|
|
4154
4298
|
declare function validateStorageFeeModel(v?: StorageFeeModel): StorageFeeModel;
|
|
4155
4299
|
interface StorageAdminStats {
|
|
@@ -4378,6 +4522,7 @@ declare class WalletStorageManager implements WalletStorage {
|
|
|
4378
4522
|
beginActionBatch(args: BeginActionBatchArgs): Promise<BeginActionBatchResult>;
|
|
4379
4523
|
extendActionBatch(args: ExtendActionBatchArgs): Promise<ExtendActionBatchResult>;
|
|
4380
4524
|
renewActionBatch(batchId: string): Promise<RenewActionBatchResult>;
|
|
4525
|
+
resumeActionBatch(args: ResumeActionBatchArgs): Promise<ResumeActionBatchResult>;
|
|
4381
4526
|
prepareActionBatchCommit(manifest: ActionBatchManifest): Promise<PrepareActionBatchCommitResult>;
|
|
4382
4527
|
putActionBatchBlob(args: PutActionBatchBlobArgs): Promise<void>;
|
|
4383
4528
|
putActionBatchPack(args: PutActionBatchPackArgs): Promise<void>;
|
|
@@ -4439,6 +4584,17 @@ declare class WalletStorageManager implements WalletStorage {
|
|
|
4439
4584
|
* @param storageIdentityKey of current backup storage provider that is to become the new active provider.
|
|
4440
4585
|
*/
|
|
4441
4586
|
setActive(storageIdentityKey: string, progLog?: (s: string) => string): Promise<string>;
|
|
4587
|
+
/**
|
|
4588
|
+
* Return the remote HTTP(S) endpoint for a managed store, if any.
|
|
4589
|
+
*
|
|
4590
|
+
* Duck-types `endpointUrl` on the provider (as set by `StorageClientBase`).
|
|
4591
|
+
* Do **not** key this off `constructor.name === 'StorageClient'`: production
|
|
4592
|
+
* minifiers (Vite/esbuild/webpack) rename classes, so that check fails and
|
|
4593
|
+
* every remote store reports `endpointURL: undefined` even though the URL is
|
|
4594
|
+
* present. Consumers that match backups by URL (e.g. making a remote store
|
|
4595
|
+
* primary) then fail while sync still works, because sync walks `_backups`
|
|
4596
|
+
* without needing `endpointURL`.
|
|
4597
|
+
*/
|
|
4442
4598
|
getStoreEndpointURL(store: ManagedStorage): string | undefined;
|
|
4443
4599
|
getStores(): WalletStorageInfo[];
|
|
4444
4600
|
}
|
|
@@ -4617,6 +4773,7 @@ interface StorageIdbOptions extends StorageProviderOptions {}
|
|
|
4617
4773
|
declare class StorageIdb extends StorageProvider implements WalletStorageProvider {
|
|
4618
4774
|
dbName: string;
|
|
4619
4775
|
db?: IDBPDatabase<StorageIdbSchema>;
|
|
4776
|
+
private managedChangeDefaultsMigrated;
|
|
4620
4777
|
constructor(options: StorageIdbOptions);
|
|
4621
4778
|
protected supportsActionBatchPersistence(): boolean;
|
|
4622
4779
|
protected requiresActionBatchCleanupBeforeCreateAction(): boolean;
|
|
@@ -4659,6 +4816,7 @@ declare class StorageIdb extends StorageProvider implements WalletStorageProvide
|
|
|
4659
4816
|
*/
|
|
4660
4817
|
readSettings(_trx?: TrxToken): Promise<TableSettings>;
|
|
4661
4818
|
initDB(storageName?: string, storageIdentityKey?: string): Promise<IDBPDatabase<StorageIdbSchema>>;
|
|
4819
|
+
private migrateManagedChangeDefaults;
|
|
4662
4820
|
reviewStatus(args: {
|
|
4663
4821
|
agedLimit: Date;
|
|
4664
4822
|
trx?: TrxToken;
|
|
@@ -4993,6 +5151,7 @@ declare abstract class StorageClientBase implements WalletStorageProvider {
|
|
|
4993
5151
|
beginActionBatch(auth: AuthId, args: BeginActionBatchArgs): Promise<BeginActionBatchResult>;
|
|
4994
5152
|
extendActionBatch(auth: AuthId, args: ExtendActionBatchArgs): Promise<ExtendActionBatchResult>;
|
|
4995
5153
|
renewActionBatch(auth: AuthId, batchId: string): Promise<RenewActionBatchResult>;
|
|
5154
|
+
resumeActionBatch(auth: AuthId, args: ResumeActionBatchArgs): Promise<ResumeActionBatchResult>;
|
|
4996
5155
|
prepareActionBatchCommit(auth: AuthId, manifest: ActionBatchManifest): Promise<PrepareActionBatchCommitResult>;
|
|
4997
5156
|
putActionBatchBlob(auth: AuthId, args: PutActionBatchBlobArgs): Promise<void>;
|
|
4998
5157
|
putActionBatchPack(_auth: AuthId, args: PutActionBatchPackArgs): Promise<void>;
|
|
@@ -6969,6 +7128,15 @@ declare class Arcade {
|
|
|
6969
7128
|
postBeef(beef: Beef, txids: string[]): Promise<PostBeefResult>;
|
|
6970
7129
|
/** Look up a transaction's current status (and merkle path once mined) via `GET /tx/{txid}`. */
|
|
6971
7130
|
getTxData(txid: string): Promise<ArcMinerGetTxData>;
|
|
7131
|
+
/**
|
|
7132
|
+
* Adapt Arcade's lifecycle endpoint to the shared transaction-status
|
|
7133
|
+
* provider contract. This lets monitor reconciliation remain operational
|
|
7134
|
+
* when an explorer such as WhatsOnChain is absent. Only network-observed
|
|
7135
|
+
* states count as known; RECEIVED/PENDING_RETRY and terminal rejection
|
|
7136
|
+
* states remain unknown, while MINED/IMMUTABLE are authoritative mined
|
|
7137
|
+
* observations whose proof is validated separately.
|
|
7138
|
+
*/
|
|
7139
|
+
getStatusForTxids(txids: string[]): Promise<GetStatusForTxidsResult>;
|
|
6972
7140
|
/**
|
|
6973
7141
|
* `getMerklePath` provider: obtain a BUMP merkle proof for a mined transaction from Arcade.
|
|
6974
7142
|
*
|
|
@@ -8348,6 +8516,8 @@ declare class ActionBatchController {
|
|
|
8348
8516
|
private runExclusive;
|
|
8349
8517
|
private negotiate;
|
|
8350
8518
|
private begin;
|
|
8519
|
+
private retire;
|
|
8520
|
+
private recover;
|
|
8351
8521
|
plan(args: Validation.ValidCreateActionArgs): Promise<StorageCreateActionResult | undefined>;
|
|
8352
8522
|
process(prior: PendingSignAction | undefined, args: Validation.ValidProcessActionArgs): Promise<StorageProcessActionResults | undefined>;
|
|
8353
8523
|
ownsReference(reference: string): boolean;
|
|
@@ -8571,14 +8741,15 @@ declare class Wallet implements WalletInterface, ProtoWallet {
|
|
|
8571
8741
|
balance(args?: ListOutputsArgs): Promise<number>;
|
|
8572
8742
|
/**
|
|
8573
8743
|
* Uses `listOutputs` special operation to review the spendability via `Services` of
|
|
8574
|
-
* outputs currently considered spendable. Returns
|
|
8744
|
+
* outputs currently considered spendable. Returns only outputs conclusively
|
|
8745
|
+
* confirmed spent. Rejects the review if any provider result is inconclusive.
|
|
8575
8746
|
*
|
|
8576
8747
|
* Ignores the `limit` and `offset` properties.
|
|
8577
8748
|
*
|
|
8578
8749
|
* @param all Defaults to false. If false, only change outputs ('default' basket) are reviewed. If true, all spendable outputs are reviewed.
|
|
8579
|
-
* @param release Defaults to false. If true, sets
|
|
8750
|
+
* @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.
|
|
8580
8751
|
* @param optionalArgs Optional. Additional tags will constrain the outputs processed.
|
|
8581
|
-
* @returns outputs
|
|
8752
|
+
* @returns outputs previously considered spendable but conclusively confirmed spent.
|
|
8582
8753
|
*/
|
|
8583
8754
|
reviewSpendableOutputs(all?: boolean, release?: boolean, optionalArgs?: Partial<ListOutputsArgs>): Promise<ListOutputsResult>;
|
|
8584
8755
|
/**
|
|
@@ -8714,6 +8885,8 @@ interface SetupClientWalletArgs {
|
|
|
8714
8885
|
* storage validation. This does not alter the BRC-100 interface.
|
|
8715
8886
|
*/
|
|
8716
8887
|
scriptVerifier?: SpendVerifierInterface;
|
|
8888
|
+
/** Optional operator tuning for local wallet-managed liquidity shaping. */
|
|
8889
|
+
managedChangePolicy?: ManagedChangePolicyOptions;
|
|
8717
8890
|
}
|
|
8718
8891
|
/**
|
|
8719
8892
|
* Extension `SetupWalletClient` of `SetupWallet` is returned by `createWalletClient`
|
|
@@ -8827,6 +9000,8 @@ declare abstract class SetupClient {
|
|
|
8827
9000
|
*/
|
|
8828
9001
|
interface SetupWalletIdbArgs extends SetupClientWalletArgs {
|
|
8829
9002
|
databaseName: string;
|
|
9003
|
+
/** Optional operator tuning for wallet-managed liquidity shaping. */
|
|
9004
|
+
managedChangePolicy?: ManagedChangePolicyOptions;
|
|
8830
9005
|
}
|
|
8831
9006
|
/**
|
|
8832
9007
|
*
|
|
@@ -9450,13 +9625,26 @@ declare class CWIStyleWalletManager implements WalletInterface {
|
|
|
9450
9625
|
/**
|
|
9451
9626
|
* Returns the credential-free default ChainTracks client for a supported
|
|
9452
9627
|
* public network, or an operator-configured client for stn/tstn.
|
|
9628
|
+
*
|
|
9629
|
+
* BROWSER RUNTIMES get the legacy CORS-enabled Chaintracks service for
|
|
9630
|
+
* main/test. The Go Chaintracks deployments (`arcade-v2-*.bsvblockchain.tech`)
|
|
9631
|
+
* currently serve no `Access-Control-Allow-Origin` header and answer OPTIONS
|
|
9632
|
+
* preflights with 404 (verified live 2026-08-11), so every fetch from a
|
|
9633
|
+
* browser-hosted wallet is CORS-blocked (WebKit surfaces it as
|
|
9634
|
+
* `TypeError: Load failed`) and the wallet loses `getHeight`, headers and
|
|
9635
|
+
* merkle-root validation wholesale. The repository service contract
|
|
9636
|
+
* (AGENTS.md: "browser, mobile, and unknown-domain clients must not be
|
|
9637
|
+
* silently blocked by CORS") requires a default that browsers can actually
|
|
9638
|
+
* reach. Once the Go deployments serve CORS (and a browser-run conformance
|
|
9639
|
+
* check proves it), this branch can be removed and browsers can share the v2
|
|
9640
|
+
* default. Node runtimes are unchanged.
|
|
9453
9641
|
*/
|
|
9454
9642
|
declare function createDefaultChaintracksClient(chain: Exclude<Chain, 'mock'>): ChaintracksClientApi;
|
|
9455
9643
|
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,
|
|
9456
9644
|
/**
|
|
9457
|
-
* Optional Arcade endpoint.
|
|
9458
|
-
*
|
|
9459
|
-
* Pass an empty string to explicitly disable the
|
|
9645
|
+
* Optional Arcade endpoint. TTN uses its public Arcade endpoint by default; other
|
|
9646
|
+
* chains remain opt-in. Arcade is registered as the primary broadcaster ahead of ARC.
|
|
9647
|
+
* Pass an empty string to explicitly disable the TTN default.
|
|
9460
9648
|
*/
|
|
9461
9649
|
arcadeUrl?: string,
|
|
9462
9650
|
/** Server-level API key (Bearer) for the Arcade endpoint, if it requires auth. */
|
|
@@ -10971,5 +11159,5 @@ declare class WalletPermissionsManager implements WalletInterface {
|
|
|
10971
11159
|
private buildActiveRequestKey;
|
|
10972
11160
|
}
|
|
10973
11161
|
//#endregion
|
|
10974
|
-
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 };
|
|
11162
|
+
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 };
|
|
10975
11163
|
//# sourceMappingURL=index.client.d.cts.map
|