@settlemint/sdk-cli 1.2.0 → 1.2.1-mainf577bcce
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 +11 -7
- package/dist/cli.js.map +5 -5
- 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-mainf577bcce",
|
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-mainf577bcce",
|
259570
|
+
"@settlemint/sdk-utils": "1.2.1-mainf577bcce",
|
259571
259571
|
"@types/node": "22.13.10",
|
259572
259572
|
"@types/semver": "7.5.8",
|
259573
259573
|
"@types/which": "3.0.4",
|
@@ -262199,6 +262199,8 @@ var createCustomDeployment = graphql(`
|
|
262199
262199
|
$port: Int!
|
262200
262200
|
$provider: String!
|
262201
262201
|
$region: String!
|
262202
|
+
$size: ClusterServiceSize
|
262203
|
+
$type: ClusterServiceType
|
262202
262204
|
) {
|
262203
262205
|
createCustomDeployment(
|
262204
262206
|
applicationId: $applicationId
|
@@ -262210,6 +262212,8 @@ var createCustomDeployment = graphql(`
|
|
262210
262212
|
environmentVariables: $environmentVariables
|
262211
262213
|
provider: $provider
|
262212
262214
|
region: $region
|
262215
|
+
size: $size
|
262216
|
+
type: $type
|
262213
262217
|
) {
|
262214
262218
|
...CustomDeployment
|
262215
262219
|
}
|
@@ -265284,7 +265288,7 @@ async function subgraphPrompt({
|
|
265284
265288
|
}
|
265285
265289
|
return subgraphNames.length === 1 ? subgraphNames : [];
|
265286
265290
|
}
|
265287
|
-
if (subgraphNames.length === 0) {
|
265291
|
+
if (subgraphNames.length === 0 && !allowNew) {
|
265288
265292
|
cancel2("No subgraphs found");
|
265289
265293
|
}
|
265290
265294
|
if (subgraphNames.length === 1) {
|
@@ -265305,7 +265309,7 @@ async function subgraphPrompt({
|
|
265305
265309
|
} else {
|
265306
265310
|
defaultChoice = env2.SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH ?? subgraphNames[0];
|
265307
265311
|
}
|
265308
|
-
const subgraphName = await esm_default3({
|
265312
|
+
const subgraphName = choices.length === 1 && choices[0] === NEW ? NEW : await esm_default3({
|
265309
265313
|
message,
|
265310
265314
|
choices: choices.map((name3) => ({
|
265311
265315
|
name: name3,
|
@@ -270099,7 +270103,7 @@ function pincodeVerificationResponseCommand() {
|
|
270099
270103
|
|
270100
270104
|
// src/commands/platform/common/cluster-service.args.ts
|
270101
270105
|
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(["
|
270106
|
+
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
270107
|
}
|
270104
270108
|
|
270105
270109
|
// src/commands/platform/utils/wait-for-completion.ts
|
@@ -273416,4 +273420,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
273416
273420
|
// src/cli.ts
|
273417
273421
|
sdkCliCommand();
|
273418
273422
|
|
273419
|
-
//# debugId=
|
273423
|
+
//# debugId=E6BEF824EE91CA1264756E2164756E21
|