@dvmkit/dvm-cli 0.1.4 → 0.2.0

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 (60) hide show
  1. package/README.md +14 -0
  2. package/dist/{_esm-M2HUAA3B.js → _esm-MN4BUYV6.js} +56 -54
  3. package/dist/{accounts-S747UW3A.js → accounts-2WZE4N5F.js} +5 -5
  4. package/dist/actions-LR65XILR.js +244 -0
  5. package/dist/{ccip-XZ5F5J6R.js → ccip-JXYJSXTW.js} +3 -3
  6. package/dist/{chains-PINFXYUE.js → chains-LJ7XK6H3.js} +8 -8
  7. package/dist/{chunk-YZUBKHHA.js → chunk-2VVVWBQA.js} +471 -471
  8. package/dist/chunk-3SWX5BQP.js +66 -0
  9. package/dist/chunk-4JXFXP4Y.js +757 -0
  10. package/dist/{chunk-GIDSTROG.js → chunk-4NWEJTAW.js} +160 -158
  11. package/dist/{chunk-UXQCP26E.js → chunk-65EY7CT4.js} +2 -2
  12. package/dist/{chunk-6UGZAFIR.js → chunk-6CC6JGEU.js} +348 -18
  13. package/dist/{chunk-PHZHPRQE.js → chunk-6O27TEXD.js} +173 -173
  14. package/dist/{chunk-HPRIQEJS.js → chunk-7OK7MBT6.js} +19 -19
  15. package/dist/{chunk-7UPZZGC5.js → chunk-BECPI5H5.js} +193 -193
  16. package/dist/chunk-CJTE5TS3.js +1298 -0
  17. package/dist/{chunk-RWBYCM47.js → chunk-ECEM3ZAS.js} +10 -10
  18. package/dist/{chunk-ACNNU5RY.js → chunk-ECK465AY.js} +694 -565
  19. package/dist/{chunk-XGABM4H5.js → chunk-EGY4KDBW.js} +3822 -2012
  20. package/dist/{chunk-SLDVIXCS.js → chunk-EVQERRCP.js} +12 -12
  21. package/dist/{chunk-4AQ4G7L5.js → chunk-EZHT2RLJ.js} +383 -383
  22. package/dist/{chunk-IC6OXFYW.js → chunk-F55NNH2F.js} +63 -63
  23. package/dist/chunk-G5C6E6PJ.js +9063 -0
  24. package/dist/{chunk-6AJ7H2VX.js → chunk-GZWKCIYN.js} +213 -1281
  25. package/dist/{chunk-ZGXCK43G.js → chunk-LH3QPVN6.js} +8499 -8498
  26. package/dist/{chunk-MMJR6N3J.js → chunk-MLDUKBU3.js} +1368 -1368
  27. package/dist/chunk-N3UJT2NJ.js +3 -0
  28. package/dist/chunk-N7MGIK2U.js +61408 -0
  29. package/dist/{chunk-BZNZWRBB.js → chunk-OWJZYYMG.js} +11 -15
  30. package/dist/chunk-ZJYO7OLO.js +514 -0
  31. package/dist/{client-D3XFLWOK.js → client-OWIOFBKS.js} +18 -16
  32. package/dist/{dist-7MMV3EZA.js → dist-2G3QBGID.js} +11 -10
  33. package/dist/dvm.js +27046 -4414
  34. package/dist/esm-RQLHAH2K.js +5183 -0
  35. package/dist/internal-JDG52DJH.js +1230 -0
  36. package/dist/payout-reporter-3UB5WRCV-XTVZFIAO.js +17 -0
  37. package/dist/{pocket-refill-GDYSTECR.js → pocket-refill-QJMMD6QN.js} +29 -30
  38. package/dist/revenue-reporter-JIKUPXOK-TYUBTF4P.js +11 -0
  39. package/dist/{secp256k1-4YWQEMGF.js → secp256k1-JLZEQ2H7.js} +2 -2
  40. package/dist/tempo-lifecycle-SQL3KLEZ-AATA2SKI.js +28 -0
  41. package/dist/{tempo-wallet-5FEOI4CF.js → tempo-wallet-QOLEIPCV-SWCXRBDS.js} +2 -4
  42. package/dist/{x402-VNFA3DBY.js → x402-FTG2GRAQ-UGAUMUL6.js} +13 -24
  43. package/package.json +2 -10
  44. package/skills/dvm/SKILL.md +2 -1
  45. package/dist/channel-store-GOV7TEDN.js +0 -62
  46. package/dist/chunk-3PPOU55E.js +0 -312
  47. package/dist/chunk-3TBULV3F.js +0 -551
  48. package/dist/chunk-5BUV73FO.js +0 -2351
  49. package/dist/chunk-EY5K4BM3.js +0 -1780
  50. package/dist/chunk-G3RLVJF5.js +0 -19
  51. package/dist/chunk-KC4UPK44.js +0 -113
  52. package/dist/chunk-MTBCEXJ6.js +0 -4602
  53. package/dist/chunk-ONQMRWY3.js +0 -83
  54. package/dist/chunk-TO47XRK7.js +0 -24890
  55. package/dist/chunk-U5TNSUYW.js +0 -1757
  56. package/dist/chunk-UU6QMSTQ.js +0 -171
  57. package/dist/chunk-ZELLQI7F.js +0 -248
  58. package/dist/lifecycle-5RLM5JMN.js +0 -29
  59. package/dist/tempo-lifecycle-DHZPQTSB.js +0 -31
  60. package/dist/wallet-G3VOUCL4.js +0 -30
@@ -9,38 +9,38 @@ import {
9
9
  ripemd160,
10
10
  serializeSignature,
11
11
  serializeTransaction
12
- } from "./chunk-PHZHPRQE.js";
12
+ } from "./chunk-6O27TEXD.js";
13
13
  import {
14
14
  hmac,
15
15
  mod,
16
16
  secp256k1,
17
17
  sha256,
18
18
  sha512
19
- } from "./chunk-UXQCP26E.js";
19
+ } from "./chunk-65EY7CT4.js";
20
20
  import {
21
21
  InvalidAddressError,
22
- bytesToHex,
23
- hexToBytes,
22
+ bytesToHex as bytesToHex2,
23
+ hexToBytes as hexToBytes2,
24
24
  isAddress,
25
25
  isHex,
26
26
  keccak256,
27
27
  numberToHex,
28
28
  toHex
29
- } from "./chunk-MMJR6N3J.js";
29
+ } from "./chunk-MLDUKBU3.js";
30
30
  import {
31
31
  abytes,
32
32
  ahash,
33
33
  anumber,
34
- bytesToHex as bytesToHex2,
34
+ bytesToHex,
35
35
  checkOpts,
36
36
  clean,
37
37
  concatBytes,
38
38
  createView,
39
- hexToBytes as hexToBytes2,
39
+ hexToBytes,
40
40
  kdfInputToBytes,
41
41
  randomBytes,
42
42
  utf8ToBytes
43
- } from "./chunk-HPRIQEJS.js";
43
+ } from "./chunk-7OK7MBT6.js";
44
44
 
45
45
  // node_modules/viem/node_modules/@scure/base/lib/esm/index.js
46
46
  function isBytes(a) {
@@ -333,13 +333,13 @@ var Point = secp256k1.ProjectivePoint;
333
333
  var base58check = createBase58check(sha256);
334
334
  function bytesToNumber(bytes) {
335
335
  abytes(bytes);
336
- const h = bytes.length === 0 ? "0" : bytesToHex2(bytes);
336
+ const h = bytes.length === 0 ? "0" : bytesToHex(bytes);
337
337
  return BigInt("0x" + h);
338
338
  }
339
339
  function numberToBytes(num) {
340
340
  if (typeof num !== "bigint")
341
341
  throw new Error("bigint expected");
342
- return hexToBytes2(num.toString(16).padStart(64, "0"));
342
+ return hexToBytes(num.toString(16).padStart(64, "0"));
343
343
  }
344
344
  var MASTER_SECRET = utf8ToBytes("Bitcoin seed");
345
345
  var BITCOIN_VERSIONS = { private: 76066276, public: 76067358 };
@@ -709,7 +709,7 @@ function setSignEntropy(entropy) {
709
709
  async function sign({ hash, privateKey, to = "object" }) {
710
710
  const { r, s, recovery } = secp256k1.sign(hash.slice(2), privateKey.slice(2), {
711
711
  lowS: true,
712
- extraEntropy: isHex(extraEntropy, { strict: false }) ? hexToBytes(extraEntropy) : extraEntropy
712
+ extraEntropy: isHex(extraEntropy, { strict: false }) ? hexToBytes2(extraEntropy) : extraEntropy
713
713
  });
714
714
  const signature = {
715
715
  r: numberToHex(r, { size: 32 }),
@@ -826,7 +826,7 @@ function mnemonicToAccount(mnemonic, { passphrase, ...hdKeyOpts } = {}) {
826
826
 
827
827
  // node_modules/viem/_esm/accounts/utils/privateKeyToAddress.js
828
828
  function privateKeyToAddress(privateKey) {
829
- const publicKey = bytesToHex(secp256k1.getPublicKey(privateKey.slice(2), false));
829
+ const publicKey = bytesToHex2(secp256k1.getPublicKey(privateKey.slice(2), false));
830
830
  return publicKeyToAddress(publicKey);
831
831
  }
832
832