@settlemint/sdk-cli 2.3.5-pr63ad9083 → 2.3.5-pr73f6894d
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 +28 -16
- package/dist/cli.js.map +7 -7
- package/package.json +3 -3
package/dist/cli.js
CHANGED
@@ -246161,7 +246161,7 @@ var isInteractive = (stream) => Boolean(stream.isTTY && process2.env.TERM !== "d
|
|
246161
246161
|
var infoSymbol = exports_base.blue(isUnicodeSupported ? "ℹ" : "i");
|
246162
246162
|
var successSymbol = exports_base.green(isUnicodeSupported ? "✔" : "√");
|
246163
246163
|
var warningSymbol = exports_base.yellow(isUnicodeSupported ? "⚠" : "‼");
|
246164
|
-
var errorSymbol = exports_base.red(isUnicodeSupported ? "
|
246164
|
+
var errorSymbol = exports_base.red(isUnicodeSupported ? "✖" : "×");
|
246165
246165
|
var defaultSpinner = {
|
246166
246166
|
frames: isUnicodeSupported ? [
|
246167
246167
|
"⠋",
|
@@ -246195,6 +246195,7 @@ class YoctoSpinner {
|
|
246195
246195
|
#exitHandlerBound;
|
246196
246196
|
#isInteractive;
|
246197
246197
|
#lastSpinnerFrameTime = 0;
|
246198
|
+
#isSpinning = false;
|
246198
246199
|
constructor(options = {}) {
|
246199
246200
|
const spinner = options.spinner ?? defaultSpinner;
|
246200
246201
|
this.#frames = spinner.frames;
|
@@ -246212,20 +246213,26 @@ class YoctoSpinner {
|
|
246212
246213
|
if (this.isSpinning) {
|
246213
246214
|
return this;
|
246214
246215
|
}
|
246216
|
+
this.#isSpinning = true;
|
246215
246217
|
this.#hideCursor();
|
246216
246218
|
this.#render();
|
246217
246219
|
this.#subscribeToProcessEvents();
|
246218
|
-
this.#
|
246219
|
-
this.#
|
246220
|
-
|
246220
|
+
if (this.#isInteractive) {
|
246221
|
+
this.#timer = setInterval(() => {
|
246222
|
+
this.#render();
|
246223
|
+
}, this.#interval);
|
246224
|
+
}
|
246221
246225
|
return this;
|
246222
246226
|
}
|
246223
246227
|
stop(finalText) {
|
246224
246228
|
if (!this.isSpinning) {
|
246225
246229
|
return this;
|
246226
246230
|
}
|
246227
|
-
|
246228
|
-
this.#timer
|
246231
|
+
this.#isSpinning = false;
|
246232
|
+
if (this.#timer) {
|
246233
|
+
clearInterval(this.#timer);
|
246234
|
+
this.#timer = undefined;
|
246235
|
+
}
|
246229
246236
|
this.#showCursor();
|
246230
246237
|
this.clear();
|
246231
246238
|
this.#unsubscribeFromProcessEvents();
|
@@ -246251,7 +246258,7 @@ class YoctoSpinner {
|
|
246251
246258
|
return this.#symbolStop(infoSymbol, text);
|
246252
246259
|
}
|
246253
246260
|
get isSpinning() {
|
246254
|
-
return this.#
|
246261
|
+
return this.#isSpinning;
|
246255
246262
|
}
|
246256
246263
|
get text() {
|
246257
246264
|
return this.#text;
|
@@ -257480,7 +257487,8 @@ var DotEnvSchema = object({
|
|
257480
257487
|
"warn",
|
257481
257488
|
"error",
|
257482
257489
|
"none"
|
257483
|
-
]).default("warn")
|
257490
|
+
]).default("warn"),
|
257491
|
+
NODE_TLS_REJECT_UNAUTHORIZED: _enum(["0", "1"]).optional()
|
257484
257492
|
});
|
257485
257493
|
var DotEnvSchemaPartial = DotEnvSchema.partial();
|
257486
257494
|
var IdSchema = union([string().uuid(), string().regex(/^[0-9a-fA-F]{24}$/)]);
|
@@ -263121,7 +263129,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
263121
263129
|
var package_default = {
|
263122
263130
|
name: "@settlemint/sdk-cli",
|
263123
263131
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
263124
|
-
version: "2.3.5-
|
263132
|
+
version: "2.3.5-pr73f6894d",
|
263125
263133
|
type: "module",
|
263126
263134
|
private: false,
|
263127
263135
|
license: "FSL-1.1-MIT",
|
@@ -263170,8 +263178,8 @@ var package_default = {
|
|
263170
263178
|
"@inquirer/input": "4.1.12",
|
263171
263179
|
"@inquirer/password": "4.0.15",
|
263172
263180
|
"@inquirer/select": "4.2.3",
|
263173
|
-
"@settlemint/sdk-js": "2.3.5-
|
263174
|
-
"@settlemint/sdk-utils": "2.3.5-
|
263181
|
+
"@settlemint/sdk-js": "2.3.5-pr73f6894d",
|
263182
|
+
"@settlemint/sdk-utils": "2.3.5-pr73f6894d",
|
263175
263183
|
"@types/node": "22.15.29",
|
263176
263184
|
"@types/semver": "7.7.0",
|
263177
263185
|
"@types/which": "3.0.4",
|
@@ -275244,7 +275252,8 @@ var DotEnvSchema2 = object2({
|
|
275244
275252
|
"warn",
|
275245
275253
|
"error",
|
275246
275254
|
"none"
|
275247
|
-
]).default("warn")
|
275255
|
+
]).default("warn"),
|
275256
|
+
NODE_TLS_REJECT_UNAUTHORIZED: _enum2(["0", "1"]).optional()
|
275248
275257
|
});
|
275249
275258
|
var DotEnvSchemaPartial2 = DotEnvSchema2.partial();
|
275250
275259
|
var IdSchema2 = union2([string2().uuid(), string2().regex(/^[0-9a-fA-F]{24}$/)]);
|
@@ -318662,7 +318671,8 @@ async function writeEnvSpinner(prod, env2) {
|
|
318662
318671
|
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: env2.SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT,
|
318663
318672
|
SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT: env2.SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT,
|
318664
318673
|
SETTLEMINT_NEW_PROJECT_NAME: env2.SETTLEMINT_NEW_PROJECT_NAME,
|
318665
|
-
SETTLEMINT_LOG_LEVEL: env2.SETTLEMINT_LOG_LEVEL
|
318674
|
+
SETTLEMINT_LOG_LEVEL: env2.SETTLEMINT_LOG_LEVEL,
|
318675
|
+
NODE_TLS_REJECT_UNAUTHORIZED: env2.NODE_TLS_REJECT_UNAUTHORIZED
|
318666
318676
|
};
|
318667
318677
|
await writeEnv({
|
318668
318678
|
prod,
|
@@ -319219,7 +319229,8 @@ async function connectToPlatform(env2, selectedInstance, acceptDefaults, prod) {
|
|
319219
319229
|
SETTLEMINT_CUSTOM_DEPLOYMENT: cDeployment?.uniqueName,
|
319220
319230
|
...getCustomDeploymentEnv(cDeployment),
|
319221
319231
|
SETTLEMINT_BLOCKSCOUT: blockscout?.uniqueName,
|
319222
|
-
...getBlockscoutEnv(blockscout)
|
319232
|
+
...getBlockscoutEnv(blockscout),
|
319233
|
+
NODE_TLS_REJECT_UNAUTHORIZED: "1"
|
319223
319234
|
});
|
319224
319235
|
}
|
319225
319236
|
async function connectToStandalone(env2, acceptDefaults, prod) {
|
@@ -319378,7 +319389,8 @@ async function connectToStandalone(env2, acceptDefaults, prod) {
|
|
319378
319389
|
SETTLEMINT_MINIO_ACCESS_KEY: selectedServices.minioAccessKey?.result,
|
319379
319390
|
SETTLEMINT_MINIO_SECRET_KEY: selectedServices.minioSecretKey?.result,
|
319380
319391
|
SETTLEMINT_IPFS_API_ENDPOINT: selectedServices.ipfsApiEndpoint?.result,
|
319381
|
-
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: selectedServices.blockscoutGraphqlEndpoint?.result
|
319392
|
+
SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: selectedServices.blockscoutGraphqlEndpoint?.result,
|
319393
|
+
NODE_TLS_REJECT_UNAUTHORIZED: "0"
|
319382
319394
|
});
|
319383
319395
|
}
|
319384
319396
|
|
@@ -327377,4 +327389,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
327377
327389
|
// src/cli.ts
|
327378
327390
|
sdkCliCommand();
|
327379
327391
|
|
327380
|
-
//# debugId=
|
327392
|
+
//# debugId=AFD4E888CD88093D64756E2164756E21
|