@settlemint/sdk-mcp 2.3.2-main23cb35be → 2.3.2-main922149cf

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
@@ -54118,7 +54118,8 @@ var PingRequestSchema = RequestSchema.extend({
54118
54118
  });
54119
54119
  var ProgressSchema = exports_external.object({
54120
54120
  progress: exports_external.number(),
54121
- total: exports_external.optional(exports_external.number())
54121
+ total: exports_external.optional(exports_external.number()),
54122
+ message: exports_external.optional(exports_external.string())
54122
54123
  }).passthrough();
54123
54124
  var ProgressNotificationSchema = NotificationSchema.extend({
54124
54125
  method: exports_external.literal("notifications/progress"),
@@ -56270,7 +56271,10 @@ class McpServer {
56270
56271
  };
56271
56272
  }
56272
56273
  }
56273
- if (tool.outputSchema && result.structuredContent) {
56274
+ if (tool.outputSchema) {
56275
+ if (!result.structuredContent) {
56276
+ throw new McpError(ErrorCode.InvalidParams, `Tool ${request.params.name} has an output schema but no structured content was provided`);
56277
+ }
56274
56278
  const parseResult = await tool.outputSchema.safeParseAsync(result.structuredContent);
56275
56279
  if (!parseResult.success) {
56276
56280
  throw new McpError(ErrorCode.InvalidParams, `Invalid structured content for tool ${request.params.name}: ${parseResult.error.message}`);
@@ -72451,7 +72455,7 @@ var {
72451
72455
  var package_default = {
72452
72456
  name: "@settlemint/sdk-mcp",
72453
72457
  description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
72454
- version: "2.3.2-main23cb35be",
72458
+ version: "2.3.2-main922149cf",
72455
72459
  type: "module",
72456
72460
  private: false,
72457
72461
  license: "FSL-1.1-MIT",
@@ -72492,9 +72496,9 @@ var package_default = {
72492
72496
  dependencies: {
72493
72497
  "@graphql-tools/load": "8.1.0",
72494
72498
  "@graphql-tools/url-loader": "8.0.31",
72495
- "@modelcontextprotocol/sdk": "1.11.5",
72496
- "@settlemint/sdk-js": "2.3.2-main23cb35be",
72497
- "@settlemint/sdk-utils": "2.3.2-main23cb35be",
72499
+ "@modelcontextprotocol/sdk": "1.12.0",
72500
+ "@settlemint/sdk-js": "2.3.2-main922149cf",
72501
+ "@settlemint/sdk-utils": "2.3.2-main922149cf",
72498
72502
  "@commander-js/extra-typings": "14.0.0",
72499
72503
  commander: "14.0.0",
72500
72504
  zod: "^3.25.0"
@@ -78264,4 +78268,4 @@ await main().catch((error36) => {
78264
78268
  process.exit(1);
78265
78269
  });
78266
78270
 
78267
- //# debugId=BD741549C8AB17AD64756E2164756E21
78271
+ //# debugId=D241DA9F554D65EC64756E2164756E21