@settlemint/sdk-cli 1.2.5-main40a547d0 → 1.2.5-main5adb3d88

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
@@ -259524,7 +259524,7 @@ function pruneCurrentEnv(currentEnv, env2) {
259524
259524
  var package_default = {
259525
259525
  name: "@settlemint/sdk-cli",
259526
259526
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
259527
- version: "1.2.5-main40a547d0",
259527
+ version: "1.2.5-main5adb3d88",
259528
259528
  type: "module",
259529
259529
  private: false,
259530
259530
  license: "FSL-1.1-MIT",
@@ -259571,10 +259571,10 @@ var package_default = {
259571
259571
  "@inquirer/input": "4.1.8",
259572
259572
  "@inquirer/password": "4.0.11",
259573
259573
  "@inquirer/select": "4.1.0",
259574
- "@settlemint/sdk-js": "1.2.5-main40a547d0",
259575
- "@settlemint/sdk-utils": "1.2.5-main40a547d0",
259576
- "@types/node": "22.13.10",
259577
- "@types/semver": "7.5.8",
259574
+ "@settlemint/sdk-js": "1.2.5-main5adb3d88",
259575
+ "@settlemint/sdk-utils": "1.2.5-main5adb3d88",
259576
+ "@types/node": "22.13.13",
259577
+ "@types/semver": "7.7.0",
259578
259578
  "@types/which": "3.0.4",
259579
259579
  "get-tsconfig": "4.10.0",
259580
259580
  giget: "2.0.0",
@@ -264368,9 +264368,9 @@ export const { client: hasuraClient, graphql: hasuraGraphql } = createHasuraClie
264368
264368
  geography: string;
264369
264369
  };
264370
264370
  }>({
264371
- instance: process.env.SETTLEMINT_HASURA_ENDPOINT ?? "",
264372
- accessToken: process.env.SETTLEMINT_ACCESS_TOKEN ?? "", // undefined in browser, by design to not leak the secrets
264373
- adminSecret: process.env.SETTLEMINT_HASURA_ADMIN_SECRET ?? "", // undefined in browser, by design to not leak the secrets
264371
+ instance: process.env.SETTLEMINT_HASURA_ENDPOINT!,
264372
+ accessToken: process.env.SETTLEMINT_ACCESS_TOKEN!,
264373
+ adminSecret: process.env.SETTLEMINT_HASURA_ADMIN_SECRET!,
264374
264374
  });`;
264375
264375
  await writeTemplate(hasuraTemplate, "/lib/settlemint", "hasura.ts");
264376
264376
  const drizzleTemplate = `import { createPostgresPool } from "${PACKAGE_NAME}/postgres";
@@ -264422,7 +264422,7 @@ export const { client: portalClient, graphql: portalGraphql } = createPortalClie
264422
264422
  };
264423
264423
  }>({
264424
264424
  instance: process.env.SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT!,
264425
- accessToken: process.env.SETTLEMINT_ACCESS_TOKEN!, // undefined in browser, by design to not leak the secrets
264425
+ accessToken: process.env.SETTLEMINT_ACCESS_TOKEN!,
264426
264426
  });`;
264427
264427
  await writeTemplate(template, "/lib/settlemint", "portal.ts");
264428
264428
  const projectDir = await projectRoot3();
@@ -264495,7 +264495,7 @@ export const { client: ${graphqlClientVariable}, graphql: ${graphqlVariable} } =
264495
264495
  };
264496
264496
  }>({
264497
264497
  instances: JSON.parse(process.env.SETTLEMINT_THEGRAPH_SUBGRAPHS_ENDPOINTS || '[]'),
264498
- accessToken: process.env.SETTLEMINT_ACCESS_TOKEN!, // undefined in browser, by design to not leak the secrets
264498
+ accessToken: process.env.SETTLEMINT_ACCESS_TOKEN!,
264499
264499
  subgraphName: "${name3}",
264500
264500
  });`
264501
264501
  ]);
@@ -266064,7 +266064,7 @@ export const { client: blockscoutClient, graphql: blockscoutGraphql } = createBl
266064
266064
  };
266065
266065
  }>({
266066
266066
  instance: process.env.SETTLEMINT_BLOCKSCOUT_ENDPOINT!,
266067
- accessToken: process.env.SETTLEMINT_ACCESS_TOKEN!, // undefined in browser, by design to not leak the secrets
266067
+ accessToken: process.env.SETTLEMINT_ACCESS_TOKEN!,
266068
266068
  });
266069
266069
 
266070
266070
  export const blockscoutUiEndpoint = process.env.SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT!;`;
@@ -274090,4 +274090,4 @@ async function sdkCliCommand(argv = process.argv) {
274090
274090
  // src/cli.ts
274091
274091
  sdkCliCommand();
274092
274092
 
274093
- //# debugId=7BFE17D13C2569B464756E2164756E21
274093
+ //# debugId=27B21BC8B8A6A31364756E2164756E21