@arkade-os/sdk 0.5.0-rc.6 → 0.5.0-rc.7

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 (43) hide show
  1. package/dist/adapters/expo.cjs +5 -5
  2. package/dist/adapters/expo.js +3 -3
  3. package/dist/{chunk-IRXEWL2A.js → chunk-2JU54RGB.js} +3 -3
  4. package/dist/{chunk-IRXEWL2A.js.map → chunk-2JU54RGB.js.map} +1 -1
  5. package/dist/{chunk-BWHKCHJN.js → chunk-4MB3Z33G.js} +4 -4
  6. package/dist/{chunk-BWHKCHJN.js.map → chunk-4MB3Z33G.js.map} +1 -1
  7. package/dist/{chunk-ISA3HWFN.js → chunk-7B2QAHQU.js} +7 -5
  8. package/dist/chunk-7B2QAHQU.js.map +1 -0
  9. package/dist/{chunk-ZF52B7BV.cjs → chunk-A2T3GGAK.cjs} +50 -50
  10. package/dist/{chunk-ZF52B7BV.cjs.map → chunk-A2T3GGAK.cjs.map} +1 -1
  11. package/dist/{chunk-4I6KPFCB.cjs → chunk-EIMOVGBV.cjs} +436 -434
  12. package/dist/chunk-EIMOVGBV.cjs.map +1 -0
  13. package/dist/{chunk-XR23C6TF.cjs → chunk-GLLBSULU.cjs} +3 -3
  14. package/dist/{chunk-XR23C6TF.cjs.map → chunk-GLLBSULU.cjs.map} +1 -1
  15. package/dist/{chunk-2P75JIT5.js → chunk-H7KLBU6G.js} +3 -3
  16. package/dist/{chunk-2P75JIT5.js.map → chunk-H7KLBU6G.js.map} +1 -1
  17. package/dist/{chunk-QKHXUTXM.js → chunk-L6MGV7ZA.js} +3 -3
  18. package/dist/{chunk-QKHXUTXM.js.map → chunk-L6MGV7ZA.js.map} +1 -1
  19. package/dist/{chunk-7PW4GV2Q.js → chunk-LFIORZO3.js} +4 -4
  20. package/dist/{chunk-7PW4GV2Q.js.map → chunk-LFIORZO3.js.map} +1 -1
  21. package/dist/{chunk-3LGOKP52.cjs → chunk-VUR6RP73.cjs} +10 -10
  22. package/dist/{chunk-3LGOKP52.cjs.map → chunk-VUR6RP73.cjs.map} +1 -1
  23. package/dist/{chunk-BMYEJA3W.cjs → chunk-XIPWLWPU.cjs} +17 -17
  24. package/dist/{chunk-BMYEJA3W.cjs.map → chunk-XIPWLWPU.cjs.map} +1 -1
  25. package/dist/{chunk-TVG3GDEO.cjs → chunk-XOT73T36.cjs} +18 -18
  26. package/dist/{chunk-TVG3GDEO.cjs.map → chunk-XOT73T36.cjs.map} +1 -1
  27. package/dist/contracts/handlers/index.cjs +9 -9
  28. package/dist/contracts/handlers/index.js +2 -2
  29. package/dist/index.cjs +290 -290
  30. package/dist/index.js +4 -4
  31. package/dist/repositories/realm/index.cjs +20 -20
  32. package/dist/repositories/realm/index.js +5 -5
  33. package/dist/repositories/sqlite/index.cjs +19 -19
  34. package/dist/repositories/sqlite/index.js +5 -5
  35. package/dist/wallet/expo/background.cjs +14 -14
  36. package/dist/wallet/expo/background.js +6 -6
  37. package/dist/wallet/expo/index.cjs +14 -14
  38. package/dist/wallet/expo/index.js +5 -5
  39. package/dist/worker/expo/index.cjs +9 -9
  40. package/dist/worker/expo/index.js +5 -5
  41. package/package.json +1 -1
  42. package/dist/chunk-4I6KPFCB.cjs.map +0 -1
  43. package/dist/chunk-ISA3HWFN.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkXR23C6TF_cjs = require('./chunk-XR23C6TF.cjs');
3
+ var chunkGLLBSULU_cjs = require('./chunk-GLLBSULU.cjs');
4
4
  var base = require('@scure/base');
5
5
  var descriptorsScure = require('@bitcoinerlab/descriptors-scure');
6
6
  var btcSigner = require('@scure/btc-signer');
@@ -75,14 +75,14 @@ var ContractHandlerRegistry = class {
75
75
  var contractHandlers = new ContractHandlerRegistry();
76
76
  exports.DefaultVtxo = void 0;
77
77
  ((DefaultVtxo2) => {
78
- class Script3 extends chunkXR23C6TF_cjs.VtxoScript {
78
+ class Script3 extends chunkGLLBSULU_cjs.VtxoScript {
79
79
  /** Create the default virtual output script with one forfeit path and one exit path. */
80
80
  constructor(options) {
81
81
  const { pubKey, serverPubKey, csvTimelock } = options;
82
- const forfeitScript = chunkXR23C6TF_cjs.MultisigTapscript.encode({
82
+ const forfeitScript = chunkGLLBSULU_cjs.MultisigTapscript.encode({
83
83
  pubkeys: [pubKey, serverPubKey]
84
84
  }).script;
85
- const exitScript = chunkXR23C6TF_cjs.CSVMultisigTapscript.encode({
85
+ const exitScript = chunkGLLBSULU_cjs.CSVMultisigTapscript.encode({
86
86
  timelock: csvTimelock,
87
87
  pubkeys: [pubKey]
88
88
  }).script;
@@ -274,7 +274,7 @@ function extractPubKeyBytes(value) {
274
274
  return base.hex.decode(extractPubKey(normalizeToDescriptor(value)));
275
275
  }
276
276
  function deserializeCsvTimelock(value) {
277
- return value !== void 0 && value !== "" ? chunkXR23C6TF_cjs.sequenceToTimelock(Number(value)) : exports.DefaultVtxo.Script.DEFAULT_TIMELOCK;
277
+ return value !== void 0 && value !== "" ? chunkGLLBSULU_cjs.sequenceToTimelock(Number(value)) : exports.DefaultVtxo.Script.DEFAULT_TIMELOCK;
278
278
  }
279
279
  var CLTV_HEIGHT_THRESHOLD = 500000000n;
280
280
  function isCltvSatisfied(context, locktime) {
@@ -316,7 +316,7 @@ function assertVhtlcSpendableNow(contract, context) {
316
316
  function isCsvSpendable(context, sequence) {
317
317
  if (sequence === void 0) return true;
318
318
  if (!context.vtxo) return false;
319
- const timelock = chunkXR23C6TF_cjs.sequenceToTimelock(sequence);
319
+ const timelock = chunkGLLBSULU_cjs.sequenceToTimelock(sequence);
320
320
  if (timelock.type === "blocks") {
321
321
  if (context.blockHeight === void 0 || context.vtxo.status.block_height === void 0) {
322
322
  return false;
@@ -374,21 +374,21 @@ function forfeitExitSpendablePaths(script, contract, context) {
374
374
  async function detectUsedScripts(indexerProvider, scriptHexes) {
375
375
  const used = /* @__PURE__ */ new Set();
376
376
  const unique = [...new Set(scriptHexes)];
377
- for (let offset = 0; offset < unique.length; offset += chunkXR23C6TF_cjs.SCRIPT_QUERY_CHUNK_SIZE) {
378
- const scripts = unique.slice(offset, offset + chunkXR23C6TF_cjs.SCRIPT_QUERY_CHUNK_SIZE);
377
+ for (let offset = 0; offset < unique.length; offset += chunkGLLBSULU_cjs.SCRIPT_QUERY_CHUNK_SIZE) {
378
+ const scripts = unique.slice(offset, offset + chunkGLLBSULU_cjs.SCRIPT_QUERY_CHUNK_SIZE);
379
379
  const remaining = new Set(scripts);
380
380
  let pageIndex = 0;
381
381
  let hasMore = true;
382
382
  while (hasMore && remaining.size > 0) {
383
- const { vtxos, page } = await chunkXR23C6TF_cjs.getNormalizedVtxos(indexerProvider, {
383
+ const { vtxos, page } = await chunkGLLBSULU_cjs.getNormalizedVtxos(indexerProvider, {
384
384
  scripts,
385
385
  pageIndex,
386
- pageSize: chunkXR23C6TF_cjs.DEFAULT_PAGE_SIZE
386
+ pageSize: chunkGLLBSULU_cjs.DEFAULT_PAGE_SIZE
387
387
  });
388
388
  for (const vtxo of vtxos) {
389
389
  if (remaining.delete(vtxo.script)) used.add(vtxo.script);
390
390
  }
391
- hasMore = page ? vtxos.length === chunkXR23C6TF_cjs.DEFAULT_PAGE_SIZE : false;
391
+ hasMore = page ? vtxos.length === chunkGLLBSULU_cjs.DEFAULT_PAGE_SIZE : false;
392
392
  pageIndex++;
393
393
  }
394
394
  }
@@ -449,7 +449,7 @@ var DefaultContractHandler = {
449
449
  return {
450
450
  pubKey: base.hex.encode(params.pubKey),
451
451
  serverPubKey: base.hex.encode(params.serverPubKey),
452
- csvTimelock: chunkXR23C6TF_cjs.timelockToSequence(params.csvTimelock).toString()
452
+ csvTimelock: chunkGLLBSULU_cjs.timelockToSequence(params.csvTimelock).toString()
453
453
  };
454
454
  },
455
455
  deserializeParams(params) {
@@ -484,7 +484,7 @@ function defaultCandidatesAt(_index, descriptor, deps) {
484
484
  params: {
485
485
  pubKey: base.hex.encode(c.pubKey),
486
486
  serverPubKey: base.hex.encode(c.serverPubKey),
487
- csvTimelock: chunkXR23C6TF_cjs.timelockToSequence(c.csvTimelock).toString()
487
+ csvTimelock: chunkGLLBSULU_cjs.timelockToSequence(c.csvTimelock).toString()
488
488
  },
489
489
  script: c.scriptHex,
490
490
  address: c.script.address(deps.network.hrp, c.serverPubKey).encode()
@@ -500,12 +500,12 @@ function discoverDefaultRange(entries, deps) {
500
500
  }
501
501
  exports.DelegateVtxo = void 0;
502
502
  ((DelegateVtxo2) => {
503
- class Script3 extends chunkXR23C6TF_cjs.VtxoScript {
503
+ class Script3 extends chunkGLLBSULU_cjs.VtxoScript {
504
504
  /** Create a delegated virtual output script with forfeit, exit, and delegate paths. */
505
505
  constructor(options) {
506
506
  const defaultVtxo = new exports.DefaultVtxo.Script(options);
507
507
  const { delegatePubKey, pubKey, serverPubKey } = options;
508
- const delegateScript = chunkXR23C6TF_cjs.MultisigTapscript.encode({
508
+ const delegateScript = chunkGLLBSULU_cjs.MultisigTapscript.encode({
509
509
  pubkeys: [pubKey, delegatePubKey, serverPubKey]
510
510
  }).script;
511
511
  super([...defaultVtxo.scripts, delegateScript]);
@@ -544,7 +544,7 @@ var DelegateContractHandler = {
544
544
  pubKey: base.hex.encode(params.pubKey),
545
545
  serverPubKey: base.hex.encode(params.serverPubKey),
546
546
  delegatePubKey: base.hex.encode(params.delegatePubKey),
547
- csvTimelock: chunkXR23C6TF_cjs.timelockToSequence(params.csvTimelock).toString()
547
+ csvTimelock: chunkGLLBSULU_cjs.timelockToSequence(params.csvTimelock).toString()
548
548
  };
549
549
  },
550
550
  deserializeParams(params) {
@@ -588,7 +588,7 @@ function delegateCandidatesAt(_index, descriptor, deps) {
588
588
  pubKey: base.hex.encode(c.pubKey),
589
589
  serverPubKey: base.hex.encode(c.serverPubKey),
590
590
  delegatePubKey: base.hex.encode(delegatePubKey),
591
- csvTimelock: chunkXR23C6TF_cjs.timelockToSequence(c.csvTimelock).toString()
591
+ csvTimelock: chunkGLLBSULU_cjs.timelockToSequence(c.csvTimelock).toString()
592
592
  },
593
593
  script: c.scriptHex,
594
594
  address: c.script.address(deps.network.hrp, c.serverPubKey).encode()
@@ -1242,7 +1242,7 @@ function getOpcodeValue(name) {
1242
1242
 
1243
1243
  // src/arkade/bignum.ts
1244
1244
  var bignum_exports = {};
1245
- chunkXR23C6TF_cjs.__export(bignum_exports, {
1245
+ chunkGLLBSULU_cjs.__export(bignum_exports, {
1246
1246
  BIGNUM_MAX_BYTES: () => BIGNUM_MAX_BYTES,
1247
1247
  decode: () => decode,
1248
1248
  encode: () => encode
@@ -1431,7 +1431,7 @@ function computeArkadeScriptPublicKey(pubKey, script) {
1431
1431
  // src/script/vhtlc.ts
1432
1432
  exports.VHTLC = void 0;
1433
1433
  ((VHTLC2) => {
1434
- class BaseScript extends chunkXR23C6TF_cjs.VtxoScript {
1434
+ class BaseScript extends chunkGLLBSULU_cjs.VtxoScript {
1435
1435
  options;
1436
1436
  claimScript;
1437
1437
  refundScript;
@@ -1458,27 +1458,27 @@ exports.VHTLC = void 0;
1458
1458
  unilateralRefundWithoutReceiverDelay
1459
1459
  } = options;
1460
1460
  const conditionScript = preimageCondition(preimageHash);
1461
- const claimScript = chunkXR23C6TF_cjs.ConditionMultisigTapscript.encode({
1461
+ const claimScript = chunkGLLBSULU_cjs.ConditionMultisigTapscript.encode({
1462
1462
  conditionScript,
1463
1463
  pubkeys: [receiver, server]
1464
1464
  }).script;
1465
- const refundScript = chunkXR23C6TF_cjs.MultisigTapscript.encode({
1465
+ const refundScript = chunkGLLBSULU_cjs.MultisigTapscript.encode({
1466
1466
  pubkeys: [sender, receiver, server]
1467
1467
  }).script;
1468
- const refundWithoutReceiverScript = chunkXR23C6TF_cjs.CLTVMultisigTapscript.encode({
1468
+ const refundWithoutReceiverScript = chunkGLLBSULU_cjs.CLTVMultisigTapscript.encode({
1469
1469
  absoluteTimelock: refundLocktime,
1470
1470
  pubkeys: [sender, server]
1471
1471
  }).script;
1472
- const unilateralClaimScript = chunkXR23C6TF_cjs.ConditionCSVMultisigTapscript.encode({
1472
+ const unilateralClaimScript = chunkGLLBSULU_cjs.ConditionCSVMultisigTapscript.encode({
1473
1473
  conditionScript,
1474
1474
  timelock: unilateralClaimDelay,
1475
1475
  pubkeys: [receiver]
1476
1476
  }).script;
1477
- const unilateralRefundScript = chunkXR23C6TF_cjs.CSVMultisigTapscript.encode({
1477
+ const unilateralRefundScript = chunkGLLBSULU_cjs.CSVMultisigTapscript.encode({
1478
1478
  timelock: unilateralRefundDelay,
1479
1479
  pubkeys: [sender, receiver]
1480
1480
  }).script;
1481
- const unilateralRefundWithoutReceiverScript = chunkXR23C6TF_cjs.CSVMultisigTapscript.encode({
1481
+ const unilateralRefundWithoutReceiverScript = chunkGLLBSULU_cjs.CSVMultisigTapscript.encode({
1482
1482
  timelock: unilateralRefundWithoutReceiverDelay,
1483
1483
  pubkeys: [sender]
1484
1484
  }).script;
@@ -1498,7 +1498,7 @@ exports.VHTLC = void 0;
1498
1498
  const covenants = options.nonInteractiveParameters;
1499
1499
  if (covenants) {
1500
1500
  arkadeScriptNic = enforcePayToMaybeAsset(covenants.receiverPkScript, options.asset);
1501
- nonInteractiveClaimScript = chunkXR23C6TF_cjs.ConditionMultisigTapscript.encode({
1501
+ nonInteractiveClaimScript = chunkGLLBSULU_cjs.ConditionMultisigTapscript.encode({
1502
1502
  conditionScript,
1503
1503
  pubkeys: [
1504
1504
  server,
@@ -1511,12 +1511,12 @@ exports.VHTLC = void 0;
1511
1511
  covenants.emulatorPubkey,
1512
1512
  arkadeScriptNir
1513
1513
  );
1514
- nonInteractiveRefundScript = chunkXR23C6TF_cjs.MultisigTapscript.encode({
1514
+ nonInteractiveRefundScript = chunkGLLBSULU_cjs.MultisigTapscript.encode({
1515
1515
  pubkeys: [server, receiver, nirCosigner]
1516
1516
  }).script;
1517
1517
  scripts.push(nonInteractiveRefundScript);
1518
1518
  if (covenants.legacy !== "preTimelockedRefund") {
1519
- nonInteractiveRefundWithoutReceiverScript = chunkXR23C6TF_cjs.CLTVMultisigTapscript.encode({
1519
+ nonInteractiveRefundWithoutReceiverScript = chunkGLLBSULU_cjs.CLTVMultisigTapscript.encode({
1520
1520
  absoluteTimelock: refundLocktime,
1521
1521
  pubkeys: [server, nirCosigner]
1522
1522
  }).script;
@@ -1830,9 +1830,9 @@ var VHTLCContractHandler = {
1830
1830
  server: base.hex.encode(params.server),
1831
1831
  hash: base.hex.encode(params.preimageHash),
1832
1832
  refundLocktime: params.refundLocktime.toString(),
1833
- claimDelay: chunkXR23C6TF_cjs.timelockToSequence(params.unilateralClaimDelay).toString(),
1834
- refundDelay: chunkXR23C6TF_cjs.timelockToSequence(params.unilateralRefundDelay).toString(),
1835
- refundNoReceiverDelay: chunkXR23C6TF_cjs.timelockToSequence(
1833
+ claimDelay: chunkGLLBSULU_cjs.timelockToSequence(params.unilateralClaimDelay).toString(),
1834
+ refundDelay: chunkGLLBSULU_cjs.timelockToSequence(params.unilateralRefundDelay).toString(),
1835
+ refundNoReceiverDelay: chunkGLLBSULU_cjs.timelockToSequence(
1836
1836
  params.unilateralRefundWithoutReceiverDelay
1837
1837
  ).toString()
1838
1838
  };
@@ -1844,9 +1844,9 @@ var VHTLCContractHandler = {
1844
1844
  server: base.hex.decode(params.server),
1845
1845
  preimageHash: base.hex.decode(params.hash),
1846
1846
  refundLocktime: BigInt(params.refundLocktime),
1847
- unilateralClaimDelay: chunkXR23C6TF_cjs.sequenceToTimelock(Number(params.claimDelay)),
1848
- unilateralRefundDelay: chunkXR23C6TF_cjs.sequenceToTimelock(Number(params.refundDelay)),
1849
- unilateralRefundWithoutReceiverDelay: chunkXR23C6TF_cjs.sequenceToTimelock(
1847
+ unilateralClaimDelay: chunkGLLBSULU_cjs.sequenceToTimelock(Number(params.claimDelay)),
1848
+ unilateralRefundDelay: chunkGLLBSULU_cjs.sequenceToTimelock(Number(params.refundDelay)),
1849
+ unilateralRefundWithoutReceiverDelay: chunkGLLBSULU_cjs.sequenceToTimelock(
1850
1850
  Number(params.refundNoReceiverDelay)
1851
1851
  )
1852
1852
  };
@@ -2092,9 +2092,9 @@ var VHTLCV2ContractHandler = {
2092
2092
  server: base.hex.encode(params.server),
2093
2093
  hash: base.hex.encode(params.preimageHash),
2094
2094
  refundLocktime: params.refundLocktime.toString(),
2095
- claimDelay: chunkXR23C6TF_cjs.timelockToSequence(params.unilateralClaimDelay).toString(),
2096
- refundDelay: chunkXR23C6TF_cjs.timelockToSequence(params.unilateralRefundDelay).toString(),
2097
- refundNoReceiverDelay: chunkXR23C6TF_cjs.timelockToSequence(
2095
+ claimDelay: chunkGLLBSULU_cjs.timelockToSequence(params.unilateralClaimDelay).toString(),
2096
+ refundDelay: chunkGLLBSULU_cjs.timelockToSequence(params.unilateralRefundDelay).toString(),
2097
+ refundNoReceiverDelay: chunkGLLBSULU_cjs.timelockToSequence(
2098
2098
  params.unilateralRefundWithoutReceiverDelay
2099
2099
  ).toString(),
2100
2100
  // The on-disk keys keep their per-leaf names even though the typed
@@ -2194,9 +2194,9 @@ var VHTLCV2ContractHandler = {
2194
2194
  preimageHash: base.hex.decode(params.hash),
2195
2195
  refundLocktime: BigInt(params.refundLocktime),
2196
2196
  ...asset && { asset },
2197
- unilateralClaimDelay: chunkXR23C6TF_cjs.sequenceToTimelock(Number(params.claimDelay)),
2198
- unilateralRefundDelay: chunkXR23C6TF_cjs.sequenceToTimelock(Number(params.refundDelay)),
2199
- unilateralRefundWithoutReceiverDelay: chunkXR23C6TF_cjs.sequenceToTimelock(
2197
+ unilateralClaimDelay: chunkGLLBSULU_cjs.sequenceToTimelock(Number(params.claimDelay)),
2198
+ unilateralRefundDelay: chunkGLLBSULU_cjs.sequenceToTimelock(Number(params.refundDelay)),
2199
+ unilateralRefundWithoutReceiverDelay: chunkGLLBSULU_cjs.sequenceToTimelock(
2200
2200
  Number(params.refundNoReceiverDelay)
2201
2201
  ),
2202
2202
  ...claim && refund && {
@@ -2468,7 +2468,7 @@ var BoardingContractHandler = {
2468
2468
  const coins = await deps.onchainProvider.getCoins(onchainAddress);
2469
2469
  if (coins.length === 0) return [];
2470
2470
  const scriptHex = base.hex.encode(script.pkScript);
2471
- const boardingSeq = chunkXR23C6TF_cjs.timelockToSequence(deps.boardingTimelock);
2471
+ const boardingSeq = chunkGLLBSULU_cjs.timelockToSequence(deps.boardingTimelock);
2472
2472
  return [
2473
2473
  {
2474
2474
  type: "boarding",
@@ -2629,27 +2629,27 @@ function encodeTapscriptSegment(seg, pubkeys, args) {
2629
2629
  if (seg.csv) {
2630
2630
  const timelock = { type: seg.csv.type, value: resolveTimelockValue(seg.csv.value, args) };
2631
2631
  if (seg.asm) {
2632
- return chunkXR23C6TF_cjs.ConditionCSVMultisigTapscript.encode({
2632
+ return chunkGLLBSULU_cjs.ConditionCSVMultisigTapscript.encode({
2633
2633
  conditionScript: resolveAsm(seg.asm, args),
2634
2634
  timelock,
2635
2635
  pubkeys
2636
2636
  });
2637
2637
  }
2638
- return chunkXR23C6TF_cjs.CSVMultisigTapscript.encode({ timelock, pubkeys });
2638
+ return chunkGLLBSULU_cjs.CSVMultisigTapscript.encode({ timelock, pubkeys });
2639
2639
  }
2640
2640
  if (seg.cltv !== void 0) {
2641
- return chunkXR23C6TF_cjs.CLTVMultisigTapscript.encode({
2641
+ return chunkGLLBSULU_cjs.CLTVMultisigTapscript.encode({
2642
2642
  absoluteTimelock: resolveTimelockValue(seg.cltv, args),
2643
2643
  pubkeys
2644
2644
  });
2645
2645
  }
2646
2646
  if (seg.asm) {
2647
- return chunkXR23C6TF_cjs.ConditionMultisigTapscript.encode({
2647
+ return chunkGLLBSULU_cjs.ConditionMultisigTapscript.encode({
2648
2648
  conditionScript: resolveAsm(seg.asm, args),
2649
2649
  pubkeys
2650
2650
  });
2651
2651
  }
2652
- return chunkXR23C6TF_cjs.MultisigTapscript.encode({ pubkeys });
2652
+ return chunkGLLBSULU_cjs.MultisigTapscript.encode({ pubkeys });
2653
2653
  }
2654
2654
  function compileFunctions(program, args, keys) {
2655
2655
  if (program.version !== SUPPORTED_PROGRAM_VERSION) {
@@ -2679,7 +2679,7 @@ function compileFunctions(program, args, keys) {
2679
2679
  return { name: names[i], def, leafScript, arkadeScript, signerKeys: pubkeys };
2680
2680
  });
2681
2681
  }
2682
- var ArkadeProgramScript = class extends chunkXR23C6TF_cjs.VtxoScript {
2682
+ var ArkadeProgramScript = class extends chunkGLLBSULU_cjs.VtxoScript {
2683
2683
  constructor(program, args, keys) {
2684
2684
  const partial = compileFunctions(program, args, keys);
2685
2685
  super(partial.map((p) => p.leafScript));
@@ -2882,7 +2882,7 @@ function pathsFor(script, context, opts) {
2882
2882
  continue;
2883
2883
  }
2884
2884
  if (requiresServer) continue;
2885
- const sequence = csv ? Number(chunkXR23C6TF_cjs.timelockToSequence(csv)) : void 0;
2885
+ const sequence = csv ? Number(chunkGLLBSULU_cjs.timelockToSequence(csv)) : void 0;
2886
2886
  if (opts.checkTimelocks && csv && !isCsvSpendable(context, sequence)) continue;
2887
2887
  if (opts.checkTimelocks && cltv !== void 0 && !isCltvSatisfied(context, cltv)) {
2888
2888
  continue;
@@ -3011,5 +3011,5 @@ exports.toASM = toASM;
3011
3011
  exports.toXOnly = toXOnly;
3012
3012
  exports.validateProgram = validateProgram;
3013
3013
  exports.witnessRefToBytes = witnessRefToBytes;
3014
- //# sourceMappingURL=chunk-ZF52B7BV.cjs.map
3015
- //# sourceMappingURL=chunk-ZF52B7BV.cjs.map
3014
+ //# sourceMappingURL=chunk-A2T3GGAK.cjs.map
3015
+ //# sourceMappingURL=chunk-A2T3GGAK.cjs.map