@arkade-os/sdk 0.5.0-rc.20 → 0.5.0-rc.21
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/dist/adapters/expo.cjs +5 -5
- package/dist/adapters/expo.js +3 -3
- package/dist/{chunk-NR4XYTN3.js → chunk-4FDNOLBO.js} +3 -3
- package/dist/{chunk-NR4XYTN3.js.map → chunk-4FDNOLBO.js.map} +1 -1
- package/dist/{chunk-T6N6B7HK.cjs → chunk-5XBH5SAL.cjs} +3 -3
- package/dist/{chunk-T6N6B7HK.cjs.map → chunk-5XBH5SAL.cjs.map} +1 -1
- package/dist/{chunk-TIVYJIIX.js → chunk-CXHJGED6.js} +3 -3
- package/dist/{chunk-TIVYJIIX.js.map → chunk-CXHJGED6.js.map} +1 -1
- package/dist/{chunk-O2ZZD5Z6.js → chunk-EXFU6MTA.js} +5 -5
- package/dist/{chunk-O2ZZD5Z6.js.map → chunk-EXFU6MTA.js.map} +1 -1
- package/dist/{chunk-5SLUXXWQ.cjs → chunk-GVF4OCTL.cjs} +48 -48
- package/dist/{chunk-5SLUXXWQ.cjs.map → chunk-GVF4OCTL.cjs.map} +1 -1
- package/dist/{chunk-6YVGWOLG.cjs → chunk-HIZNPHB2.cjs} +15 -15
- package/dist/{chunk-6YVGWOLG.cjs.map → chunk-HIZNPHB2.cjs.map} +1 -1
- package/dist/{chunk-AARSVV3S.js → chunk-JZAEFOE4.js} +3 -3
- package/dist/{chunk-AARSVV3S.js.map → chunk-JZAEFOE4.js.map} +1 -1
- package/dist/{chunk-P267BXL7.js → chunk-LNJPVLIC.js} +4 -4
- package/dist/{chunk-P267BXL7.js.map → chunk-LNJPVLIC.js.map} +1 -1
- package/dist/{chunk-P42MGA4K.cjs → chunk-Q7PC3NHX.cjs} +18 -18
- package/dist/{chunk-P42MGA4K.cjs.map → chunk-Q7PC3NHX.cjs.map} +1 -1
- package/dist/{chunk-QARA4IYT.cjs → chunk-R5OFJ23O.cjs} +483 -483
- package/dist/{chunk-QARA4IYT.cjs.map → chunk-R5OFJ23O.cjs.map} +1 -1
- package/dist/{chunk-IM3J3T5P.js → chunk-S2WWOVFC.js} +4 -4
- package/dist/{chunk-IM3J3T5P.js.map → chunk-S2WWOVFC.js.map} +1 -1
- package/dist/{chunk-AFJSJACF.cjs → chunk-VZMLADXQ.cjs} +10 -10
- package/dist/{chunk-AFJSJACF.cjs.map → chunk-VZMLADXQ.cjs.map} +1 -1
- package/dist/contracts/handlers/index.cjs +9 -9
- package/dist/contracts/handlers/index.js +2 -2
- package/dist/index.cjs +309 -309
- package/dist/index.js +4 -4
- package/dist/repositories/realm/index.cjs +35 -35
- package/dist/repositories/realm/index.js +5 -5
- package/dist/repositories/sqlite/index.cjs +33 -33
- package/dist/repositories/sqlite/index.js +5 -5
- package/dist/wallet/expo/background.cjs +14 -14
- package/dist/wallet/expo/background.js +6 -6
- package/dist/wallet/expo/index.cjs +15 -15
- package/dist/wallet/expo/index.js +5 -5
- package/dist/worker/expo/index.cjs +9 -9
- package/dist/worker/expo/index.js +5 -5
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk5XBH5SAL_cjs = require('./chunk-5XBH5SAL.cjs');
|
|
4
4
|
var base = require('@scure/base');
|
|
5
5
|
var descriptorsScure = require('@bitcoinerlab/descriptors-scure');
|
|
6
6
|
var btcSigner = require('@scure/btc-signer');
|
|
@@ -67,14 +67,14 @@ var ContractHandlerRegistry = class {
|
|
|
67
67
|
var contractHandlers = new ContractHandlerRegistry();
|
|
68
68
|
exports.DefaultVtxo = void 0;
|
|
69
69
|
((DefaultVtxo2) => {
|
|
70
|
-
class Script3 extends
|
|
70
|
+
class Script3 extends chunk5XBH5SAL_cjs.VtxoScript {
|
|
71
71
|
/** Create the default virtual output script with one forfeit path and one exit path. */
|
|
72
72
|
constructor(options) {
|
|
73
73
|
const { pubKey, serverPubKey, csvTimelock } = options;
|
|
74
|
-
const forfeitScript =
|
|
74
|
+
const forfeitScript = chunk5XBH5SAL_cjs.MultisigTapscript.encode({
|
|
75
75
|
pubkeys: [pubKey, serverPubKey]
|
|
76
76
|
}).script;
|
|
77
|
-
const exitScript =
|
|
77
|
+
const exitScript = chunk5XBH5SAL_cjs.CSVMultisigTapscript.encode({
|
|
78
78
|
timelock: csvTimelock,
|
|
79
79
|
pubkeys: [pubKey]
|
|
80
80
|
}).script;
|
|
@@ -266,7 +266,7 @@ function extractPubKeyBytes(value) {
|
|
|
266
266
|
return base.hex.decode(extractPubKey(normalizeToDescriptor(value)));
|
|
267
267
|
}
|
|
268
268
|
function deserializeCsvTimelock(value) {
|
|
269
|
-
return value !== void 0 && value !== "" ?
|
|
269
|
+
return value !== void 0 && value !== "" ? chunk5XBH5SAL_cjs.sequenceToTimelock(Number(value)) : exports.DefaultVtxo.Script.DEFAULT_TIMELOCK;
|
|
270
270
|
}
|
|
271
271
|
var CLTV_HEIGHT_THRESHOLD = 500000000n;
|
|
272
272
|
function isCltvSatisfied(context, locktime) {
|
|
@@ -437,7 +437,7 @@ function deriveVhtlcTapscripts(script) {
|
|
|
437
437
|
function isCsvSpendable(context, sequence) {
|
|
438
438
|
if (sequence === void 0) return true;
|
|
439
439
|
if (!context.vtxo) return false;
|
|
440
|
-
const timelock =
|
|
440
|
+
const timelock = chunk5XBH5SAL_cjs.sequenceToTimelock(sequence);
|
|
441
441
|
if (timelock.type === "blocks") {
|
|
442
442
|
if (context.blockHeight === void 0 || context.vtxo.status.block_height === void 0) {
|
|
443
443
|
return false;
|
|
@@ -495,21 +495,21 @@ function forfeitExitSpendablePaths(script, contract, context) {
|
|
|
495
495
|
async function detectUsedScripts(indexerProvider, scriptHexes) {
|
|
496
496
|
const used = /* @__PURE__ */ new Set();
|
|
497
497
|
const unique = [...new Set(scriptHexes)];
|
|
498
|
-
for (let offset = 0; offset < unique.length; offset +=
|
|
499
|
-
const scripts = unique.slice(offset, offset +
|
|
498
|
+
for (let offset = 0; offset < unique.length; offset += chunk5XBH5SAL_cjs.SCRIPT_QUERY_CHUNK_SIZE) {
|
|
499
|
+
const scripts = unique.slice(offset, offset + chunk5XBH5SAL_cjs.SCRIPT_QUERY_CHUNK_SIZE);
|
|
500
500
|
const remaining = new Set(scripts);
|
|
501
501
|
let pageIndex = 0;
|
|
502
502
|
let hasMore = true;
|
|
503
503
|
while (hasMore && remaining.size > 0) {
|
|
504
|
-
const { vtxos, page } = await
|
|
504
|
+
const { vtxos, page } = await chunk5XBH5SAL_cjs.getNormalizedVtxos(indexerProvider, {
|
|
505
505
|
scripts,
|
|
506
506
|
pageIndex,
|
|
507
|
-
pageSize:
|
|
507
|
+
pageSize: chunk5XBH5SAL_cjs.DEFAULT_PAGE_SIZE
|
|
508
508
|
});
|
|
509
509
|
for (const vtxo of vtxos) {
|
|
510
510
|
if (remaining.delete(vtxo.script)) used.add(vtxo.script);
|
|
511
511
|
}
|
|
512
|
-
hasMore = page ? vtxos.length ===
|
|
512
|
+
hasMore = page ? vtxos.length === chunk5XBH5SAL_cjs.DEFAULT_PAGE_SIZE : false;
|
|
513
513
|
pageIndex++;
|
|
514
514
|
}
|
|
515
515
|
}
|
|
@@ -570,7 +570,7 @@ var DefaultContractHandler = {
|
|
|
570
570
|
return {
|
|
571
571
|
pubKey: base.hex.encode(params.pubKey),
|
|
572
572
|
serverPubKey: base.hex.encode(params.serverPubKey),
|
|
573
|
-
csvTimelock:
|
|
573
|
+
csvTimelock: chunk5XBH5SAL_cjs.timelockToSequence(params.csvTimelock).toString()
|
|
574
574
|
};
|
|
575
575
|
},
|
|
576
576
|
deserializeParams(params) {
|
|
@@ -617,12 +617,12 @@ function discoverDefaultRange(entries, deps) {
|
|
|
617
617
|
}
|
|
618
618
|
exports.DelegateVtxo = void 0;
|
|
619
619
|
((DelegateVtxo2) => {
|
|
620
|
-
class Script3 extends
|
|
620
|
+
class Script3 extends chunk5XBH5SAL_cjs.VtxoScript {
|
|
621
621
|
/** Create a delegated virtual output script with forfeit, exit, and delegate paths. */
|
|
622
622
|
constructor(options) {
|
|
623
623
|
const defaultVtxo = new exports.DefaultVtxo.Script(options);
|
|
624
624
|
const { delegatePubKey, pubKey, serverPubKey } = options;
|
|
625
|
-
const delegateScript =
|
|
625
|
+
const delegateScript = chunk5XBH5SAL_cjs.MultisigTapscript.encode({
|
|
626
626
|
pubkeys: [pubKey, delegatePubKey, serverPubKey]
|
|
627
627
|
}).script;
|
|
628
628
|
super([...defaultVtxo.scripts, delegateScript]);
|
|
@@ -661,7 +661,7 @@ var DelegateContractHandler = {
|
|
|
661
661
|
pubKey: base.hex.encode(params.pubKey),
|
|
662
662
|
serverPubKey: base.hex.encode(params.serverPubKey),
|
|
663
663
|
delegatePubKey: base.hex.encode(params.delegatePubKey),
|
|
664
|
-
csvTimelock:
|
|
664
|
+
csvTimelock: chunk5XBH5SAL_cjs.timelockToSequence(params.csvTimelock).toString()
|
|
665
665
|
};
|
|
666
666
|
},
|
|
667
667
|
deserializeParams(params) {
|
|
@@ -855,7 +855,7 @@ function getOpcodeValue(name) {
|
|
|
855
855
|
|
|
856
856
|
// src/arkade/bignum.ts
|
|
857
857
|
var bignum_exports = {};
|
|
858
|
-
|
|
858
|
+
chunk5XBH5SAL_cjs.__export(bignum_exports, {
|
|
859
859
|
BIGNUM_MAX_BYTES: () => BIGNUM_MAX_BYTES,
|
|
860
860
|
decode: () => decode,
|
|
861
861
|
encode: () => encode
|
|
@@ -1044,7 +1044,7 @@ function computeArkadeScriptPublicKey(pubKey, script) {
|
|
|
1044
1044
|
// src/script/vhtlc.ts
|
|
1045
1045
|
exports.VHTLC = void 0;
|
|
1046
1046
|
((VHTLC2) => {
|
|
1047
|
-
class BaseScript extends
|
|
1047
|
+
class BaseScript extends chunk5XBH5SAL_cjs.VtxoScript {
|
|
1048
1048
|
options;
|
|
1049
1049
|
claimScript;
|
|
1050
1050
|
refundScript;
|
|
@@ -1071,27 +1071,27 @@ exports.VHTLC = void 0;
|
|
|
1071
1071
|
unilateralRefundWithoutReceiverDelay
|
|
1072
1072
|
} = options;
|
|
1073
1073
|
const conditionScript = preimageCondition(preimageHash);
|
|
1074
|
-
const claimScript =
|
|
1074
|
+
const claimScript = chunk5XBH5SAL_cjs.ConditionMultisigTapscript.encode({
|
|
1075
1075
|
conditionScript,
|
|
1076
1076
|
pubkeys: [receiver, server]
|
|
1077
1077
|
}).script;
|
|
1078
|
-
const refundScript =
|
|
1078
|
+
const refundScript = chunk5XBH5SAL_cjs.MultisigTapscript.encode({
|
|
1079
1079
|
pubkeys: [sender, receiver, server]
|
|
1080
1080
|
}).script;
|
|
1081
|
-
const refundWithoutReceiverScript =
|
|
1081
|
+
const refundWithoutReceiverScript = chunk5XBH5SAL_cjs.CLTVMultisigTapscript.encode({
|
|
1082
1082
|
absoluteTimelock: refundLocktime,
|
|
1083
1083
|
pubkeys: [sender, server]
|
|
1084
1084
|
}).script;
|
|
1085
|
-
const unilateralClaimScript =
|
|
1085
|
+
const unilateralClaimScript = chunk5XBH5SAL_cjs.ConditionCSVMultisigTapscript.encode({
|
|
1086
1086
|
conditionScript,
|
|
1087
1087
|
timelock: unilateralClaimDelay,
|
|
1088
1088
|
pubkeys: [receiver]
|
|
1089
1089
|
}).script;
|
|
1090
|
-
const unilateralRefundScript =
|
|
1090
|
+
const unilateralRefundScript = chunk5XBH5SAL_cjs.CSVMultisigTapscript.encode({
|
|
1091
1091
|
timelock: unilateralRefundDelay,
|
|
1092
1092
|
pubkeys: [sender, receiver]
|
|
1093
1093
|
}).script;
|
|
1094
|
-
const unilateralRefundWithoutReceiverScript =
|
|
1094
|
+
const unilateralRefundWithoutReceiverScript = chunk5XBH5SAL_cjs.CSVMultisigTapscript.encode({
|
|
1095
1095
|
timelock: unilateralRefundWithoutReceiverDelay,
|
|
1096
1096
|
pubkeys: [sender]
|
|
1097
1097
|
}).script;
|
|
@@ -1111,7 +1111,7 @@ exports.VHTLC = void 0;
|
|
|
1111
1111
|
const covenants = options.nonInteractiveParameters;
|
|
1112
1112
|
if (covenants) {
|
|
1113
1113
|
arkadeScriptNic = enforcePayToMaybeAsset(covenants.receiverPkScript, options.asset);
|
|
1114
|
-
nonInteractiveClaimScript =
|
|
1114
|
+
nonInteractiveClaimScript = chunk5XBH5SAL_cjs.ConditionMultisigTapscript.encode({
|
|
1115
1115
|
conditionScript,
|
|
1116
1116
|
pubkeys: [
|
|
1117
1117
|
server,
|
|
@@ -1124,12 +1124,12 @@ exports.VHTLC = void 0;
|
|
|
1124
1124
|
covenants.emulatorPubkey,
|
|
1125
1125
|
arkadeScriptNir
|
|
1126
1126
|
);
|
|
1127
|
-
nonInteractiveRefundScript =
|
|
1127
|
+
nonInteractiveRefundScript = chunk5XBH5SAL_cjs.MultisigTapscript.encode({
|
|
1128
1128
|
pubkeys: [server, receiver, nirCosigner]
|
|
1129
1129
|
}).script;
|
|
1130
1130
|
scripts.push(nonInteractiveRefundScript);
|
|
1131
1131
|
if (covenants.legacy !== "preTimelockedRefund") {
|
|
1132
|
-
nonInteractiveRefundWithoutReceiverScript =
|
|
1132
|
+
nonInteractiveRefundWithoutReceiverScript = chunk5XBH5SAL_cjs.CLTVMultisigTapscript.encode({
|
|
1133
1133
|
absoluteTimelock: refundLocktime,
|
|
1134
1134
|
pubkeys: [server, nirCosigner]
|
|
1135
1135
|
}).script;
|
|
@@ -1405,9 +1405,9 @@ var VHTLCContractHandler = {
|
|
|
1405
1405
|
server: base.hex.encode(params.server),
|
|
1406
1406
|
hash: base.hex.encode(params.preimageHash),
|
|
1407
1407
|
refundLocktime: params.refundLocktime.toString(),
|
|
1408
|
-
claimDelay:
|
|
1409
|
-
refundDelay:
|
|
1410
|
-
refundNoReceiverDelay:
|
|
1408
|
+
claimDelay: chunk5XBH5SAL_cjs.timelockToSequence(params.unilateralClaimDelay).toString(),
|
|
1409
|
+
refundDelay: chunk5XBH5SAL_cjs.timelockToSequence(params.unilateralRefundDelay).toString(),
|
|
1410
|
+
refundNoReceiverDelay: chunk5XBH5SAL_cjs.timelockToSequence(
|
|
1411
1411
|
params.unilateralRefundWithoutReceiverDelay
|
|
1412
1412
|
).toString()
|
|
1413
1413
|
};
|
|
@@ -1419,9 +1419,9 @@ var VHTLCContractHandler = {
|
|
|
1419
1419
|
server: base.hex.decode(params.server),
|
|
1420
1420
|
preimageHash: base.hex.decode(params.hash),
|
|
1421
1421
|
refundLocktime: BigInt(params.refundLocktime),
|
|
1422
|
-
unilateralClaimDelay:
|
|
1423
|
-
unilateralRefundDelay:
|
|
1424
|
-
unilateralRefundWithoutReceiverDelay:
|
|
1422
|
+
unilateralClaimDelay: chunk5XBH5SAL_cjs.sequenceToTimelock(Number(params.claimDelay)),
|
|
1423
|
+
unilateralRefundDelay: chunk5XBH5SAL_cjs.sequenceToTimelock(Number(params.refundDelay)),
|
|
1424
|
+
unilateralRefundWithoutReceiverDelay: chunk5XBH5SAL_cjs.sequenceToTimelock(
|
|
1425
1425
|
Number(params.refundNoReceiverDelay)
|
|
1426
1426
|
)
|
|
1427
1427
|
};
|
|
@@ -1514,9 +1514,9 @@ var VHTLCV2ContractHandler = {
|
|
|
1514
1514
|
server: base.hex.encode(params.server),
|
|
1515
1515
|
hash: base.hex.encode(params.preimageHash),
|
|
1516
1516
|
refundLocktime: params.refundLocktime.toString(),
|
|
1517
|
-
claimDelay:
|
|
1518
|
-
refundDelay:
|
|
1519
|
-
refundNoReceiverDelay:
|
|
1517
|
+
claimDelay: chunk5XBH5SAL_cjs.timelockToSequence(params.unilateralClaimDelay).toString(),
|
|
1518
|
+
refundDelay: chunk5XBH5SAL_cjs.timelockToSequence(params.unilateralRefundDelay).toString(),
|
|
1519
|
+
refundNoReceiverDelay: chunk5XBH5SAL_cjs.timelockToSequence(
|
|
1520
1520
|
params.unilateralRefundWithoutReceiverDelay
|
|
1521
1521
|
).toString(),
|
|
1522
1522
|
// Per-leaf on-disk keys predate the grouped param and older rows carry exactly these;
|
|
@@ -1594,9 +1594,9 @@ var VHTLCV2ContractHandler = {
|
|
|
1594
1594
|
preimageHash: base.hex.decode(params.hash),
|
|
1595
1595
|
refundLocktime: BigInt(params.refundLocktime),
|
|
1596
1596
|
...asset && { asset },
|
|
1597
|
-
unilateralClaimDelay:
|
|
1598
|
-
unilateralRefundDelay:
|
|
1599
|
-
unilateralRefundWithoutReceiverDelay:
|
|
1597
|
+
unilateralClaimDelay: chunk5XBH5SAL_cjs.sequenceToTimelock(Number(params.claimDelay)),
|
|
1598
|
+
unilateralRefundDelay: chunk5XBH5SAL_cjs.sequenceToTimelock(Number(params.refundDelay)),
|
|
1599
|
+
unilateralRefundWithoutReceiverDelay: chunk5XBH5SAL_cjs.sequenceToTimelock(
|
|
1600
1600
|
Number(params.refundNoReceiverDelay)
|
|
1601
1601
|
),
|
|
1602
1602
|
...claim && refund && {
|
|
@@ -1739,7 +1739,7 @@ function resolveTimelockValue(value, args) {
|
|
|
1739
1739
|
function resolveCsvTimelock(csv, args) {
|
|
1740
1740
|
const value = resolveTimelockValue(csv.value, args);
|
|
1741
1741
|
if (csv.type !== "sequence") return { type: csv.type, value };
|
|
1742
|
-
const timelock =
|
|
1742
|
+
const timelock = chunk5XBH5SAL_cjs.sequenceToCanonicalTimelock(value);
|
|
1743
1743
|
if (!timelock) {
|
|
1744
1744
|
throw new Error(
|
|
1745
1745
|
`csv '${csv.value}' resolved to ${value}, which is not a canonical BIP68 sequence`
|
|
@@ -1868,27 +1868,27 @@ function encodeTapscriptSegment(seg, pubkeys, args) {
|
|
|
1868
1868
|
if (seg.csv) {
|
|
1869
1869
|
const timelock = resolveCsvTimelock(seg.csv, args);
|
|
1870
1870
|
if (seg.asm) {
|
|
1871
|
-
return
|
|
1871
|
+
return chunk5XBH5SAL_cjs.ConditionCSVMultisigTapscript.encode({
|
|
1872
1872
|
conditionScript: resolveAsm(seg.asm, args),
|
|
1873
1873
|
timelock,
|
|
1874
1874
|
pubkeys
|
|
1875
1875
|
});
|
|
1876
1876
|
}
|
|
1877
|
-
return
|
|
1877
|
+
return chunk5XBH5SAL_cjs.CSVMultisigTapscript.encode({ timelock, pubkeys });
|
|
1878
1878
|
}
|
|
1879
1879
|
if (seg.cltv !== void 0) {
|
|
1880
|
-
return
|
|
1880
|
+
return chunk5XBH5SAL_cjs.CLTVMultisigTapscript.encode({
|
|
1881
1881
|
absoluteTimelock: resolveTimelockValue(seg.cltv, args),
|
|
1882
1882
|
pubkeys
|
|
1883
1883
|
});
|
|
1884
1884
|
}
|
|
1885
1885
|
if (seg.asm) {
|
|
1886
|
-
return
|
|
1886
|
+
return chunk5XBH5SAL_cjs.ConditionMultisigTapscript.encode({
|
|
1887
1887
|
conditionScript: resolveAsm(seg.asm, args),
|
|
1888
1888
|
pubkeys
|
|
1889
1889
|
});
|
|
1890
1890
|
}
|
|
1891
|
-
return
|
|
1891
|
+
return chunk5XBH5SAL_cjs.MultisigTapscript.encode({ pubkeys });
|
|
1892
1892
|
}
|
|
1893
1893
|
function compileFunctions(program, args, keys) {
|
|
1894
1894
|
if (program.version !== SUPPORTED_PROGRAM_VERSION) {
|
|
@@ -1930,7 +1930,7 @@ function compileFunctions(program, args, keys) {
|
|
|
1930
1930
|
return { name: names[i], def, leafScript, arkadeScript, signerKeys: pubkeys };
|
|
1931
1931
|
});
|
|
1932
1932
|
}
|
|
1933
|
-
var ArkadeProgramScript = class extends
|
|
1933
|
+
var ArkadeProgramScript = class extends chunk5XBH5SAL_cjs.VtxoScript {
|
|
1934
1934
|
constructor(program, args, keys) {
|
|
1935
1935
|
const partial = compileFunctions(program, args, keys);
|
|
1936
1936
|
super(partial.map((p) => p.leafScript));
|
|
@@ -2148,7 +2148,7 @@ function pathsFor(script, context, opts) {
|
|
|
2148
2148
|
continue;
|
|
2149
2149
|
}
|
|
2150
2150
|
if (requiresServer) continue;
|
|
2151
|
-
const sequence = csv ? Number(
|
|
2151
|
+
const sequence = csv ? Number(chunk5XBH5SAL_cjs.timelockToSequence(csv)) : void 0;
|
|
2152
2152
|
if (opts.checkTimelocks && csv && !isCsvSpendable(context, sequence)) continue;
|
|
2153
2153
|
if (opts.checkTimelocks && cltv !== void 0 && !isCltvSatisfied(context, cltv)) {
|
|
2154
2154
|
continue;
|
|
@@ -2278,5 +2278,5 @@ exports.toASM = toASM;
|
|
|
2278
2278
|
exports.toXOnly = toXOnly;
|
|
2279
2279
|
exports.validateProgram = validateProgram;
|
|
2280
2280
|
exports.witnessRefToBytes = witnessRefToBytes;
|
|
2281
|
-
//# sourceMappingURL=chunk-
|
|
2282
|
-
//# sourceMappingURL=chunk-
|
|
2281
|
+
//# sourceMappingURL=chunk-GVF4OCTL.cjs.map
|
|
2282
|
+
//# sourceMappingURL=chunk-GVF4OCTL.cjs.map
|