@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.
Files changed (80) hide show
  1. package/README.md +35 -5
  2. package/dist/adapters/expo.cjs +5 -5
  3. package/dist/adapters/expo.d.cts +2 -2
  4. package/dist/adapters/expo.d.ts +2 -2
  5. package/dist/adapters/expo.js +3 -3
  6. package/dist/adapters/indexedDB.cjs +5 -5
  7. package/dist/adapters/indexedDB.js +4 -4
  8. package/dist/{asyncStorageTaskQueue-BgUJN-3X.d.ts → asyncStorageTaskQueue-DAs_n1xr.d.ts} +2 -2
  9. package/dist/{asyncStorageTaskQueue-Cstx6hS7.d.cts → asyncStorageTaskQueue-DqGRG66E.d.cts} +2 -2
  10. package/dist/{chunk-L5SCQYHF.js → chunk-6COJWPBO.js} +19 -9
  11. package/dist/chunk-6COJWPBO.js.map +1 -0
  12. package/dist/{chunk-XQPN5YP2.cjs → chunk-KB7OP3FG.cjs} +17 -17
  13. package/dist/{chunk-XQPN5YP2.cjs.map → chunk-KB7OP3FG.cjs.map} +1 -1
  14. package/dist/{chunk-XLWDX7QZ.js → chunk-LPK4UBNJ.js} +4 -4
  15. package/dist/{chunk-XLWDX7QZ.js.map → chunk-LPK4UBNJ.js.map} +1 -1
  16. package/dist/{chunk-MNMPGEK2.js → chunk-MEJSBJVH.js} +4 -4
  17. package/dist/{chunk-MNMPGEK2.js.map → chunk-MEJSBJVH.js.map} +1 -1
  18. package/dist/{chunk-HQ4DMGA4.cjs → chunk-MXY23OPP.cjs} +10 -10
  19. package/dist/{chunk-HQ4DMGA4.cjs.map → chunk-MXY23OPP.cjs.map} +1 -1
  20. package/dist/{chunk-WIFL5QYZ.cjs → chunk-Q5WQ4Y2I.cjs} +53 -54
  21. package/dist/chunk-Q5WQ4Y2I.cjs.map +1 -0
  22. package/dist/{chunk-5MLC2HU3.cjs → chunk-RZ2NGS6A.cjs} +19 -7
  23. package/dist/chunk-RZ2NGS6A.cjs.map +1 -0
  24. package/dist/{chunk-YG7T6LI3.js → chunk-SG4XYCS7.js} +3 -3
  25. package/dist/{chunk-YG7T6LI3.js.map → chunk-SG4XYCS7.js.map} +1 -1
  26. package/dist/{chunk-TA7XLEP2.js → chunk-VTE3NYVD.js} +298 -41
  27. package/dist/chunk-VTE3NYVD.js.map +1 -0
  28. package/dist/{chunk-GVHUHTRH.cjs → chunk-WQIWUTYS.cjs} +17 -17
  29. package/dist/{chunk-GVHUHTRH.cjs.map → chunk-WQIWUTYS.cjs.map} +1 -1
  30. package/dist/{chunk-EBYCTLET.cjs → chunk-YEUXBECG.cjs} +727 -469
  31. package/dist/chunk-YEUXBECG.cjs.map +1 -0
  32. package/dist/{chunk-2PPL3O7Z.js → chunk-ZPSUBAWQ.js} +7 -8
  33. package/dist/chunk-ZPSUBAWQ.js.map +1 -0
  34. package/dist/contracts/handlers/index.cjs +9 -9
  35. package/dist/contracts/handlers/index.d.cts +3 -3
  36. package/dist/contracts/handlers/index.d.ts +3 -3
  37. package/dist/contracts/handlers/index.js +2 -2
  38. package/dist/{delegate-BPdzTbwN.d.ts → delegate-B9Bmrns7.d.ts} +1 -1
  39. package/dist/{delegate-DrwIar11.d.cts → delegate-CZzIduW4.d.cts} +1 -1
  40. package/dist/{hdWalletCapable-D4WH35z0.d.cts → hdWalletCapable-BIl3yLVM.d.cts} +103 -28
  41. package/dist/{hdWalletCapable-DyxCiNVE.d.ts → hdWalletCapable-Cr5nGpK5.d.ts} +103 -28
  42. package/dist/{index-TZJvbIaA.d.ts → index-Ci5MmNnK.d.cts} +7 -7
  43. package/dist/{index-BqhpAqqj.d.cts → index-DQ1Hb2w_.d.ts} +7 -7
  44. package/dist/{index-dWRqYSdS.d.ts → index-DnNIOqHS.d.cts} +168 -19
  45. package/dist/{index-dWRqYSdS.d.cts → index-DnNIOqHS.d.ts} +168 -19
  46. package/dist/index.cjs +307 -291
  47. package/dist/index.d.cts +121 -29
  48. package/dist/index.d.ts +121 -29
  49. package/dist/index.js +4 -4
  50. package/dist/repositories/realm/index.cjs +19 -19
  51. package/dist/repositories/realm/index.d.cts +2 -2
  52. package/dist/repositories/realm/index.d.ts +2 -2
  53. package/dist/repositories/realm/index.js +5 -5
  54. package/dist/repositories/sqlite/index.cjs +18 -18
  55. package/dist/repositories/sqlite/index.d.cts +2 -2
  56. package/dist/repositories/sqlite/index.d.ts +2 -2
  57. package/dist/repositories/sqlite/index.js +5 -5
  58. package/dist/{taskRunner-CzYKyJ9c.d.cts → taskRunner-BDb5Ee2J.d.cts} +2 -2
  59. package/dist/{taskRunner-D2fnbqYw.d.ts → taskRunner-F7wNJcF3.d.ts} +2 -2
  60. package/dist/wallet/expo/background.cjs +14 -14
  61. package/dist/wallet/expo/background.d.cts +3 -3
  62. package/dist/wallet/expo/background.d.ts +3 -3
  63. package/dist/wallet/expo/background.js +6 -6
  64. package/dist/wallet/expo/index.cjs +23 -14
  65. package/dist/wallet/expo/index.cjs.map +1 -1
  66. package/dist/wallet/expo/index.d.cts +7 -4
  67. package/dist/wallet/expo/index.d.ts +7 -4
  68. package/dist/wallet/expo/index.js +14 -5
  69. package/dist/wallet/expo/index.js.map +1 -1
  70. package/dist/worker/expo/index.cjs +9 -9
  71. package/dist/worker/expo/index.d.cts +4 -4
  72. package/dist/worker/expo/index.d.ts +4 -4
  73. package/dist/worker/expo/index.js +5 -5
  74. package/package.json +3 -2
  75. package/dist/chunk-2PPL3O7Z.js.map +0 -1
  76. package/dist/chunk-5MLC2HU3.cjs.map +0 -1
  77. package/dist/chunk-EBYCTLET.cjs.map +0 -1
  78. package/dist/chunk-L5SCQYHF.js.map +0 -1
  79. package/dist/chunk-TA7XLEP2.js.map +0 -1
  80. 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-L5SCQYHF.js';
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 and this row's lockup cannot be re-derived without it \u2014 restore it with the SDK version that wrote it"
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. That is the
2412
- * same constraint `packages/boltz-swap` encodes as "pre-CLTV recoverable
2413
- * skipped"; nothing in this handler can enforce it, because the annotation
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-2PPL3O7Z.js.map
2992
- //# sourceMappingURL=chunk-2PPL3O7Z.js.map
2990
+ //# sourceMappingURL=chunk-ZPSUBAWQ.js.map
2991
+ //# sourceMappingURL=chunk-ZPSUBAWQ.js.map