@settlemint/sdk-cli 2.0.0-pr150a98d3 → 2.0.0-pr3454c3aa

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
@@ -259536,7 +259536,7 @@ function pruneCurrentEnv(currentEnv, env2) {
259536
259536
  var package_default = {
259537
259537
  name: "@settlemint/sdk-cli",
259538
259538
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
259539
- version: "2.0.0-pr150a98d3",
259539
+ version: "2.0.0-pr3454c3aa",
259540
259540
  type: "module",
259541
259541
  private: false,
259542
259542
  license: "FSL-1.1-MIT",
@@ -259579,13 +259579,13 @@ var package_default = {
259579
259579
  devDependencies: {
259580
259580
  "@commander-js/extra-typings": "11.1.0",
259581
259581
  commander: "11.1.0",
259582
- "@inquirer/confirm": "5.1.8",
259583
- "@inquirer/input": "4.1.8",
259584
- "@inquirer/password": "4.0.11",
259585
- "@inquirer/select": "4.1.0",
259586
- "@settlemint/sdk-js": "2.0.0-pr150a98d3",
259587
- "@settlemint/sdk-utils": "2.0.0-pr150a98d3",
259588
- "@types/node": "22.13.17",
259582
+ "@inquirer/confirm": "5.1.9",
259583
+ "@inquirer/input": "4.1.9",
259584
+ "@inquirer/password": "4.0.12",
259585
+ "@inquirer/select": "4.1.1",
259586
+ "@settlemint/sdk-js": "2.0.0-pr3454c3aa",
259587
+ "@settlemint/sdk-utils": "2.0.0-pr3454c3aa",
259588
+ "@types/node": "22.14.0",
259589
259589
  "@types/semver": "7.7.0",
259590
259590
  "@types/which": "3.0.4",
259591
259591
  "get-tsconfig": "4.10.0",
@@ -260699,7 +260699,7 @@ function createPrompt(view) {
260699
260699
  setImmediate(() => resolve(value));
260700
260700
  });
260701
260701
  if (nextView === undefined) {
260702
- const callerFilename = callSites[1]?.getFileName?.();
260702
+ const callerFilename = callSites[1]?.getFileName();
260703
260703
  throw new Error(`Prompt functions must return a string.
260704
260704
  at ${callerFilename}`);
260705
260705
  }
@@ -265707,13 +265707,16 @@ function normalizeChoices(choices) {
265707
265707
  };
265708
265708
  }
265709
265709
  const name3 = choice.name ?? String(choice.value);
265710
- return {
265710
+ const normalizedChoice = {
265711
265711
  value: choice.value,
265712
265712
  name: name3,
265713
- description: choice.description,
265714
265713
  short: choice.short ?? name3,
265715
265714
  disabled: choice.disabled ?? false
265716
265715
  };
265716
+ if (choice.description) {
265717
+ normalizedChoice.description = choice.description;
265718
+ }
265719
+ return normalizedChoice;
265717
265720
  });
265718
265721
  }
265719
265722
  var esm_default3 = createPrompt((config3, done) => {
@@ -274102,4 +274105,4 @@ async function sdkCliCommand(argv = process.argv) {
274102
274105
  // src/cli.ts
274103
274106
  sdkCliCommand();
274104
274107
 
274105
- //# debugId=41B08C129D2C15CA64756E2164756E21
274108
+ //# debugId=0149C4F16EA58F6D64756E2164756E21