@settlemint/sdk-mcp 2.1.0 → 2.1.1

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/mcp.js CHANGED
@@ -42648,17 +42648,24 @@ function prepareResult({ options, pointerOptionMap, validSources }) {
42648
42648
  debugTimerStart("@graphql-tools/load: prepareResult");
42649
42649
  const pointerList = Object.keys(pointerOptionMap);
42650
42650
  if (pointerList.length > 0 && validSources.length === 0) {
42651
- throw new Error(`
42652
- Unable to find any GraphQL type definitions for the following pointers:
42653
- ${pointerList.map((p) => `
42654
- - ${p}
42655
- `)}`);
42651
+ throw new NoTypeDefinitionsFound(pointerList);
42656
42652
  }
42657
42653
  const sortedResult = options.sort ? validSources.sort((left, right) => compareStrings(left.location, right.location)) : validSources;
42658
42654
  debugTimerEnd("@graphql-tools/load: prepareResult");
42659
42655
  return sortedResult;
42660
42656
  }
42661
42657
 
42658
+ class NoTypeDefinitionsFound extends Error {
42659
+ constructor(pointerList) {
42660
+ super(`
42661
+ Unable to find any GraphQL type definitions for the following pointers:
42662
+ ${pointerList.map((p) => `
42663
+ - ${p}
42664
+ `)}`);
42665
+ this.name = "NoTypeDefinitionsFound";
42666
+ }
42667
+ }
42668
+
42662
42669
  // ../../node_modules/@graphql-tools/load/esm/schema.js
42663
42670
  var import_graphql42 = __toESM(require_graphql2(), 1);
42664
42671
 
@@ -62485,7 +62492,8 @@ var DotEnvSchema = z.object({
62485
62492
  SETTLEMINT_BLOCKSCOUT: UniqueNameSchema.optional(),
62486
62493
  SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: UrlSchema.optional(),
62487
62494
  SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT: UrlSchema.optional(),
62488
- SETTLEMINT_NEW_PROJECT_NAME: z.string().optional()
62495
+ SETTLEMINT_NEW_PROJECT_NAME: z.string().optional(),
62496
+ SETTLEMINT_LOG_LEVEL: z.enum(["debug", "info", "warn", "error", "none"]).default("warn")
62489
62497
  });
62490
62498
  var DotEnvSchemaPartial = DotEnvSchema.partial();
62491
62499
  var IdSchema = z.union([
@@ -62589,7 +62597,8 @@ var DotEnvSchema2 = z.object({
62589
62597
  SETTLEMINT_BLOCKSCOUT: UniqueNameSchema2.optional(),
62590
62598
  SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT: UrlSchema2.optional(),
62591
62599
  SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT: UrlSchema2.optional(),
62592
- SETTLEMINT_NEW_PROJECT_NAME: z.string().optional()
62600
+ SETTLEMINT_NEW_PROJECT_NAME: z.string().optional(),
62601
+ SETTLEMINT_LOG_LEVEL: z.enum(["debug", "info", "warn", "error", "none"]).default("warn")
62593
62602
  });
62594
62603
  var DotEnvSchemaPartial2 = DotEnvSchema2.partial();
62595
62604
  var IdSchema2 = z.union([
@@ -62616,7 +62625,7 @@ var {
62616
62625
  var package_default = {
62617
62626
  name: "@settlemint/sdk-mcp",
62618
62627
  description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
62619
- version: "2.1.0",
62628
+ version: "2.1.1",
62620
62629
  type: "module",
62621
62630
  private: false,
62622
62631
  license: "FSL-1.1-MIT",
@@ -62655,11 +62664,11 @@ var package_default = {
62655
62664
  prepack: "cp ../../LICENSE ."
62656
62665
  },
62657
62666
  dependencies: {
62658
- "@graphql-tools/load": "8.0.19",
62667
+ "@graphql-tools/load": "8.1.0",
62659
62668
  "@graphql-tools/url-loader": "8.0.31",
62660
62669
  "@modelcontextprotocol/sdk": "1.9.0",
62661
- "@settlemint/sdk-js": "2.1.0",
62662
- "@settlemint/sdk-utils": "2.1.0",
62670
+ "@settlemint/sdk-js": "2.1.1",
62671
+ "@settlemint/sdk-utils": "2.1.1",
62663
62672
  "@commander-js/extra-typings": "11.1.0",
62664
62673
  commander: "11.1.0",
62665
62674
  zod: "3.24.2"
@@ -68081,4 +68090,4 @@ await main().catch((error2) => {
68081
68090
  process.exit(1);
68082
68091
  });
68083
68092
 
68084
- //# debugId=EA9A2F090074BC0D64756E2164756E21
68093
+ //# debugId=29A96A4A2B64D19364756E2164756E21