@settlemint/sdk-cli 1.1.15-pr5b0aed2f → 1.1.15-prde65a4ad
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 +8 -8
- package/dist/cli.js.map +6 -6
- package/package.json +3 -3
package/dist/cli.js
CHANGED
@@ -259683,7 +259683,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
259683
259683
|
var package_default = {
|
259684
259684
|
name: "@settlemint/sdk-cli",
|
259685
259685
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
259686
|
-
version: "1.1.15-
|
259686
|
+
version: "1.1.15-prde65a4ad",
|
259687
259687
|
type: "module",
|
259688
259688
|
private: false,
|
259689
259689
|
license: "FSL-1.1-MIT",
|
@@ -259731,8 +259731,8 @@ var package_default = {
|
|
259731
259731
|
"@inquirer/input": "4.1.6",
|
259732
259732
|
"@inquirer/password": "4.0.9",
|
259733
259733
|
"@inquirer/select": "4.0.9",
|
259734
|
-
"@settlemint/sdk-js": "1.1.15-
|
259735
|
-
"@settlemint/sdk-utils": "1.1.15-
|
259734
|
+
"@settlemint/sdk-js": "1.1.15-prde65a4ad",
|
259735
|
+
"@settlemint/sdk-utils": "1.1.15-prde65a4ad",
|
259736
259736
|
"@types/node": "22.13.9",
|
259737
259737
|
"@types/semver": "7.5.8",
|
259738
259738
|
"@types/which": "3.0.4",
|
@@ -265333,7 +265333,7 @@ async function subgraphPrompt({
|
|
265333
265333
|
if (subgraphNames.length === 1) {
|
265334
265334
|
return subgraphNames;
|
265335
265335
|
}
|
265336
|
-
const choices = subgraphNames.slice();
|
265336
|
+
const choices = subgraphNames.slice().sort();
|
265337
265337
|
if (allowAll) {
|
265338
265338
|
choices.unshift(ALL);
|
265339
265339
|
}
|
@@ -266478,7 +266478,7 @@ function connectCommand() {
|
|
266478
266478
|
const [defaultSubgraph] = thegraph ? await subgraphPrompt({
|
266479
266479
|
env: { ...env2, ...graphEndpoints },
|
266480
266480
|
accept: acceptDefaults,
|
266481
|
-
message: "Which
|
266481
|
+
message: "Which The Graph subgraph do you want to use as the default?"
|
266482
266482
|
}) : [];
|
266483
266483
|
const portal = await portalPrompt({
|
266484
266484
|
env: env2,
|
@@ -273218,7 +273218,7 @@ function subgraphDeployCommand() {
|
|
273218
273218
|
});
|
273219
273219
|
}
|
273220
273220
|
if (!graphName) {
|
273221
|
-
cancel2("No subgraph name provided. Please provide a
|
273221
|
+
cancel2("No subgraph name provided. Please provide a subgraph name to continue.");
|
273222
273222
|
}
|
273223
273223
|
const middlewareAdminUrl = new URL(`/${encodeURIComponent(accessToken)}/admin`, theGraphMiddleware.serviceUrl).toString();
|
273224
273224
|
await executeCommand(command, [...args, "graph", "create", "--node", middlewareAdminUrl, graphName]);
|
@@ -273263,7 +273263,7 @@ function subgraphRemoveCommand() {
|
|
273263
273263
|
description: "Remove a subgraph",
|
273264
273264
|
command: "scs subgraph remove my-subgraph"
|
273265
273265
|
}
|
273266
|
-
])).option("-a, --accept-defaults", "Accept the default and previously set values").option("--prod", "Connect to your production environment").option("-f, --force", "Force remove the subgraph without confirmation").argument("[subgraph-name]", "The name of the subgraph to
|
273266
|
+
])).option("-a, --accept-defaults", "Accept the default and previously set values").option("--prod", "Connect to your production environment").option("-f, --force", "Force remove the subgraph without confirmation").argument("[subgraph-name]", "The name of the subgraph to remove (defaults to value in .env if not provided)").action(async (subgraphName, { prod, acceptDefaults, force }) => {
|
273267
273267
|
intro("Removing subgraph");
|
273268
273268
|
await validateIfRequiredPackagesAreInstalled(["@graphprotocol/graph-cli"]);
|
273269
273269
|
const autoAccept = !!acceptDefaults || is_in_ci_default;
|
@@ -273460,4 +273460,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
273460
273460
|
// src/cli.ts
|
273461
273461
|
sdkCliCommand();
|
273462
273462
|
|
273463
|
-
//# debugId=
|
273463
|
+
//# debugId=19B58216CA075F2164756E2164756E21
|