@settlemint/sdk-cli 2.6.4-main4cb8cb64 → 2.6.4-main4fa7f676

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/cli.js CHANGED
@@ -246468,90 +246468,6 @@ var require_public_api = __commonJS((exports) => {
246468
246468
  exports.stringify = stringify5;
246469
246469
  });
246470
246470
 
246471
- // ../../node_modules/.bun/which@5.0.0/node_modules/which/lib/index.js
246472
- var require_lib13 = __commonJS((exports, module) => {
246473
- var { isexe, sync: isexeSync } = require_cjs();
246474
- var { join: join10, delimiter, sep: sep4, posix: posix2 } = __require("path");
246475
- var isWindows2 = process.platform === "win32";
246476
- var rSlash = new RegExp(`[${posix2.sep}${sep4 === posix2.sep ? "" : sep4}]`.replace(/(\\)/g, "\\$1"));
246477
- var rRel = new RegExp(`^\\.${rSlash.source}`);
246478
- var getNotFoundError2 = (cmd2) => Object.assign(new Error(`not found: ${cmd2}`), { code: "ENOENT" });
246479
- var getPathInfo2 = (cmd2, {
246480
- path: optPath = process.env.PATH,
246481
- pathExt: optPathExt = process.env.PATHEXT,
246482
- delimiter: optDelimiter = delimiter
246483
- }) => {
246484
- const pathEnv = cmd2.match(rSlash) ? [""] : [
246485
- ...isWindows2 ? [process.cwd()] : [],
246486
- ...(optPath || "").split(optDelimiter)
246487
- ];
246488
- if (isWindows2) {
246489
- const pathExtExe = optPathExt || [".EXE", ".CMD", ".BAT", ".COM"].join(optDelimiter);
246490
- const pathExt = pathExtExe.split(optDelimiter).flatMap((item) => [item, item.toLowerCase()]);
246491
- if (cmd2.includes(".") && pathExt[0] !== "") {
246492
- pathExt.unshift("");
246493
- }
246494
- return { pathEnv, pathExt, pathExtExe };
246495
- }
246496
- return { pathEnv, pathExt: [""] };
246497
- };
246498
- var getPathPart = (raw, cmd2) => {
246499
- const pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
246500
- const prefix = !pathPart && rRel.test(cmd2) ? cmd2.slice(0, 2) : "";
246501
- return prefix + join10(pathPart, cmd2);
246502
- };
246503
- var which = async (cmd2, opt2 = {}) => {
246504
- const { pathEnv, pathExt, pathExtExe } = getPathInfo2(cmd2, opt2);
246505
- const found = [];
246506
- for (const envPart of pathEnv) {
246507
- const p7 = getPathPart(envPart, cmd2);
246508
- for (const ext2 of pathExt) {
246509
- const withExt = p7 + ext2;
246510
- const is = await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: true });
246511
- if (is) {
246512
- if (!opt2.all) {
246513
- return withExt;
246514
- }
246515
- found.push(withExt);
246516
- }
246517
- }
246518
- }
246519
- if (opt2.all && found.length) {
246520
- return found;
246521
- }
246522
- if (opt2.nothrow) {
246523
- return null;
246524
- }
246525
- throw getNotFoundError2(cmd2);
246526
- };
246527
- var whichSync = (cmd2, opt2 = {}) => {
246528
- const { pathEnv, pathExt, pathExtExe } = getPathInfo2(cmd2, opt2);
246529
- const found = [];
246530
- for (const pathEnvPart of pathEnv) {
246531
- const p7 = getPathPart(pathEnvPart, cmd2);
246532
- for (const ext2 of pathExt) {
246533
- const withExt = p7 + ext2;
246534
- const is = isexeSync(withExt, { pathExt: pathExtExe, ignoreErrors: true });
246535
- if (is) {
246536
- if (!opt2.all) {
246537
- return withExt;
246538
- }
246539
- found.push(withExt);
246540
- }
246541
- }
246542
- }
246543
- if (opt2.all && found.length) {
246544
- return found;
246545
- }
246546
- if (opt2.nothrow) {
246547
- return null;
246548
- }
246549
- throw getNotFoundError2(cmd2);
246550
- };
246551
- module.exports = which;
246552
- which.sync = whichSync;
246553
- });
246554
-
246555
246471
  // ../../node_modules/.bun/@commander-js+extra-typings@14.0.0+60937f1bee5c4006/node_modules/@commander-js/extra-typings/esm.mjs
246556
246472
  var import__ = __toESM(require_extra_typings(), 1);
246557
246473
  var {
@@ -266907,7 +266823,7 @@ function pruneCurrentEnv(currentEnv, env2) {
266907
266823
  var package_default = {
266908
266824
  name: "@settlemint/sdk-cli",
266909
266825
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
266910
- version: "2.6.4-main4cb8cb64",
266826
+ version: "2.6.4-main4fa7f676",
266911
266827
  type: "module",
266912
266828
  private: false,
266913
266829
  license: "FSL-1.1-MIT",
@@ -266961,10 +266877,10 @@ var package_default = {
266961
266877
  "@inquirer/input": "4.3.1",
266962
266878
  "@inquirer/password": "4.0.23",
266963
266879
  "@inquirer/select": "4.4.2",
266964
- "@settlemint/sdk-hasura": "2.6.4-main4cb8cb64",
266965
- "@settlemint/sdk-js": "2.6.4-main4cb8cb64",
266966
- "@settlemint/sdk-utils": "2.6.4-main4cb8cb64",
266967
- "@settlemint/sdk-viem": "2.6.4-main4cb8cb64",
266880
+ "@settlemint/sdk-hasura": "2.6.4-main4fa7f676",
266881
+ "@settlemint/sdk-js": "2.6.4-main4fa7f676",
266882
+ "@settlemint/sdk-utils": "2.6.4-main4fa7f676",
266883
+ "@settlemint/sdk-viem": "2.6.4-main4fa7f676",
266968
266884
  "@types/node": "24.10.1",
266969
266885
  "@types/semver": "7.7.1",
266970
266886
  "@types/which": "3.0.4",
@@ -266974,14 +266890,14 @@ var package_default = {
266974
266890
  semver: "7.7.3",
266975
266891
  slugify: "1.6.6",
266976
266892
  viem: "2.39.2",
266977
- which: "5.0.0",
266893
+ which: "6.0.0",
266978
266894
  yaml: "2.8.1",
266979
266895
  yoctocolors: "2.1.2",
266980
266896
  "yocto-spinner": "^1.0.0"
266981
266897
  },
266982
266898
  peerDependencies: {
266983
266899
  hardhat: "<= 4",
266984
- "@settlemint/sdk-js": "2.6.4-main4cb8cb64"
266900
+ "@settlemint/sdk-js": "2.6.4-main4fa7f676"
266985
266901
  },
266986
266902
  peerDependenciesMeta: {
266987
266903
  hardhat: {
@@ -306824,7 +306740,7 @@ function formatUseCaseName(name3) {
306824
306740
  }
306825
306741
 
306826
306742
  // src/utils/smart-contract-set/execute-foundry-command.ts
306827
- var import_which = __toESM(require_lib13(), 1);
306743
+ var import_which = __toESM(require_lib5(), 1);
306828
306744
  async function executeFoundryCommand(command, args) {
306829
306745
  try {
306830
306746
  await import_which.default(command);
@@ -308146,4 +308062,4 @@ async function sdkCliCommand(argv = process.argv) {
308146
308062
  // src/cli.ts
308147
308063
  sdkCliCommand();
308148
308064
 
308149
- //# debugId=A29A74023624635D64756E2164756E21
308065
+ //# debugId=A6FEEDFF0EA1CC6464756E2164756E21