@settlemint/sdk-mcp 2.2.3-main5cef97cf → 2.2.3-main691a089f

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,12 @@ 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
+ const isEmptyObject = z.object({}).strict().safeParse(obj).success;
55971
+ return isEmptyObject || Object.values(obj).some((v) => v instanceof ZodType);
55972
+ };
55967
55973
  let description;
55968
55974
  if (typeof rest[0] === "string") {
55969
55975
  description = rest.shift();
@@ -56080,15 +56086,6 @@ class McpServer {
56080
56086
  var EMPTY_OBJECT_JSON_SCHEMA = {
56081
56087
  type: "object"
56082
56088
  };
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
56089
  function promptArgumentsFromSchema(schema) {
56093
56090
  return Object.entries(schema.shape).map(([name, field]) => ({
56094
56091
  name,
@@ -61777,7 +61774,7 @@ var {
61777
61774
  var package_default = {
61778
61775
  name: "@settlemint/sdk-mcp",
61779
61776
  description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
61780
- version: "2.2.3-main5cef97cf",
61777
+ version: "2.2.3-main691a089f",
61781
61778
  type: "module",
61782
61779
  private: false,
61783
61780
  license: "FSL-1.1-MIT",
@@ -61818,9 +61815,9 @@ var package_default = {
61818
61815
  dependencies: {
61819
61816
  "@graphql-tools/load": "8.1.0",
61820
61817
  "@graphql-tools/url-loader": "8.0.31",
61821
- "@modelcontextprotocol/sdk": "1.11.2",
61822
- "@settlemint/sdk-js": "2.2.3-main5cef97cf",
61823
- "@settlemint/sdk-utils": "2.2.3-main5cef97cf",
61818
+ "@modelcontextprotocol/sdk": "1.11.1",
61819
+ "@settlemint/sdk-js": "2.2.3-main691a089f",
61820
+ "@settlemint/sdk-utils": "2.2.3-main691a089f",
61824
61821
  "@commander-js/extra-typings": "11.1.0",
61825
61822
  commander: "11.1.0",
61826
61823
  zod: "3.24.4"
@@ -67568,4 +67565,4 @@ await main().catch((error2) => {
67568
67565
  process.exit(1);
67569
67566
  });
67570
67567
 
67571
- //# debugId=56AC8BFF68641A0964756E2164756E21
67568
+ //# debugId=C25EA058579390ED64756E2164756E21