@settlemint/sdk-mcp 2.2.3-pr04594fc5 → 2.2.3-pr09bf4cc8

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-pr04594fc5",
61777
+ version: "2.2.3-pr09bf4cc8",
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-pr04594fc5",
61823
- "@settlemint/sdk-utils": "2.2.3-pr04594fc5",
61818
+ "@modelcontextprotocol/sdk": "1.11.1",
61819
+ "@settlemint/sdk-js": "2.2.3-pr09bf4cc8",
61820
+ "@settlemint/sdk-utils": "2.2.3-pr09bf4cc8",
61824
61821
  "@commander-js/extra-typings": "11.1.0",
61825
61822
  commander: "11.1.0",
61826
61823
  zod: "3.24.4"
@@ -65470,12 +65467,7 @@ var getPlatformConfigQuery = graphql(`
65470
65467
  disabled
65471
65468
  }
65472
65469
  }
65473
- preDeployedAbis {
65474
- id
65475
- featureflagged
65476
- abis
65477
- label
65478
- }
65470
+ preDeployedContracts
65479
65471
  sdkVersion
65480
65472
  kits {
65481
65473
  id
@@ -67573,4 +67565,4 @@ await main().catch((error2) => {
67573
67565
  process.exit(1);
67574
67566
  });
67575
67567
 
67576
- //# debugId=4710E4DE4C3C908464756E2164756E21
67568
+ //# debugId=82A080259594AEEF64756E2164756E21