@settlemint/sdk-cli 2.1.4-pr3684fc8b → 2.1.4-pr4492e2b4
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 +12 -12
- package/dist/cli.js.map +6 -6
- 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-pr4492e2b4",
|
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-pr4492e2b4",
|
245331
|
+
"@settlemint/sdk-utils": "2.1.4-pr4492e2b4",
|
245332
245332
|
"@types/node": "22.14.1",
|
245333
245333
|
"@types/semver": "7.7.0",
|
245334
245334
|
"@types/which": "3.0.4",
|
@@ -251776,6 +251776,7 @@ async function codegenBlockscout(env2) {
|
|
251776
251776
|
__schema {
|
251777
251777
|
queryType { name }
|
251778
251778
|
mutationType { name }
|
251779
|
+
subscriptionType { name }
|
251779
251780
|
types {
|
251780
251781
|
...FullType
|
251781
251782
|
}
|
@@ -251857,10 +251858,6 @@ async function codegenBlockscout(env2) {
|
|
251857
251858
|
ofType {
|
251858
251859
|
kind
|
251859
251860
|
name
|
251860
|
-
ofType {
|
251861
|
-
kind
|
251862
|
-
name
|
251863
|
-
}
|
251864
251861
|
}
|
251865
251862
|
}
|
251866
251863
|
}
|
@@ -252285,6 +252282,9 @@ async function servicePrompt({
|
|
252285
252282
|
}
|
252286
252283
|
const selectedService = services.find((service) => Array.isArray(service) ? false : service.uniqueName === env2[envKey]);
|
252287
252284
|
const autoAccept = isCi || accept;
|
252285
|
+
if (autoAccept && allowAll) {
|
252286
|
+
return services;
|
252287
|
+
}
|
252288
252288
|
if (autoAccept && selectedService) {
|
252289
252289
|
return selectedService;
|
252290
252290
|
}
|
@@ -252362,7 +252362,7 @@ async function blockchainNodePrompt({
|
|
252362
252362
|
return esm_default3({
|
252363
252363
|
message: promptMessage ?? "Which blockchain node do you want to connect to?",
|
252364
252364
|
choices: filteredChoices,
|
252365
|
-
default:
|
252365
|
+
default: defaultNode
|
252366
252366
|
});
|
252367
252367
|
},
|
252368
252368
|
singleOptionMessage,
|
@@ -252913,7 +252913,7 @@ function connectCommand() {
|
|
252913
252913
|
nodes: nodesWithoutPrivateKey,
|
252914
252914
|
loadBalancers,
|
252915
252915
|
accept: acceptDefaults,
|
252916
|
-
promptMessage: "Which
|
252916
|
+
promptMessage: "Which load balancer or blockchain node do you want to use for read operations?"
|
252917
252917
|
});
|
252918
252918
|
const hasura = await hasuraPrompt({
|
252919
252919
|
env: env2,
|
@@ -252979,12 +252979,12 @@ function connectCommand() {
|
|
252979
252979
|
uniqueName: blockchainNode.blockchainNetwork?.uniqueName
|
252980
252980
|
},
|
252981
252981
|
blockchainNode && {
|
252982
|
-
type: "Blockchain Node (
|
252982
|
+
type: "Blockchain Node (use for sending transactions)",
|
252983
252983
|
name: blockchainNode.name,
|
252984
252984
|
uniqueName: blockchainNode.uniqueName
|
252985
252985
|
},
|
252986
252986
|
loadBalancerOrBlockchainNode && {
|
252987
|
-
type: "
|
252987
|
+
type: "Load Balancer or Blockchain Node (use for read operations)",
|
252988
252988
|
name: loadBalancerOrBlockchainNode.name,
|
252989
252989
|
uniqueName: loadBalancerOrBlockchainNode.uniqueName
|
252990
252990
|
},
|
@@ -260195,4 +260195,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
260195
260195
|
// src/cli.ts
|
260196
260196
|
sdkCliCommand();
|
260197
260197
|
|
260198
|
-
//# debugId=
|
260198
|
+
//# debugId=E9D8627ECFBED53C64756E2164756E21
|