@settlemint/sdk-cli 1.1.16-main2e38ffaf → 1.1.16-maince0baec6

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
@@ -259683,7 +259683,7 @@ function pruneCurrentEnv(currentEnv, env2) {
259683
259683
  var package_default = {
259684
259684
  name: "@settlemint/sdk-cli",
259685
259685
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
259686
- version: "1.1.16-main2e38ffaf",
259686
+ version: "1.1.16-maince0baec6",
259687
259687
  type: "module",
259688
259688
  private: false,
259689
259689
  license: "FSL-1.1-MIT",
@@ -259727,12 +259727,12 @@ var package_default = {
259727
259727
  },
259728
259728
  devDependencies: {
259729
259729
  "@commander-js/extra-typings": "13.1.0",
259730
- "@inquirer/confirm": "5.1.6",
259731
- "@inquirer/input": "4.1.6",
259732
- "@inquirer/password": "4.0.9",
259733
- "@inquirer/select": "4.0.9",
259734
- "@settlemint/sdk-js": "1.1.16-main2e38ffaf",
259735
- "@settlemint/sdk-utils": "1.1.16-main2e38ffaf",
259730
+ "@inquirer/confirm": "5.1.7",
259731
+ "@inquirer/input": "4.1.7",
259732
+ "@inquirer/password": "4.0.10",
259733
+ "@inquirer/select": "4.0.10",
259734
+ "@settlemint/sdk-js": "1.1.16-maince0baec6",
259735
+ "@settlemint/sdk-utils": "1.1.16-maince0baec6",
259736
259736
  "@types/node": "22.13.10",
259737
259737
  "@types/semver": "7.5.8",
259738
259738
  "@types/which": "3.0.4",
@@ -260727,12 +260727,11 @@ function cursorDown(n) {
260727
260727
  }
260728
260728
 
260729
260729
  class ScreenManager {
260730
- rl;
260731
260730
  height = 0;
260732
260731
  extraLinesUnderPrompt = 0;
260733
260732
  cursorPos;
260733
+ rl;
260734
260734
  constructor(rl) {
260735
- this.rl = rl;
260736
260735
  this.rl = rl;
260737
260736
  this.cursorPos = rl.getCursorPos();
260738
260737
  }
@@ -260802,22 +260801,22 @@ class PromisePolyfill extends Promise {
260802
260801
  // ../../node_modules/@inquirer/core/dist/esm/lib/create-prompt.js
260803
260802
  function getCallSites() {
260804
260803
  const _prepareStackTrace = Error.prepareStackTrace;
260804
+ let result = [];
260805
260805
  try {
260806
- let result = [];
260807
260806
  Error.prepareStackTrace = (_, callSites) => {
260808
260807
  const callSitesWithoutCurrent = callSites.slice(1);
260809
260808
  result = callSitesWithoutCurrent;
260810
260809
  return callSitesWithoutCurrent;
260811
260810
  };
260812
260811
  new Error().stack;
260812
+ } catch {
260813
260813
  return result;
260814
- } finally {
260815
- Error.prepareStackTrace = _prepareStackTrace;
260816
260814
  }
260815
+ Error.prepareStackTrace = _prepareStackTrace;
260816
+ return result;
260817
260817
  }
260818
260818
  function createPrompt(view) {
260819
260819
  const callSites = getCallSites();
260820
- const callerFilename = callSites[1]?.getFileName?.();
260821
260820
  const prompt = (config3, context = {}) => {
260822
260821
  const { input = process.stdin, signal } = context;
260823
260822
  const cleanups = new Set;
@@ -260856,6 +260855,7 @@ function createPrompt(view) {
260856
260855
  setImmediate(() => resolve(value));
260857
260856
  });
260858
260857
  if (nextView === undefined) {
260858
+ const callerFilename = callSites[1]?.getFileName?.();
260859
260859
  throw new Error(`Prompt functions must return a string.
260860
260860
  at ${callerFilename}`);
260861
260861
  }
@@ -273473,4 +273473,4 @@ async function sdkCliCommand(argv = process.argv) {
273473
273473
  // src/cli.ts
273474
273474
  sdkCliCommand();
273475
273475
 
273476
- //# debugId=1EE94DCF31C501D064756E2164756E21
273476
+ //# debugId=6C6CC76DA779110264756E2164756E21