@arkade-os/sdk 0.4.69 → 0.5.0-rc.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/README.md +35 -5
- package/dist/adapters/expo.cjs +5 -5
- package/dist/adapters/expo.d.cts +2 -2
- package/dist/adapters/expo.d.ts +2 -2
- package/dist/adapters/expo.js +3 -3
- package/dist/adapters/indexedDB.cjs +5 -5
- package/dist/adapters/indexedDB.js +4 -4
- package/dist/{asyncStorageTaskQueue-BgUJN-3X.d.ts → asyncStorageTaskQueue-DAs_n1xr.d.ts} +2 -2
- package/dist/{asyncStorageTaskQueue-Cstx6hS7.d.cts → asyncStorageTaskQueue-DqGRG66E.d.cts} +2 -2
- package/dist/{chunk-L5SCQYHF.js → chunk-6COJWPBO.js} +19 -9
- package/dist/chunk-6COJWPBO.js.map +1 -0
- package/dist/{chunk-XQPN5YP2.cjs → chunk-KB7OP3FG.cjs} +17 -17
- package/dist/{chunk-XQPN5YP2.cjs.map → chunk-KB7OP3FG.cjs.map} +1 -1
- package/dist/{chunk-XLWDX7QZ.js → chunk-LPK4UBNJ.js} +4 -4
- package/dist/{chunk-XLWDX7QZ.js.map → chunk-LPK4UBNJ.js.map} +1 -1
- package/dist/{chunk-MNMPGEK2.js → chunk-MEJSBJVH.js} +4 -4
- package/dist/{chunk-MNMPGEK2.js.map → chunk-MEJSBJVH.js.map} +1 -1
- package/dist/{chunk-HQ4DMGA4.cjs → chunk-MXY23OPP.cjs} +10 -10
- package/dist/{chunk-HQ4DMGA4.cjs.map → chunk-MXY23OPP.cjs.map} +1 -1
- package/dist/{chunk-WIFL5QYZ.cjs → chunk-Q5WQ4Y2I.cjs} +53 -54
- package/dist/chunk-Q5WQ4Y2I.cjs.map +1 -0
- package/dist/{chunk-5MLC2HU3.cjs → chunk-RZ2NGS6A.cjs} +19 -7
- package/dist/chunk-RZ2NGS6A.cjs.map +1 -0
- package/dist/{chunk-YG7T6LI3.js → chunk-SG4XYCS7.js} +3 -3
- package/dist/{chunk-YG7T6LI3.js.map → chunk-SG4XYCS7.js.map} +1 -1
- package/dist/{chunk-TA7XLEP2.js → chunk-VTE3NYVD.js} +298 -41
- package/dist/chunk-VTE3NYVD.js.map +1 -0
- package/dist/{chunk-GVHUHTRH.cjs → chunk-WQIWUTYS.cjs} +17 -17
- package/dist/{chunk-GVHUHTRH.cjs.map → chunk-WQIWUTYS.cjs.map} +1 -1
- package/dist/{chunk-EBYCTLET.cjs → chunk-YEUXBECG.cjs} +727 -469
- package/dist/chunk-YEUXBECG.cjs.map +1 -0
- package/dist/{chunk-2PPL3O7Z.js → chunk-ZPSUBAWQ.js} +7 -8
- package/dist/chunk-ZPSUBAWQ.js.map +1 -0
- package/dist/contracts/handlers/index.cjs +9 -9
- package/dist/contracts/handlers/index.d.cts +3 -3
- package/dist/contracts/handlers/index.d.ts +3 -3
- package/dist/contracts/handlers/index.js +2 -2
- package/dist/{delegate-BPdzTbwN.d.ts → delegate-B9Bmrns7.d.ts} +1 -1
- package/dist/{delegate-DrwIar11.d.cts → delegate-CZzIduW4.d.cts} +1 -1
- package/dist/{hdWalletCapable-D4WH35z0.d.cts → hdWalletCapable-BIl3yLVM.d.cts} +103 -28
- package/dist/{hdWalletCapable-DyxCiNVE.d.ts → hdWalletCapable-Cr5nGpK5.d.ts} +103 -28
- package/dist/{index-TZJvbIaA.d.ts → index-Ci5MmNnK.d.cts} +7 -7
- package/dist/{index-BqhpAqqj.d.cts → index-DQ1Hb2w_.d.ts} +7 -7
- package/dist/{index-dWRqYSdS.d.ts → index-DnNIOqHS.d.cts} +168 -19
- package/dist/{index-dWRqYSdS.d.cts → index-DnNIOqHS.d.ts} +168 -19
- package/dist/index.cjs +307 -291
- package/dist/index.d.cts +121 -29
- package/dist/index.d.ts +121 -29
- package/dist/index.js +4 -4
- package/dist/repositories/realm/index.cjs +19 -19
- package/dist/repositories/realm/index.d.cts +2 -2
- package/dist/repositories/realm/index.d.ts +2 -2
- package/dist/repositories/realm/index.js +5 -5
- package/dist/repositories/sqlite/index.cjs +18 -18
- package/dist/repositories/sqlite/index.d.cts +2 -2
- package/dist/repositories/sqlite/index.d.ts +2 -2
- package/dist/repositories/sqlite/index.js +5 -5
- package/dist/{taskRunner-CzYKyJ9c.d.cts → taskRunner-BDb5Ee2J.d.cts} +2 -2
- package/dist/{taskRunner-D2fnbqYw.d.ts → taskRunner-F7wNJcF3.d.ts} +2 -2
- package/dist/wallet/expo/background.cjs +14 -14
- package/dist/wallet/expo/background.d.cts +3 -3
- package/dist/wallet/expo/background.d.ts +3 -3
- package/dist/wallet/expo/background.js +6 -6
- package/dist/wallet/expo/index.cjs +23 -14
- package/dist/wallet/expo/index.cjs.map +1 -1
- package/dist/wallet/expo/index.d.cts +7 -4
- package/dist/wallet/expo/index.d.ts +7 -4
- package/dist/wallet/expo/index.js +14 -5
- package/dist/wallet/expo/index.js.map +1 -1
- package/dist/worker/expo/index.cjs +9 -9
- package/dist/worker/expo/index.d.cts +4 -4
- package/dist/worker/expo/index.d.ts +4 -4
- package/dist/worker/expo/index.js +5 -5
- package/package.json +3 -2
- package/dist/chunk-2PPL3O7Z.js.map +0 -1
- package/dist/chunk-5MLC2HU3.cjs.map +0 -1
- package/dist/chunk-EBYCTLET.cjs.map +0 -1
- package/dist/chunk-L5SCQYHF.js.map +0 -1
- package/dist/chunk-TA7XLEP2.js.map +0 -1
- package/dist/chunk-WIFL5QYZ.cjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VtxoScript, MultisigTapscript, CSVMultisigTapscript, timelockToSequence, sequenceToTimelock, ConditionMultisigTapscript, CLTVMultisigTapscript, ConditionCSVMultisigTapscript, SCRIPT_QUERY_CHUNK_SIZE, getNormalizedVtxos, DEFAULT_PAGE_SIZE } from './chunk-
|
|
1
|
+
import { VtxoScript, MultisigTapscript, CSVMultisigTapscript, timelockToSequence, sequenceToTimelock, ConditionMultisigTapscript, CLTVMultisigTapscript, ConditionCSVMultisigTapscript, SCRIPT_QUERY_CHUNK_SIZE, getNormalizedVtxos, DEFAULT_PAGE_SIZE } from './chunk-6COJWPBO.js';
|
|
2
2
|
import { __export } from './chunk-NSBPE2FW.js';
|
|
3
3
|
import { hex } from '@scure/base';
|
|
4
4
|
import { networks, expand } from '@bitcoinerlab/descriptors-scure';
|
|
@@ -2182,7 +2182,7 @@ var VHTLCV2ContractHandler = {
|
|
|
2182
2182
|
}
|
|
2183
2183
|
if (params.strictClaimAmount !== void 0 || params.strictClaimAssetAmount !== void 0) {
|
|
2184
2184
|
throw new Error(
|
|
2185
|
-
"strict claim params on a stored row: the strict claim bound was removed
|
|
2185
|
+
"strict claim params on a stored row: the strict claim bound was removed in 0.4.68, so this row \u2014 written by 0.4.65-0.4.67 \u2014 locks to a script this build cannot re-derive. To clear it: claim or refund the swap on 0.4.67, then drop the settled row here with `contractManager.deleteContract(script)`. Do not delete it first \u2014 any balance it still holds is only reachable from 0.4.67."
|
|
2186
2186
|
);
|
|
2187
2187
|
}
|
|
2188
2188
|
if (params.nonInteractiveRefundWithoutReceiver !== void 0 && !refund) {
|
|
@@ -2408,10 +2408,9 @@ var VHTLCV2ContractHandler = {
|
|
|
2408
2408
|
*
|
|
2409
2409
|
* **It carries a CLTV, and callers must respect it.** A settlement built on
|
|
2410
2410
|
* this leaf is only valid once `refundLocktime` has matured, so a recovery
|
|
2411
|
-
* round that sweeps this VTXO early is rejected by the server.
|
|
2412
|
-
*
|
|
2413
|
-
*
|
|
2414
|
-
* is derived per contract and knows no clock. `recoverVtxos` filters on
|
|
2411
|
+
* round that sweeps this VTXO early is rejected by the server. Nothing in
|
|
2412
|
+
* this handler can enforce it, because the annotation is derived per
|
|
2413
|
+
* contract and knows no clock. `recoverVtxos` filters on
|
|
2415
2414
|
* {@link assertSpendableNow} for it.
|
|
2416
2415
|
*
|
|
2417
2416
|
* **Role-blind.** A receiver's row gets the same leaf, which names keys that
|
|
@@ -2988,5 +2987,5 @@ contractHandlers.register(BoardingContractHandler);
|
|
|
2988
2987
|
contractHandlers.register(ArkadeContractHandler);
|
|
2989
2988
|
|
|
2990
2989
|
export { ARKADE_OP, ARKADE_OPCODES, ARKADE_OPCODE_NAMES, ARKADE_OPCODE_VALUES, ARKADE_OPS, ArkadeContractHandler, ArkadeProgramScript, ArkadeScript, BoardingContractHandler, DefaultContractHandler, DefaultVtxo, DelegateContractHandler, DelegateVtxo, OPCODE_NAMES, OPCODE_VALUES, SUPPORTED_PROGRAM_VERSION, VHTLC, VHTLCContractHandler, VHTLCV2ContractHandler, WALLET_RECEIVE_SOURCE, arkadeScriptHash, arkadeWitnessHash, asmToBytes, bignum_exports, bytesToASM, computeArkadeScriptPublicKey, contractHandlers, deriveDescriptorLeafCompressedPubKey, deriveDescriptorLeafPubKey, descriptorIsOurs, deserializeArkadeContractParams, fromASM, getOpcodeName, getOpcodeValue, identityDescriptor, inputName, isCltvSatisfied, isCsvSpendable, isMainnetDescriptor, normalizeToDescriptor, parseArtifact, parseHDDescriptor, resolveAsm, serializeArkadeContractParams, speculativeReceiveMetadata, stringifyArtifact, toASM, toXOnly, validateProgram, witnessRefToBytes };
|
|
2991
|
-
//# sourceMappingURL=chunk-
|
|
2992
|
-
//# sourceMappingURL=chunk-
|
|
2990
|
+
//# sourceMappingURL=chunk-ZPSUBAWQ.js.map
|
|
2991
|
+
//# sourceMappingURL=chunk-ZPSUBAWQ.js.map
|