@settlemint/sdk-cli 2.5.1-pr35d69a38 → 2.5.1-pr5c5f163d
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 +18 -11
- package/dist/cli.js.map +3 -3
- package/package.json +9 -9
package/dist/cli.js
CHANGED
@@ -265083,7 +265083,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
265083
265083
|
var package_default = {
|
265084
265084
|
name: "@settlemint/sdk-cli",
|
265085
265085
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
265086
|
-
version: "2.5.1-
|
265086
|
+
version: "2.5.1-pr5c5f163d",
|
265087
265087
|
type: "module",
|
265088
265088
|
private: false,
|
265089
265089
|
license: "FSL-1.1-MIT",
|
@@ -265130,14 +265130,14 @@ var package_default = {
|
|
265130
265130
|
devDependencies: {
|
265131
265131
|
"@commander-js/extra-typings": "14.0.0",
|
265132
265132
|
commander: "14.0.0",
|
265133
|
-
"@inquirer/confirm": "5.1.
|
265134
|
-
"@inquirer/input": "4.2.
|
265135
|
-
"@inquirer/password": "4.0.
|
265136
|
-
"@inquirer/select": "4.
|
265137
|
-
"@settlemint/sdk-hasura": "2.5.1-
|
265138
|
-
"@settlemint/sdk-js": "2.5.1-
|
265139
|
-
"@settlemint/sdk-utils": "2.5.1-
|
265140
|
-
"@settlemint/sdk-viem": "2.5.1-
|
265133
|
+
"@inquirer/confirm": "5.1.14",
|
265134
|
+
"@inquirer/input": "4.2.1",
|
265135
|
+
"@inquirer/password": "4.0.16",
|
265136
|
+
"@inquirer/select": "4.3.0",
|
265137
|
+
"@settlemint/sdk-hasura": "2.5.1-pr5c5f163d",
|
265138
|
+
"@settlemint/sdk-js": "2.5.1-pr5c5f163d",
|
265139
|
+
"@settlemint/sdk-utils": "2.5.1-pr5c5f163d",
|
265140
|
+
"@settlemint/sdk-viem": "2.5.1-pr5c5f163d",
|
265141
265141
|
"@types/node": "24.0.15",
|
265142
265142
|
"@types/semver": "7.7.0",
|
265143
265143
|
"@types/which": "3.0.4",
|
@@ -303428,7 +303428,14 @@ var esm_default3 = createPrompt((config4, done) => {
|
|
303428
303428
|
setActive(next);
|
303429
303429
|
}
|
303430
303430
|
} else if (isNumberKey(key2) && !Number.isNaN(Number(rl.line))) {
|
303431
|
-
const
|
303431
|
+
const selectedIndex = Number(rl.line) - 1;
|
303432
|
+
let selectableIndex = -1;
|
303433
|
+
const position = items.findIndex((item2) => {
|
303434
|
+
if (Separator.isSeparator(item2))
|
303435
|
+
return false;
|
303436
|
+
selectableIndex++;
|
303437
|
+
return selectableIndex === selectedIndex;
|
303438
|
+
});
|
303432
303439
|
const item = items[position];
|
303433
303440
|
if (item != null && isSelectable(item)) {
|
303434
303441
|
setActive(position);
|
@@ -331695,4 +331702,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
331695
331702
|
// src/cli.ts
|
331696
331703
|
sdkCliCommand();
|
331697
331704
|
|
331698
|
-
//# debugId=
|
331705
|
+
//# debugId=A308F9D84C5378E464756E2164756E21
|