@settlemint/sdk-cli 2.3.2-pr19c2c7d2 → 2.3.2-pr31e5a661
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 +9 -6
- package/dist/cli.js.map +3 -3
- package/package.json +3 -3
package/dist/cli.js
CHANGED
@@ -262458,7 +262458,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
262458
262458
|
var package_default = {
|
262459
262459
|
name: "@settlemint/sdk-cli",
|
262460
262460
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
262461
|
-
version: "2.3.2-
|
262461
|
+
version: "2.3.2-pr31e5a661",
|
262462
262462
|
type: "module",
|
262463
262463
|
private: false,
|
262464
262464
|
license: "FSL-1.1-MIT",
|
@@ -262507,8 +262507,8 @@ var package_default = {
|
|
262507
262507
|
"@inquirer/input": "4.1.10",
|
262508
262508
|
"@inquirer/password": "4.0.13",
|
262509
262509
|
"@inquirer/select": "4.2.1",
|
262510
|
-
"@settlemint/sdk-js": "2.3.2-
|
262511
|
-
"@settlemint/sdk-utils": "2.3.2-
|
262510
|
+
"@settlemint/sdk-js": "2.3.2-pr31e5a661",
|
262511
|
+
"@settlemint/sdk-utils": "2.3.2-pr31e5a661",
|
262512
262512
|
"@types/node": "22.15.21",
|
262513
262513
|
"@types/semver": "7.7.0",
|
262514
262514
|
"@types/which": "3.0.4",
|
@@ -275517,7 +275517,10 @@ async function instancePrompt(env2, accept, freeTextInput = false, isCi = is_in_
|
|
275517
275517
|
return sanitizeInstanceUrl(instance);
|
275518
275518
|
}
|
275519
275519
|
if (knownInstances.length === 0) {
|
275520
|
-
|
275520
|
+
cancel2("No instances found. Please run `settlemint login` to configure an instance.");
|
275521
|
+
}
|
275522
|
+
if (knownInstances.length === 1) {
|
275523
|
+
return sanitizeInstanceUrl(knownInstances[0]);
|
275521
275524
|
}
|
275522
275525
|
return esm_default3({
|
275523
275526
|
message: "What instance do you want to connect to?",
|
@@ -275527,7 +275530,7 @@ async function instancePrompt(env2, accept, freeTextInput = false, isCi = is_in_
|
|
275527
275530
|
value: sanitizeInstanceUrl(instance)
|
275528
275531
|
})),
|
275529
275532
|
{
|
275530
|
-
name: "Standalone (
|
275533
|
+
name: "Standalone (resources not part of the SettleMint platform)",
|
275531
275534
|
value: STANDALONE_INSTANCE2
|
275532
275535
|
}
|
275533
275536
|
],
|
@@ -284130,4 +284133,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
284130
284133
|
// src/cli.ts
|
284131
284134
|
sdkCliCommand();
|
284132
284135
|
|
284133
|
-
//# debugId=
|
284136
|
+
//# debugId=AC9B4D58ED942A5E64756E2164756E21
|