@settlemint/sdk-cli 2.5.1-pr0d35cbcb → 2.5.1-pr11c31cf6

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
@@ -265083,7 +265083,7 @@ function pruneCurrentEnv(currentEnv, env2) {
265083
265083
  var package_default = {
265084
265084
  name: "@settlemint/sdk-cli",
265085
265085
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
265086
- version: "2.5.1-pr0d35cbcb",
265086
+ version: "2.5.1-pr11c31cf6",
265087
265087
  type: "module",
265088
265088
  private: false,
265089
265089
  license: "FSL-1.1-MIT",
@@ -265130,15 +265130,15 @@ var package_default = {
265130
265130
  devDependencies: {
265131
265131
  "@commander-js/extra-typings": "14.0.0",
265132
265132
  commander: "14.0.0",
265133
- "@inquirer/confirm": "5.1.13",
265134
- "@inquirer/input": "4.2.0",
265135
- "@inquirer/password": "4.0.16",
265136
- "@inquirer/select": "4.2.4",
265137
- "@settlemint/sdk-hasura": "2.5.1-pr0d35cbcb",
265138
- "@settlemint/sdk-js": "2.5.1-pr0d35cbcb",
265139
- "@settlemint/sdk-utils": "2.5.1-pr0d35cbcb",
265140
- "@settlemint/sdk-viem": "2.5.1-pr0d35cbcb",
265141
- "@types/node": "24.0.15",
265133
+ "@inquirer/confirm": "5.1.14",
265134
+ "@inquirer/input": "4.2.1",
265135
+ "@inquirer/password": "4.0.17",
265136
+ "@inquirer/select": "4.3.0",
265137
+ "@settlemint/sdk-hasura": "2.5.1-pr11c31cf6",
265138
+ "@settlemint/sdk-js": "2.5.1-pr11c31cf6",
265139
+ "@settlemint/sdk-utils": "2.5.1-pr11c31cf6",
265140
+ "@settlemint/sdk-viem": "2.5.1-pr11c31cf6",
265141
+ "@types/node": "24.1.0",
265142
265142
  "@types/semver": "7.7.0",
265143
265143
  "@types/which": "3.0.4",
265144
265144
  "get-tsconfig": "4.10.1",
@@ -303428,7 +303428,14 @@ var esm_default3 = createPrompt((config4, done) => {
303428
303428
  setActive(next);
303429
303429
  }
303430
303430
  } else if (isNumberKey(key2) && !Number.isNaN(Number(rl.line))) {
303431
- const position = Number(rl.line) - 1;
303431
+ const selectedIndex = Number(rl.line) - 1;
303432
+ let selectableIndex = -1;
303433
+ const position = items.findIndex((item2) => {
303434
+ if (Separator.isSeparator(item2))
303435
+ return false;
303436
+ selectableIndex++;
303437
+ return selectableIndex === selectedIndex;
303438
+ });
303432
303439
  const item = items[position];
303433
303440
  if (item != null && isSelectable(item)) {
303434
303441
  setActive(position);
@@ -330951,4 +330958,4 @@ async function sdkCliCommand(argv = process.argv) {
330951
330958
  // src/cli.ts
330952
330959
  sdkCliCommand();
330953
330960
 
330954
- //# debugId=3E54F1B287B0297064756E2164756E21
330961
+ //# debugId=50D85E333F4AC7FD64756E2164756E21