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

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,12 +55964,6 @@ 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
- };
55973
55967
  let description;
55974
55968
  if (typeof rest[0] === "string") {
55975
55969
  description = rest.shift();
@@ -56086,6 +56080,15 @@ class McpServer {
56086
56080
  var EMPTY_OBJECT_JSON_SCHEMA = {
56087
56081
  type: "object"
56088
56082
  };
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
+ }
56089
56092
  function promptArgumentsFromSchema(schema) {
56090
56093
  return Object.entries(schema.shape).map(([name, field]) => ({
56091
56094
  name,
@@ -61774,7 +61777,7 @@ var {
61774
61777
  var package_default = {
61775
61778
  name: "@settlemint/sdk-mcp",
61776
61779
  description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
61777
- version: "2.2.3-prd782f93c",
61780
+ version: "2.2.3-preb2eda12",
61778
61781
  type: "module",
61779
61782
  private: false,
61780
61783
  license: "FSL-1.1-MIT",
@@ -61815,9 +61818,9 @@ var package_default = {
61815
61818
  dependencies: {
61816
61819
  "@graphql-tools/load": "8.1.0",
61817
61820
  "@graphql-tools/url-loader": "8.0.31",
61818
- "@modelcontextprotocol/sdk": "1.11.1",
61819
- "@settlemint/sdk-js": "2.2.3-prd782f93c",
61820
- "@settlemint/sdk-utils": "2.2.3-prd782f93c",
61821
+ "@modelcontextprotocol/sdk": "1.11.2",
61822
+ "@settlemint/sdk-js": "2.2.3-preb2eda12",
61823
+ "@settlemint/sdk-utils": "2.2.3-preb2eda12",
61821
61824
  "@commander-js/extra-typings": "11.1.0",
61822
61825
  commander: "11.1.0",
61823
61826
  zod: "3.24.4"
@@ -65467,7 +65470,12 @@ var getPlatformConfigQuery = graphql(`
65467
65470
  disabled
65468
65471
  }
65469
65472
  }
65470
- preDeployedContracts
65473
+ preDeployedAbis {
65474
+ id
65475
+ featureflagged
65476
+ abis
65477
+ label
65478
+ }
65471
65479
  sdkVersion
65472
65480
  kits {
65473
65481
  id
@@ -67565,4 +67573,4 @@ await main().catch((error2) => {
67565
67573
  process.exit(1);
67566
67574
  });
67567
67575
 
67568
- //# debugId=203E77047CD1276364756E2164756E21
67576
+ //# debugId=83A06A3C169B8FEA64756E2164756E21