@settlemint/sdk-cli 2.1.4-pr86a1f4ed → 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 +9 -6
- package/dist/cli.js.map +3 -3
- 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",
|
@@ -257655,11 +257655,14 @@ function loadBalancerEvmCreateCommand() {
|
|
257655
257655
|
});
|
257656
257656
|
connectedNodesUniqueNames = Array.isArray(connectedNodes) ? blockchainNodes2.map((node) => node.uniqueName) : connectedNodes ? [connectedNodes.uniqueName] : [];
|
257657
257657
|
}
|
257658
|
+
if (connectedNodesUniqueNames.length === 0) {
|
257659
|
+
return cancel2("A load balancer must connect to at least one blockchain node");
|
257660
|
+
}
|
257658
257661
|
if (!networkUniqueName) {
|
257659
257662
|
const applicationBlockchainNodes = await serviceSpinner("blockchain node", () => settlemint.blockchainNode.list(applicationUniqueName));
|
257660
257663
|
const selectedBlockchainNodes = applicationBlockchainNodes.filter((node) => connectedNodesUniqueNames.includes(node.uniqueName));
|
257661
257664
|
if (selectedBlockchainNodes.length === 0) {
|
257662
|
-
return cancel2("
|
257665
|
+
return cancel2(`Blockchain node(s) '${connectedNodesUniqueNames.join(", ")}' are not part of the application '${applicationUniqueName}'`);
|
257663
257666
|
}
|
257664
257667
|
const onTheSameNetwork = selectedBlockchainNodes.every((node) => node.blockchainNetwork?.uniqueName === selectedBlockchainNodes[0].blockchainNetwork?.uniqueName);
|
257665
257668
|
if (!onTheSameNetwork) {
|
@@ -257696,7 +257699,7 @@ function loadBalancerEvmCreateCommand() {
|
|
257696
257699
|
},
|
257697
257700
|
{
|
257698
257701
|
description: "Create an EVM load balancer and connect to specific blockchain nodes",
|
257699
|
-
command: "platform create load-balancer evm my-lb --blockchain-
|
257702
|
+
command: "platform create load-balancer evm my-lb --blockchain-network my-network --accept-defaults"
|
257700
257703
|
},
|
257701
257704
|
{
|
257702
257705
|
description: "Create an EVM load balancer in a different application",
|
@@ -260189,4 +260192,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
260189
260192
|
// src/cli.ts
|
260190
260193
|
sdkCliCommand();
|
260191
260194
|
|
260192
|
-
//# debugId=
|
260195
|
+
//# debugId=FE90D160761BA23064756E2164756E21
|