@settlemint/sdk-cli 1.1.16-pr1f4dad46 → 1.1.16-pr2e796b5f

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 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.16-pr1f4dad46",
259686
+ version: "1.1.16-pr2e796b5f",
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.7",
259732
259732
  "@inquirer/password": "4.0.10",
259733
259733
  "@inquirer/select": "4.0.10",
259734
- "@settlemint/sdk-js": "1.1.16-pr1f4dad46",
259735
- "@settlemint/sdk-utils": "1.1.16-pr1f4dad46",
259734
+ "@settlemint/sdk-js": "1.1.16-pr2e796b5f",
259735
+ "@settlemint/sdk-utils": "1.1.16-pr2e796b5f",
259736
259736
  "@types/node": "22.13.10",
259737
259737
  "@types/semver": "7.5.8",
259738
259738
  "@types/which": "3.0.4",
@@ -265452,7 +265452,13 @@ async function subgraphPrompt({
265452
265452
  const autoAccept = isCi || !!accept;
265453
265453
  const subgraphNames = env2.SETTLEMINT_THEGRAPH_SUBGRAPHS_ENDPOINTS?.map((endpoint) => endpoint.split("/").pop()).filter(Boolean) ?? [];
265454
265454
  if (autoAccept) {
265455
- return allowAll ? subgraphNames : env2.SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH ? [env2.SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH] : [];
265455
+ if (allowAll) {
265456
+ return subgraphNames;
265457
+ }
265458
+ if (env2.SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH) {
265459
+ return [env2.SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH];
265460
+ }
265461
+ return subgraphNames.length === 1 ? subgraphNames : [];
265456
265462
  }
265457
265463
  if (subgraphNames.length === 0) {
265458
265464
  cancel2("No subgraphs found");
@@ -273600,4 +273606,4 @@ async function sdkCliCommand(argv = process.argv) {
273600
273606
  // src/cli.ts
273601
273607
  sdkCliCommand();
273602
273608
 
273603
- //# debugId=2E68A819183B1D3E64756E2164756E21
273609
+ //# debugId=919CC49FD7EDB76064756E2164756E21