@settlemint/sdk-cli 1.1.5-prd7678b57 → 1.1.5-prea5e656a
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 +12 -6
- package/dist/cli.js.map +4 -4
- 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-prea5e656a",
|
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-prea5e656a",
|
274514
|
+
"@settlemint/sdk-utils": "1.1.5-prea5e656a",
|
274515
274515
|
"@types/node": "22.13.1",
|
274516
274516
|
"@types/semver": "7.5.8",
|
274517
274517
|
"@types/which": "3.0.4",
|
@@ -275760,6 +275760,11 @@ 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
|
+
}
|
275763
275768
|
};
|
275764
275769
|
var spinner = async (options) => {
|
275765
275770
|
const handleError = (error) => {
|
@@ -275767,7 +275772,7 @@ var spinner = async (options) => {
|
|
275767
275772
|
note(redBright(`${errorMessage}
|
275768
275773
|
|
275769
275774
|
${error.stack}`));
|
275770
|
-
throw new SpinnerError(errorMessage);
|
275775
|
+
throw new SpinnerError(errorMessage, error);
|
275771
275776
|
};
|
275772
275777
|
if (is_in_ci_default) {
|
275773
275778
|
try {
|
@@ -282422,7 +282427,8 @@ async function waitForCompletion({
|
|
282422
282427
|
try {
|
282423
282428
|
return await showSpinner();
|
282424
282429
|
} catch (error5) {
|
282425
|
-
|
282430
|
+
const isTimeoutError = error5 instanceof SpinnerError && error5.originalError instanceof TimeoutError;
|
282431
|
+
if (restartIfTimeout && isTimeoutError) {
|
282426
282432
|
note(`Restarting ${capitalizeFirstLetter2(type4)}`);
|
282427
282433
|
await service.restart(uniqueName);
|
282428
282434
|
return showSpinner();
|
@@ -285580,4 +285586,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
285580
285586
|
// src/cli.ts
|
285581
285587
|
sdkCliCommand();
|
285582
285588
|
|
285583
|
-
//# debugId=
|
285589
|
+
//# debugId=31FDDC3AB7EE53E364756E2164756E21
|