@settlemint/sdk-cli 1.2.0 → 1.2.1-main74813dd9
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/README.md +1 -1
- package/dist/cli.js +7 -7
- package/dist/cli.js.map +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
@@ -249,7 +249,7 @@ settlemint scs subgraph deploy --accept-defaults <subgraph-name>
|
|
249
249
|
|
250
250
|
## API Reference
|
251
251
|
|
252
|
-
See the [documentation](https://github.com/settlemint/sdk/tree/v1.2.
|
252
|
+
See the [documentation](https://github.com/settlemint/sdk/tree/v1.2.1/sdk/cli/docs/settlemint.md) for available commands.
|
253
253
|
|
254
254
|
## Contributing
|
255
255
|
|
package/dist/cli.js
CHANGED
@@ -259517,7 +259517,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
259517
259517
|
var package_default = {
|
259518
259518
|
name: "@settlemint/sdk-cli",
|
259519
259519
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
259520
|
-
version: "1.2.
|
259520
|
+
version: "1.2.1-main74813dd9",
|
259521
259521
|
type: "module",
|
259522
259522
|
private: false,
|
259523
259523
|
license: "FSL-1.1-MIT",
|
@@ -259566,8 +259566,8 @@ var package_default = {
|
|
259566
259566
|
"@inquirer/input": "4.1.7",
|
259567
259567
|
"@inquirer/password": "4.0.10",
|
259568
259568
|
"@inquirer/select": "4.0.10",
|
259569
|
-
"@settlemint/sdk-js": "1.2.
|
259570
|
-
"@settlemint/sdk-utils": "1.2.
|
259569
|
+
"@settlemint/sdk-js": "1.2.1-main74813dd9",
|
259570
|
+
"@settlemint/sdk-utils": "1.2.1-main74813dd9",
|
259571
259571
|
"@types/node": "22.13.10",
|
259572
259572
|
"@types/semver": "7.5.8",
|
259573
259573
|
"@types/which": "3.0.4",
|
@@ -265284,7 +265284,7 @@ async function subgraphPrompt({
|
|
265284
265284
|
}
|
265285
265285
|
return subgraphNames.length === 1 ? subgraphNames : [];
|
265286
265286
|
}
|
265287
|
-
if (subgraphNames.length === 0) {
|
265287
|
+
if (subgraphNames.length === 0 && !allowNew) {
|
265288
265288
|
cancel2("No subgraphs found");
|
265289
265289
|
}
|
265290
265290
|
if (subgraphNames.length === 1) {
|
@@ -265305,7 +265305,7 @@ async function subgraphPrompt({
|
|
265305
265305
|
} else {
|
265306
265306
|
defaultChoice = env2.SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH ?? subgraphNames[0];
|
265307
265307
|
}
|
265308
|
-
const subgraphName = await esm_default3({
|
265308
|
+
const subgraphName = choices.length === 1 && choices[0] === NEW ? NEW : await esm_default3({
|
265309
265309
|
message,
|
265310
265310
|
choices: choices.map((name3) => ({
|
265311
265311
|
name: name3,
|
@@ -270099,7 +270099,7 @@ function pincodeVerificationResponseCommand() {
|
|
270099
270099
|
|
270100
270100
|
// src/commands/platform/common/cluster-service.args.ts
|
270101
270101
|
function addClusterServiceArgs(cmd2) {
|
270102
|
-
return cmd2.option("--provider <provider>", "Network provider (run `settlemint platform config` to see available providers)").option("--region <region>", "Deployment region (run `settlemint platform config` to see available regions)").addOption(new Option("--size <size>", "Network size").choices(["
|
270102
|
+
return cmd2.option("--provider <provider>", "Network provider (run `settlemint platform config` to see available providers)").option("--region <region>", "Deployment region (run `settlemint platform config` to see available regions)").addOption(new Option("--size <size>", "Network size").choices(["LARGE", "MEDIUM", "SMALL"]).argParser((value4) => value4).default("SMALL")).addOption(new Option("--type <type>", "Network type").choices(["DEDICATED", "SHARED"]).argParser((value4) => value4).default("SHARED"));
|
270103
270103
|
}
|
270104
270104
|
|
270105
270105
|
// src/commands/platform/utils/wait-for-completion.ts
|
@@ -273416,4 +273416,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
273416
273416
|
// src/cli.ts
|
273417
273417
|
sdkCliCommand();
|
273418
273418
|
|
273419
|
-
//# debugId=
|
273419
|
+
//# debugId=E224BB4262590DA964756E2164756E21
|