@settlemint/sdk-cli 2.1.4-pr9dd5ccc8 → 2.1.4-pra17cc45f
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 +7 -13
- package/dist/cli.js.map +5 -5
- package/package.json +3 -3
package/dist/cli.js
CHANGED
@@ -245278,7 +245278,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
245278
245278
|
var package_default = {
|
245279
245279
|
name: "@settlemint/sdk-cli",
|
245280
245280
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
245281
|
-
version: "2.1.4-
|
245281
|
+
version: "2.1.4-pra17cc45f",
|
245282
245282
|
type: "module",
|
245283
245283
|
private: false,
|
245284
245284
|
license: "FSL-1.1-MIT",
|
@@ -245327,8 +245327,8 @@ var package_default = {
|
|
245327
245327
|
"@inquirer/input": "4.1.9",
|
245328
245328
|
"@inquirer/password": "4.0.12",
|
245329
245329
|
"@inquirer/select": "4.1.1",
|
245330
|
-
"@settlemint/sdk-js": "2.1.4-
|
245331
|
-
"@settlemint/sdk-utils": "2.1.4-
|
245330
|
+
"@settlemint/sdk-js": "2.1.4-pra17cc45f",
|
245331
|
+
"@settlemint/sdk-utils": "2.1.4-pra17cc45f",
|
245332
245332
|
"@types/node": "22.14.1",
|
245333
245333
|
"@types/semver": "7.7.0",
|
245334
245334
|
"@types/which": "3.0.4",
|
@@ -252285,9 +252285,6 @@ async function servicePrompt({
|
|
252285
252285
|
}
|
252286
252286
|
const selectedService = services.find((service) => Array.isArray(service) ? false : service.uniqueName === env2[envKey]);
|
252287
252287
|
const autoAccept = isCi || accept;
|
252288
|
-
if (autoAccept && allowAll) {
|
252289
|
-
return services;
|
252290
|
-
}
|
252291
252288
|
if (autoAccept && selectedService) {
|
252292
252289
|
return selectedService;
|
252293
252290
|
}
|
@@ -256908,10 +256905,7 @@ function getCreateCommand({
|
|
256908
256905
|
usePersonalAccessToken = true,
|
256909
256906
|
requiresDeployment = true
|
256910
256907
|
}) {
|
256911
|
-
const cmd2 = new Command(sanitizeCommandName(name3)).description(`Create a new ${subType ? `${subType} ${type4}` : type4} in the SettleMint platform.`).usage(createExamples(examples)).argument("<name>", `The ${subType ? `${subType} ${type4}` : type4} name`).option("-a, --accept-defaults", "Accept the default values").option("-d, --default", `Save as default ${type4}`).option("--prod", "Connect to production environment");
|
256912
|
-
if (alias) {
|
256913
|
-
cmd2.alias(alias);
|
256914
|
-
}
|
256908
|
+
const cmd2 = new Command(sanitizeCommandName(name3)).alias(alias).description(`Create a new ${subType ? `${subType} ${type4}` : type4} in the SettleMint platform.`).usage(createExamples(examples)).argument("<name>", `The ${subType ? `${subType} ${type4}` : type4} name`).option("-a, --accept-defaults", "Accept the default values").option("-d, --default", `Save as default ${type4}`).option("--prod", "Connect to production environment");
|
256915
256909
|
if (requiresDeployment) {
|
256916
256910
|
cmd2.option("-w, --wait", "Wait until deployed").option("-r, --restart-if-timeout", "Restart if wait time is exceeded");
|
256917
256911
|
}
|
@@ -257625,6 +257619,7 @@ function loadBalancerEvmCreateCommand() {
|
|
257625
257619
|
name: "evm",
|
257626
257620
|
type: "load balancer",
|
257627
257621
|
subType: "EVM",
|
257622
|
+
alias: "e",
|
257628
257623
|
execute: (cmd2, baseAction) => {
|
257629
257624
|
addClusterServiceArgs(cmd2).option("--app, --application <application>", "The application unique name to create the load balancer in (defaults to application from env)").option("--blockchain-nodes <blockchainNodes...>", "Blockchain node unique names where the load balancer connects to (must be from the same network)").action(async (name3, { application, provider, region, size, type: type4, blockchainNodes, acceptDefaults, ...defaultArgs }) => {
|
257630
257625
|
return baseAction({
|
@@ -257650,11 +257645,10 @@ function loadBalancerEvmCreateCommand() {
|
|
257650
257645
|
if (!network) {
|
257651
257646
|
return nothingSelectedError("blockchain network");
|
257652
257647
|
}
|
257653
|
-
networkUniqueName = network.uniqueName;
|
257654
257648
|
const blockchainNodes2 = await serviceSpinner("blockchain node", () => settlemint.blockchainNode.list(applicationUniqueName));
|
257655
257649
|
const connectedNodes = await blockchainNodePrompt({
|
257656
257650
|
env: env2,
|
257657
|
-
nodes: blockchainNodes2.filter((node) => node.blockchainNetwork?.uniqueName ===
|
257651
|
+
nodes: blockchainNodes2.filter((node) => node.blockchainNetwork?.uniqueName === networkUniqueName),
|
257658
257652
|
accept: acceptDefaults,
|
257659
257653
|
promptMessage: "Which blockchain node do you want to connect the load balancer to?",
|
257660
257654
|
allowAll: true
|
@@ -260198,4 +260192,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
260198
260192
|
// src/cli.ts
|
260199
260193
|
sdkCliCommand();
|
260200
260194
|
|
260201
|
-
//# debugId=
|
260195
|
+
//# debugId=FE90D160761BA23064756E2164756E21
|