@settlemint/sdk-cli 1.1.5-prea5e656a → 1.1.5
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 +7 -13
- package/dist/cli.js.map +5 -5
- package/package.json +3 -3
package/dist/cli.js
CHANGED
@@ -274462,7 +274462,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
274462
274462
|
var package_default = {
|
274463
274463
|
name: "@settlemint/sdk-cli",
|
274464
274464
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
274465
|
-
version: "1.1.5
|
274465
|
+
version: "1.1.5",
|
274466
274466
|
type: "module",
|
274467
274467
|
private: false,
|
274468
274468
|
license: "FSL-1.1-MIT",
|
@@ -274510,8 +274510,8 @@ var package_default = {
|
|
274510
274510
|
"@inquirer/input": "4.1.5",
|
274511
274511
|
"@inquirer/password": "4.0.8",
|
274512
274512
|
"@inquirer/select": "4.0.8",
|
274513
|
-
"@settlemint/sdk-js": "1.1.5
|
274514
|
-
"@settlemint/sdk-utils": "1.1.5
|
274513
|
+
"@settlemint/sdk-js": "1.1.5",
|
274514
|
+
"@settlemint/sdk-utils": "1.1.5",
|
274515
274515
|
"@types/node": "22.13.1",
|
274516
274516
|
"@types/semver": "7.5.8",
|
274517
274517
|
"@types/which": "3.0.4",
|
@@ -275760,11 +275760,6 @@ var outro = (msg) => {
|
|
275760
275760
|
console.log("");
|
275761
275761
|
};
|
275762
275762
|
var SpinnerError = class extends Error {
|
275763
|
-
constructor(message, originalError) {
|
275764
|
-
super(message);
|
275765
|
-
this.originalError = originalError;
|
275766
|
-
this.name = "SpinnerError";
|
275767
|
-
}
|
275768
275763
|
};
|
275769
275764
|
var spinner = async (options) => {
|
275770
275765
|
const handleError = (error) => {
|
@@ -275772,7 +275767,7 @@ var spinner = async (options) => {
|
|
275772
275767
|
note(redBright(`${errorMessage}
|
275773
275768
|
|
275774
275769
|
${error.stack}`));
|
275775
|
-
throw new SpinnerError(errorMessage
|
275770
|
+
throw new SpinnerError(errorMessage);
|
275776
275771
|
};
|
275777
275772
|
if (is_in_ci_default) {
|
275778
275773
|
try {
|
@@ -282427,8 +282422,7 @@ async function waitForCompletion({
|
|
282427
282422
|
try {
|
282428
282423
|
return await showSpinner();
|
282429
282424
|
} catch (error5) {
|
282430
|
-
|
282431
|
-
if (restartIfTimeout && isTimeoutError) {
|
282425
|
+
if (restartIfTimeout && error5 instanceof TimeoutError) {
|
282432
282426
|
note(`Restarting ${capitalizeFirstLetter2(type4)}`);
|
282433
282427
|
await service.restart(uniqueName);
|
282434
282428
|
return showSpinner();
|
@@ -285558,7 +285552,7 @@ ${error5.stack}`));
|
|
285558
285552
|
}
|
285559
285553
|
function registerCommands() {
|
285560
285554
|
const sdkcli = new Command;
|
285561
|
-
sdkcli.name("settlemint").usage("[command]").description(`CLI for SettleMint (v${package_default.version})`).version(package_default.version, "-v, --version", "Output the current version").helpOption("-h, --help", "Display help for command").allowUnknownOption().showSuggestionAfterError(true).showHelpAfterError()
|
285555
|
+
sdkcli.name("settlemint").usage("[command]").description(`CLI for SettleMint (v${package_default.version})`).version(package_default.version, "-v, --version", "Output the current version").helpOption("-h, --help", "Display help for command").allowUnknownOption().showSuggestionAfterError(true).showHelpAfterError();
|
285562
285556
|
sdkcli.addCommand(connectCommand());
|
285563
285557
|
sdkcli.addCommand(codegenCommand());
|
285564
285558
|
sdkcli.addCommand(platformCommand());
|
@@ -285586,4 +285580,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
285586
285580
|
// src/cli.ts
|
285587
285581
|
sdkCliCommand();
|
285588
285582
|
|
285589
|
-
//# debugId=
|
285583
|
+
//# debugId=EF0DBD16ED18AB1064756E2164756E21
|