@settlemint/sdk-mcp 2.2.3-preb2eda12 → 2.2.3-prf6d9c97f

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
@@ -55964,6 +55964,11 @@ class McpServer {
55964
55964
  if (this._registeredTools[name]) {
55965
55965
  throw new Error(`Tool ${name} is already registered`);
55966
55966
  }
55967
+ const isZodRawShape = (obj) => {
55968
+ if (typeof obj !== "object" || obj === null)
55969
+ return false;
55970
+ return Object.values(obj).some((v) => v instanceof ZodType);
55971
+ };
55967
55972
  let description;
55968
55973
  if (typeof rest[0] === "string") {
55969
55974
  description = rest.shift();
@@ -56080,15 +56085,6 @@ class McpServer {
56080
56085
  var EMPTY_OBJECT_JSON_SCHEMA = {
56081
56086
  type: "object"
56082
56087
  };
56083
- function isZodRawShape(obj) {
56084
- if (typeof obj !== "object" || obj === null)
56085
- return false;
56086
- const isEmptyObject = Object.keys(obj).length === 0;
56087
- return isEmptyObject || Object.values(obj).some(isZodTypeLike);
56088
- }
56089
- function isZodTypeLike(value) {
56090
- return value !== null && typeof value === "object" && "parse" in value && typeof value.parse === "function" && "safeParse" in value && typeof value.safeParse === "function";
56091
- }
56092
56088
  function promptArgumentsFromSchema(schema) {
56093
56089
  return Object.entries(schema.shape).map(([name, field]) => ({
56094
56090
  name,
@@ -57497,7 +57493,7 @@ minimatch.unescape = unescape;
57497
57493
  // ../../node_modules/glob/dist/esm/glob.js
57498
57494
  import { fileURLToPath as fileURLToPath2 } from "node:url";
57499
57495
 
57500
- // ../../node_modules/path-scurry/node_modules/lru-cache/dist/esm/index.js
57496
+ // ../../node_modules/lru-cache/dist/esm/index.js
57501
57497
  var perf = typeof performance === "object" && performance && typeof performance.now === "function" ? performance : Date;
57502
57498
  var warned = new Set;
57503
57499
  var PROCESS = typeof process === "object" && !!process ? process : {};
@@ -61777,7 +61773,7 @@ var {
61777
61773
  var package_default = {
61778
61774
  name: "@settlemint/sdk-mcp",
61779
61775
  description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
61780
- version: "2.2.3-preb2eda12",
61776
+ version: "2.2.3-prf6d9c97f",
61781
61777
  type: "module",
61782
61778
  private: false,
61783
61779
  license: "FSL-1.1-MIT",
@@ -61818,9 +61814,9 @@ var package_default = {
61818
61814
  dependencies: {
61819
61815
  "@graphql-tools/load": "8.1.0",
61820
61816
  "@graphql-tools/url-loader": "8.0.31",
61821
- "@modelcontextprotocol/sdk": "1.11.2",
61822
- "@settlemint/sdk-js": "2.2.3-preb2eda12",
61823
- "@settlemint/sdk-utils": "2.2.3-preb2eda12",
61817
+ "@modelcontextprotocol/sdk": "1.11.0",
61818
+ "@settlemint/sdk-js": "2.2.3-prf6d9c97f",
61819
+ "@settlemint/sdk-utils": "2.2.3-prf6d9c97f",
61824
61820
  "@commander-js/extra-typings": "11.1.0",
61825
61821
  commander: "11.1.0",
61826
61822
  zod: "3.24.4"
@@ -65470,12 +65466,7 @@ var getPlatformConfigQuery = graphql(`
65470
65466
  disabled
65471
65467
  }
65472
65468
  }
65473
- preDeployedAbis {
65474
- id
65475
- featureflagged
65476
- abis
65477
- label
65478
- }
65469
+ preDeployedContracts
65479
65470
  sdkVersion
65480
65471
  kits {
65481
65472
  id
@@ -67573,4 +67564,4 @@ await main().catch((error2) => {
67573
67564
  process.exit(1);
67574
67565
  });
67575
67566
 
67576
- //# debugId=83A06A3C169B8FEA64756E2164756E21
67567
+ //# debugId=578C5BF9CE9E502864756E2164756E21