@arkade-os/sdk 0.4.57 → 0.4.58

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.
Files changed (73) hide show
  1. package/dist/adapters/expo.cjs +5 -5
  2. package/dist/adapters/expo.d.cts +2 -2
  3. package/dist/adapters/expo.d.ts +2 -2
  4. package/dist/adapters/expo.js +3 -3
  5. package/dist/adapters/indexedDB.cjs +5 -5
  6. package/dist/adapters/indexedDB.js +4 -4
  7. package/dist/{ark-CJgH_pmn.d.cts → ark-ClaVUg4e.d.cts} +11 -0
  8. package/dist/{ark-CJgH_pmn.d.ts → ark-ClaVUg4e.d.ts} +11 -0
  9. package/dist/{asyncStorageTaskQueue-BeeZbf-Q.d.ts → asyncStorageTaskQueue-Bgau-mvD.d.ts} +1 -1
  10. package/dist/{asyncStorageTaskQueue-BlrsUUX_.d.cts → asyncStorageTaskQueue-CnYrhpS-.d.cts} +1 -1
  11. package/dist/{chunk-KEG4AAKX.cjs → chunk-6PY4WYXI.cjs} +485 -394
  12. package/dist/chunk-6PY4WYXI.cjs.map +1 -0
  13. package/dist/{chunk-CPS7V4A3.js → chunk-AGWZXGG2.js} +4 -4
  14. package/dist/{chunk-CPS7V4A3.js.map → chunk-AGWZXGG2.js.map} +1 -1
  15. package/dist/{chunk-OWTKOMJZ.cjs → chunk-COLJARV4.cjs} +40 -40
  16. package/dist/{chunk-OWTKOMJZ.cjs.map → chunk-COLJARV4.cjs.map} +1 -1
  17. package/dist/{chunk-KUN5ZRMW.cjs → chunk-D6RGHPZ5.cjs} +3 -3
  18. package/dist/{chunk-KUN5ZRMW.cjs.map → chunk-D6RGHPZ5.cjs.map} +1 -1
  19. package/dist/{chunk-YK6NP5KX.cjs → chunk-F4C67JYB.cjs} +15 -15
  20. package/dist/{chunk-YK6NP5KX.cjs.map → chunk-F4C67JYB.cjs.map} +1 -1
  21. package/dist/{chunk-EZBKSWEL.cjs → chunk-I4YEGI2R.cjs} +17 -17
  22. package/dist/{chunk-EZBKSWEL.cjs.map → chunk-I4YEGI2R.cjs.map} +1 -1
  23. package/dist/{chunk-P6L2W5IL.js → chunk-IPPASJE5.js} +3 -3
  24. package/dist/{chunk-P6L2W5IL.js.map → chunk-IPPASJE5.js.map} +1 -1
  25. package/dist/{chunk-NIZPFPUM.js → chunk-S3BFUTC5.js} +112 -21
  26. package/dist/chunk-S3BFUTC5.js.map +1 -0
  27. package/dist/{chunk-C4SVRVNM.js → chunk-SGWMB4W2.js} +4 -4
  28. package/dist/{chunk-C4SVRVNM.js.map → chunk-SGWMB4W2.js.map} +1 -1
  29. package/dist/{chunk-A7TOVUYG.cjs → chunk-SYZEQF5D.cjs} +9 -9
  30. package/dist/{chunk-A7TOVUYG.cjs.map → chunk-SYZEQF5D.cjs.map} +1 -1
  31. package/dist/{chunk-ASUJNZ63.js → chunk-TV2RLVOB.js} +3 -3
  32. package/dist/{chunk-ASUJNZ63.js.map → chunk-TV2RLVOB.js.map} +1 -1
  33. package/dist/{chunk-PUNBWFIV.js → chunk-VROHHJL4.js} +3 -3
  34. package/dist/{chunk-PUNBWFIV.js.map → chunk-VROHHJL4.js.map} +1 -1
  35. package/dist/contracts/handlers/index.cjs +8 -8
  36. package/dist/contracts/handlers/index.d.cts +3 -3
  37. package/dist/contracts/handlers/index.d.ts +3 -3
  38. package/dist/contracts/handlers/index.js +2 -2
  39. package/dist/{delegate-Dk-OJVdf.d.cts → delegate-CVrkEepn.d.cts} +1 -1
  40. package/dist/{delegate-DM3YECSY.d.ts → delegate-YDYq1El_.d.ts} +1 -1
  41. package/dist/{index-Cig0RkTf.d.cts → index-BmqkJBAf.d.cts} +2 -2
  42. package/dist/{index-CnE7Gnvb.d.ts → index-CuSHBkq7.d.ts} +2 -2
  43. package/dist/index.cjs +223 -223
  44. package/dist/index.d.cts +25 -8
  45. package/dist/index.d.ts +25 -8
  46. package/dist/index.js +4 -4
  47. package/dist/repositories/realm/index.cjs +19 -19
  48. package/dist/repositories/realm/index.d.cts +2 -2
  49. package/dist/repositories/realm/index.d.ts +2 -2
  50. package/dist/repositories/realm/index.js +5 -5
  51. package/dist/repositories/sqlite/index.cjs +18 -18
  52. package/dist/repositories/sqlite/index.d.cts +2 -2
  53. package/dist/repositories/sqlite/index.d.ts +2 -2
  54. package/dist/repositories/sqlite/index.js +5 -5
  55. package/dist/{taskRunner-F7tWzsrC.d.ts → taskRunner-CFN61bBM.d.ts} +1 -1
  56. package/dist/{taskRunner-CnGSTaAJ.d.cts → taskRunner-CFkGkD85.d.cts} +1 -1
  57. package/dist/wallet/expo/background.cjs +14 -14
  58. package/dist/wallet/expo/background.d.cts +3 -3
  59. package/dist/wallet/expo/background.d.ts +3 -3
  60. package/dist/wallet/expo/background.js +6 -6
  61. package/dist/wallet/expo/index.cjs +14 -14
  62. package/dist/wallet/expo/index.d.cts +4 -4
  63. package/dist/wallet/expo/index.d.ts +4 -4
  64. package/dist/wallet/expo/index.js +5 -5
  65. package/dist/{wallet-D6_S0n6B.d.ts → wallet-DnK09TtT.d.ts} +2 -2
  66. package/dist/{wallet-DvRIQBBY.d.cts → wallet-hQp2qC_M.d.cts} +2 -2
  67. package/dist/worker/expo/index.cjs +9 -9
  68. package/dist/worker/expo/index.d.cts +4 -4
  69. package/dist/worker/expo/index.d.ts +4 -4
  70. package/dist/worker/expo/index.js +5 -5
  71. package/package.json +2 -2
  72. package/dist/chunk-KEG4AAKX.cjs.map +0 -1
  73. package/dist/chunk-NIZPFPUM.js.map +0 -1
@@ -1,6 +1,6 @@
1
- import { AssetId, AssetGroup, AssetInput, AssetOutput, Metadata, Packet, BufferReader, BufferWriter, AssetRef, RestIndexerProvider } from './chunk-ASUJNZ63.js';
2
- import { witnessRefToBytes, validateProgram, toASM, stringifyArtifact, serializeArkadeContractParams, resolveAsm, parseArtifact, getOpcodeValue, getOpcodeName, fromASM, deserializeArkadeContractParams, computeArkadeScriptPublicKey, bytesToASM, asmToBytes, arkadeWitnessHash, arkadeScriptHash, SUPPORTED_PROGRAM_VERSION, OPCODE_VALUES, OPCODE_NAMES, bignum_exports, ArkadeScript, ArkadeProgramScript, ARKADE_OPS, ARKADE_OPCODE_VALUES, ARKADE_OPCODE_NAMES, ARKADE_OPCODES, ARKADE_OP, inputName, contractHandlers, isMainnetDescriptor, descriptorIsOurs, deriveDescriptorLeafPubKey, deriveDescriptorLeafCompressedPubKey, DefaultVtxo, speculativeReceiveMetadata, DelegateVtxo, WALLET_RECEIVE_SOURCE, BoardingContractHandler } from './chunk-P6L2W5IL.js';
3
- import { VtxoScript, Transaction, isRecoverable, CSVMultisigTapscript, DEFAULT_NETWORK, hasTerminalSpend, getNormalizedVtxos, setArkPsbtField, PrevArkTxField, ConditionWitness, craftToSpendTx, ArkAddress, isVirtualCoin, getArkPsbtFields, CosignerPublicKey, ServerResponseMismatchError, OP_RETURN_EMPTY_PKSCRIPT, sequenceToTimelock, decodeTapscript, scriptFromTapLeafScript, CLTVMultisigTapscript, VtxoTaprootTree, timelockToSequence, baseFetch, Intent, rateGate, DEFAULT_NETWORK_NAME, normalizeVtxo, getSequence, toBatchExpiry, maybeArkError, isArkError, ArkErrorName, toOffchainInputFeeParams, canRecoverOnchain, getNetwork, MultisigTapscript, isEventSourceError, isRetryableProviderError, getAllNormalizedVtxos, DEFAULT_PAGE_SIZE, RestArkProvider, canSpendOffchain, toVirtualStatus, ArkError, resolveTimeHeight, parseLegacyExpiry, isExpired, DEFAULT_ARKADE_SERVER_URL, ProviderUnavailableError, networks as networks$1, isPastExpiry, fetchVtxoCreatedAtByTxid } from './chunk-PUNBWFIV.js';
1
+ import { AssetId, AssetGroup, AssetInput, AssetOutput, Metadata, Packet, BufferReader, BufferWriter, AssetRef, RestIndexerProvider } from './chunk-TV2RLVOB.js';
2
+ import { witnessRefToBytes, validateProgram, toASM, stringifyArtifact, serializeArkadeContractParams, resolveAsm, parseArtifact, getOpcodeValue, getOpcodeName, fromASM, deserializeArkadeContractParams, computeArkadeScriptPublicKey, bytesToASM, asmToBytes, arkadeWitnessHash, arkadeScriptHash, SUPPORTED_PROGRAM_VERSION, OPCODE_VALUES, OPCODE_NAMES, bignum_exports, ArkadeScript, ArkadeProgramScript, ARKADE_OPS, ARKADE_OPCODE_VALUES, ARKADE_OPCODE_NAMES, ARKADE_OPCODES, ARKADE_OP, inputName, contractHandlers, isMainnetDescriptor, descriptorIsOurs, deriveDescriptorLeafPubKey, deriveDescriptorLeafCompressedPubKey, DefaultVtxo, speculativeReceiveMetadata, DelegateVtxo, WALLET_RECEIVE_SOURCE, BoardingContractHandler } from './chunk-IPPASJE5.js';
3
+ import { VtxoScript, Transaction, isRecoverable, CSVMultisigTapscript, DEFAULT_NETWORK, hasTerminalSpend, getNormalizedVtxos, setArkPsbtField, PrevArkTxField, ConditionWitness, craftToSpendTx, ArkAddress, isVirtualCoin, getArkPsbtFields, CosignerPublicKey, ServerResponseMismatchError, OP_RETURN_EMPTY_PKSCRIPT, sequenceToTimelock, decodeTapscript, scriptFromTapLeafScript, CLTVMultisigTapscript, VtxoTaprootTree, timelockToSequence, baseFetch, Intent, rateGate, DEFAULT_NETWORK_NAME, normalizeVtxo, getSequence, toBatchExpiry, maybeArkError, isArkError, ArkErrorName, toOffchainInputFeeParams, canRecoverOnchain, getNetwork, MultisigTapscript, isEventSourceError, isRetryableProviderError, getAllNormalizedVtxos, DEFAULT_PAGE_SIZE, RestArkProvider, canSpendOffchain, toVirtualStatus, ArkError, resolveTimeHeight, parseLegacyExpiry, isExpired, DEFAULT_ARKADE_SERVER_URL, ProviderUnavailableError, networks as networks$1, isPastExpiry, fetchVtxoCreatedAtByTxid } from './chunk-VROHHJL4.js';
4
4
  import { __export } from './chunk-NSBPE2FW.js';
5
5
  import { sha256, equalBytes, hash160, sha256x2, concatBytes, randomPrivateKeyBytes, pubECDSA, pubSchnorr } from '@scure/btc-signer/utils.js';
6
6
  import { SigHash, Script, OP, OutScript, Address, RawWitness, p2tr, p2wpkh, TaprootControlBlock, DEFAULT_SEQUENCE, Transaction as Transaction$2 } from '@scure/btc-signer';
@@ -3097,6 +3097,40 @@ function capSettlementBatch(sorted, maxAmount) {
3097
3097
  }
3098
3098
  return batch;
3099
3099
  }
3100
+ function priceSettlementInputs(vtxos, estimator) {
3101
+ const payable = [];
3102
+ const net = /* @__PURE__ */ new Map();
3103
+ for (const vtxo of vtxos) {
3104
+ const inputFee = estimator.evalOffchainInput(toOffchainInputFeeParams(vtxo));
3105
+ if (inputFee.satoshis >= vtxo.value) {
3106
+ continue;
3107
+ }
3108
+ payable.push(vtxo);
3109
+ net.set(`${vtxo.txid}:${vtxo.vout}`, BigInt(vtxo.value - inputFee.satoshis));
3110
+ }
3111
+ return { payable, net };
3112
+ }
3113
+ function subtotalOf(vtxos, net) {
3114
+ let subtotal = 0n;
3115
+ for (const vtxo of vtxos) {
3116
+ const priced = net.get(`${vtxo.txid}:${vtxo.vout}`);
3117
+ if (priced === void 0) {
3118
+ throw new Error(`Unpriced settlement input ${vtxo.txid}:${vtxo.vout}`);
3119
+ }
3120
+ subtotal += priced;
3121
+ }
3122
+ return subtotal;
3123
+ }
3124
+ function deductOffchainOutputFee(subtotal, estimator, arkAddress) {
3125
+ if (!estimator.config.offchainOutput) {
3126
+ return subtotal;
3127
+ }
3128
+ const outputFee = estimator.evalOffchainOutput({
3129
+ amount: subtotal,
3130
+ script: hex.encode(ArkAddress.decode(arkAddress).pkScript)
3131
+ });
3132
+ return subtotal - BigInt(outputFee.satoshis);
3133
+ }
3100
3134
  var DEFAULT_THRESHOLD_SECONDS = 259200;
3101
3135
  var DEFAULT_THRESHOLD_MS = DEFAULT_THRESHOLD_SECONDS * 1e3;
3102
3136
  var DEFAULT_RENEWAL_CONFIG = {
@@ -3304,19 +3338,27 @@ var VtxoManager = class _VtxoManager {
3304
3338
  });
3305
3339
  const dustAmount = getDustAmount(this.wallet);
3306
3340
  const now = await fetchTimeHeight(this.wallet);
3307
- let { vtxosToRecover, totalAmount } = getRecoverableWithSubdust(allVtxos, dustAmount, now);
3341
+ let { vtxosToRecover } = getRecoverableWithSubdust(allVtxos, dustAmount, now);
3308
3342
  if (vtxosToRecover.length === 0) {
3309
3343
  throw new Error("No recoverable VTXOs found");
3310
3344
  }
3311
3345
  const info = await this.getInfoProvider()?.getInfo();
3312
3346
  const vtxoMaxAmount = info?.vtxoMaxAmount ?? -1n;
3313
- const capped = capSettlementBatch(byValueDescending(vtxosToRecover), vtxoMaxAmount);
3347
+ const estimator = new Estimator(info?.fees.intentFee ?? {});
3348
+ const { payable, net } = priceSettlementInputs(vtxosToRecover, estimator);
3349
+ const capped = capSettlementBatch(byValueDescending(payable), vtxoMaxAmount);
3314
3350
  if (capped.length < vtxosToRecover.length) {
3315
3351
  const recoverableCount = vtxosToRecover.length;
3316
- ({ vtxosToRecover, totalAmount } = getRecoverableWithSubdust(capped, dustAmount, now));
3352
+ const cappedAway = capped.length < payable.length;
3353
+ ({ vtxosToRecover } = getRecoverableWithSubdust(capped, dustAmount, now));
3317
3354
  if (vtxosToRecover.length === 0) {
3355
+ if (!cappedAway) {
3356
+ throw new Error(
3357
+ `All ${recoverableCount} recoverable VTXOs that can pay their own intent fee total less than the dust threshold ${dustAmount}`
3358
+ );
3359
+ }
3318
3360
  throw new Error(
3319
- `Capped recovery batch (highest-value subset of ${recoverableCount} recoverable VTXOs within the ${MAX_VTXOS_PER_SETTLEMENT}-input and ${vtxoMaxAmount}-sat limits) is below the dust threshold ${dustAmount}`
3361
+ `Capped recovery batch (highest-value subset of ${recoverableCount} recoverable VTXOs within the ${MAX_VTXOS_PER_SETTLEMENT}-input and ${vtxoMaxAmount}-sat limits, net of intent fees) is below the dust threshold ${dustAmount}`
3320
3362
  );
3321
3363
  }
3322
3364
  }
@@ -3324,6 +3366,16 @@ var VtxoManager = class _VtxoManager {
3324
3366
  await this.rotateForRecoverableInputs(vtxosToRecover, info);
3325
3367
  }
3326
3368
  const arkAddress = await this.wallet.getAddress();
3369
+ const totalAmount = deductOffchainOutputFee(
3370
+ subtotalOf(vtxosToRecover, net),
3371
+ estimator,
3372
+ arkAddress
3373
+ );
3374
+ if (totalAmount < dustAmount) {
3375
+ throw new Error(
3376
+ `Recoverable amount ${totalAmount} net of intent fees is below dust threshold ${dustAmount}`
3377
+ );
3378
+ }
3327
3379
  return this.wallet.settle(
3328
3380
  {
3329
3381
  inputs: vtxosToRecover,
@@ -3342,6 +3394,17 @@ var VtxoManager = class _VtxoManager {
3342
3394
  *
3343
3395
  * Useful for displaying to users before they decide to recover funds.
3344
3396
  *
3397
+ * Both amounts are net of the operator's intent fees, so `recoverable` is
3398
+ * what {@link recoverVtxos} would actually hand back rather than the gross
3399
+ * sum of the inputs. `subdust` is net of the per-input fees only — the
3400
+ * output fee is charged on the batch as a whole and is not attributed per
3401
+ * coin — so it reports what the subdust coins are worth once each has paid
3402
+ * its own way, and is not strictly a slice of `recoverable`. It can exceed
3403
+ * `recoverable` where a flat output fee meets a wholly subdust wallet.
3404
+ *
3405
+ * The batch size caps are not applied here: they defer the overflow to the
3406
+ * next cycle rather than reducing what is recoverable.
3407
+ *
3345
3408
  * @returns Object containing recoverable amounts and subdust information
3346
3409
  *
3347
3410
  * @example
@@ -3363,17 +3426,29 @@ var VtxoManager = class _VtxoManager {
3363
3426
  withUnrolled: false
3364
3427
  });
3365
3428
  const dustAmount = getDustAmount(this.wallet);
3366
- const { vtxosToRecover, includesSubdust, totalAmount } = getRecoverableWithSubdust(
3429
+ const { vtxosToRecover, includesSubdust } = getRecoverableWithSubdust(
3367
3430
  allVtxos,
3368
3431
  dustAmount,
3369
3432
  await fetchTimeHeight(this.wallet)
3370
3433
  );
3371
- const subdustAmount = vtxosToRecover.filter((v) => BigInt(v.value) < dustAmount).reduce((sum, v) => sum + BigInt(v.value), 0n);
3434
+ const info = await this.getInfoProvider()?.getInfo();
3435
+ const estimator = new Estimator(info?.fees.intentFee ?? {});
3436
+ const { payable, net } = priceSettlementInputs(vtxosToRecover, estimator);
3437
+ const priced = deductOffchainOutputFee(
3438
+ subtotalOf(payable, net),
3439
+ estimator,
3440
+ await this.wallet.getAddress()
3441
+ );
3442
+ const recoverable = priced > 0n ? priced : 0n;
3443
+ const subdustAmount = subtotalOf(
3444
+ payable.filter((v) => BigInt(v.value) < dustAmount),
3445
+ net
3446
+ );
3372
3447
  return {
3373
- recoverable: totalAmount,
3448
+ recoverable,
3374
3449
  subdust: subdustAmount,
3375
3450
  includesSubdust,
3376
- vtxoCount: vtxosToRecover.length
3451
+ vtxoCount: payable.length
3377
3452
  };
3378
3453
  }
3379
3454
  // ========== Renewal Methods ==========
@@ -3491,6 +3566,14 @@ var VtxoManager = class _VtxoManager {
3491
3566
  }
3492
3567
  const info = await this.getInfoProvider()?.getInfo();
3493
3568
  const vtxoMaxAmount = info?.vtxoMaxAmount ?? -1n;
3569
+ const estimator = new Estimator(info?.fees.intentFee ?? {});
3570
+ const { payable, net } = priceSettlementInputs(vtxos, estimator);
3571
+ vtxos = payable;
3572
+ if (vtxos.length === 0) {
3573
+ throw new Error(
3574
+ "No VTXOs available to renew: every expiring VTXO is worth less than its own intent fee"
3575
+ );
3576
+ }
3494
3577
  const capped = capSettlementBatch(byExpiryAscending(vtxos, now), vtxoMaxAmount);
3495
3578
  if (vtxoMaxAmount >= 0n) {
3496
3579
  const oversized = vtxos.filter((vtxo) => BigInt(vtxo.value) > vtxoMaxAmount);
@@ -3508,24 +3591,28 @@ var VtxoManager = class _VtxoManager {
3508
3591
  );
3509
3592
  }
3510
3593
  }
3511
- const totalAmount = vtxos.reduce((sum, vtxo) => sum + vtxo.value, 0);
3512
3594
  const dustAmount = getDustAmount(this.wallet);
3513
- if (BigInt(totalAmount) < dustAmount) {
3514
- throw new Error(
3515
- `Total amount ${totalAmount} is below dust threshold ${dustAmount}`
3516
- );
3517
- }
3518
3595
  if (info && isMigrationCapable(this.wallet)) {
3519
3596
  await this.rotateForRecoverableInputs(vtxos, info);
3520
3597
  }
3521
3598
  const arkAddress = await this.wallet.getAddress();
3599
+ const totalAmount = deductOffchainOutputFee(
3600
+ subtotalOf(vtxos, net),
3601
+ estimator,
3602
+ arkAddress
3603
+ );
3604
+ if (totalAmount < dustAmount) {
3605
+ throw new Error(
3606
+ `Total amount ${totalAmount} is below dust threshold ${dustAmount}`
3607
+ );
3608
+ }
3522
3609
  const txid = await this.wallet.settle(
3523
3610
  {
3524
3611
  inputs: vtxos,
3525
3612
  outputs: [
3526
3613
  {
3527
3614
  address: arkAddress,
3528
- amount: BigInt(totalAmount)
3615
+ amount: totalAmount
3529
3616
  }
3530
3617
  ]
3531
3618
  },
@@ -14771,7 +14858,9 @@ var MessageBus = class {
14771
14858
  settlementConfig: config.settlementConfig,
14772
14859
  walletMode: config.walletMode,
14773
14860
  watcherConfig: config.watcherConfig,
14774
- lookAheadWindow: config.lookAheadWindow
14861
+ lookAheadWindow: config.lookAheadWindow,
14862
+ minBatchExpirySeconds: config.minBatchExpirySeconds,
14863
+ minCheckpointExitDelaySeconds: config.minCheckpointExitDelaySeconds
14775
14864
  });
14776
14865
  return { wallet, arkProvider, readonlyWallet: wallet };
14777
14866
  }
@@ -17304,6 +17393,8 @@ var ServiceWorkerWallet = class _ServiceWorkerWallet extends ServiceWorkerReadon
17304
17393
  walletMode: options.walletMode,
17305
17394
  watcherConfig: options.watcherConfig,
17306
17395
  lookAheadWindow: options.lookAheadWindow,
17396
+ minBatchExpirySeconds: options.minBatchExpirySeconds,
17397
+ minCheckpointExitDelaySeconds: options.minCheckpointExitDelaySeconds,
17307
17398
  messageTimeouts
17308
17399
  };
17309
17400
  await initializeMessageBus(
@@ -21012,5 +21103,5 @@ function isArkContract(str) {
21012
21103
  }
21013
21104
 
21014
21105
  export { ARKADE_MAGIC, ActivityRegistry, AmbiguousRouteError, ArkNote, ArkadeCash, ArkadeCashCreateError, AssetManager, BIP21, BIP21Error, BIP322, Batch, ChainedTxType, ContractManager, ContractRepositoryImpl, ContractWatcher, DB_VERSION, DEFAULT_MESSAGE_TIMEOUTS, DEFAULT_MIN_BATCH_EXPIRY_SECONDS, DEFAULT_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, DelegateManagerImpl, DelegateNotConfiguredError, DelegatorManagerImpl, DelegatorNotConfiguredError, DescriptorIdentity, DescriptorSigningProviderMissingError, DustChangeError, ELECTRUM_TCP_HOST, ELECTRUM_WS_URL, ESPLORA_URL, ElectrumOnchainProvider, EmulatorPacket, EsploraProvider, Estimator, Extension, ExtensionNotFoundError, HDDescriptorProvider, INTENT_TERMINAL_STATES, InMemoryContractRepository, InMemoryIntentRepository, InMemoryVirtualTxRepository, InMemoryWalletRepository, IndexedDBContractRepository, IndexedDBIntentRepository, IndexedDBVirtualTxRepository, IndexedDBWalletRepository, MESSAGE_BUS_INITIALIZING, MESSAGE_BUS_NOT_INITIALIZED, MIGRATION_KEY, MessageBus, MessageBusInitializingError, MessageBusNotInitializedError, MissingSigningDescriptorError, MnemonicIdentity, OnchainWallet, P2A, PaymentRouter, REGTEST_MIN_BATCH_EXPIRY_SECONDS, REGTEST_MIN_CHECKPOINT_EXIT_DELAY_SECONDS, Ramps, ReadonlyAssetManager, ReadonlyDescriptorIdentity, ReadonlySingleKey, ReadonlyWallet, ReadonlyWalletError, RestDelegateProvider, RestDelegatorProvider, RestEmulatorProvider, SeedIdentity, ServiceWorkerReadonlyWallet, ServiceWorkerTimeoutError, ServiceWorkerWallet, SingleKey, TxTree, TxType, TxWeightEstimator, UnilateralExit, UnknownPacket, Unroll, VtxoManager, Wallet2 as Wallet, WalletMessageHandler, WalletNotInitializedError, WalletRepositoryImpl, WsElectrumChainSource, arkRail, arkTarget, arkade_exports, assertFinalCommitmentMatchesValidated, assertIntentIdUnique, assertSendableAmount, assertSubmittedArkTxid, assertValidBatchExpiry, assertValidServerUnrollScript, assetMintResolver, boardingResolver, btcTarget, buildForfeitTx, buildOffchainTx, classifyAgainstSignerSet, classifyContractSigner, closeDatabase, collabExitResolver, combineTapscriptSigs, contractFromArkContract, contractFromArkContractWithAddress, createAssetPacket, createDefaultActivityRegistry, createDefaultPaymentRouter, createExitChainResolver, decodeArkContract, defaultBatchExpiryPolicy, defaultCheckpointExitDelayPolicy, deserializeAssets, deserializeExitPackage, deserializeUtxo, deserializeVtxo, encodeArkContract, extendVirtualCoinForContract, getMigrationStatus, getRandomId, hasBoardingTxExpired, hasCandidates, intentMatchesFilter, intentPageBounds, invoiceTarget, isArkContract, isBatchSignable, isBtcAddress, isCooperativelyMigratable, isDiscoverable, isHDDeterministicSignCapable, isHDWalletCapable, isLightningInvoice, isLnurl, isMessageBusInitializingError, isMessageBusNotInitializedError, isSubdust, isTerminalIntentState, isValidArkAddress, isVtxoExpiringSoon, isVtxoForScript, makeHandle, matchServerCheckpoints, mergeChainedTxType, migrateWalletRepository, onchainRail, openDatabase, requiresMigration, resolveBatchExpiryPolicy, resolveCheckpointExitDelayPolicy, resolveSendAmount, rollbackMigration, saveVtxosForContract, scriptFromArkAddress, selectCoinsWithAsset, selectVirtualCoins, serializeAssets, serializeExitPackage, serializeUtxo, serializeVtxo, setupServiceWorker, signerSetFromInfo, toXOnlySignerHex, tryResolveSendAmount, validateBatchRecipients, validateConnectorsTxGraph, validateVtxoTxGraph, verifyTapscriptSignatures, waitForIncomingFunds, warnAndFilterVtxosForScript };
21015
- //# sourceMappingURL=chunk-NIZPFPUM.js.map
21016
- //# sourceMappingURL=chunk-NIZPFPUM.js.map
21106
+ //# sourceMappingURL=chunk-S3BFUTC5.js.map
21107
+ //# sourceMappingURL=chunk-S3BFUTC5.js.map