@settlemint/sdk-mcp 2.3.2-pr6c3d348a → 2.3.2-pr8b8551fc

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}`);
@@ -72274,9 +72278,8 @@ var UrlPathSchema = exports_external2.string().regex(/^\/(?:[a-zA-Z0-9-_]+(?:\/[
72274
72278
  message: "Invalid URL path format. Must start with '/' and can contain letters, numbers, hyphens, and underscores."
72275
72279
  });
72276
72280
  var UrlOrPathSchema = exports_external2.union([UrlSchema, UrlPathSchema]);
72277
- var STANDALONE_INSTANCE = "standalone";
72278
72281
  var DotEnvSchema = exports_external2.object({
72279
- SETTLEMINT_INSTANCE: exports_external2.union([UrlSchema, exports_external2.literal(STANDALONE_INSTANCE)]).default("https://console.settlemint.com"),
72282
+ SETTLEMINT_INSTANCE: UrlSchema.default("https://console.settlemint.com"),
72280
72283
  SETTLEMINT_ACCESS_TOKEN: ApplicationAccessTokenSchema.optional(),
72281
72284
  SETTLEMINT_PERSONAL_ACCESS_TOKEN: PersonalAccessTokenSchema.optional(),
72282
72285
  SETTLEMINT_WORKSPACE: UniqueNameSchema.optional(),
@@ -72385,9 +72388,8 @@ var UrlPathSchema2 = exports_external2.string().regex(/^\/(?:[a-zA-Z0-9-_]+(?:\/
72385
72388
  message: "Invalid URL path format. Must start with '/' and can contain letters, numbers, hyphens, and underscores."
72386
72389
  });
72387
72390
  var UrlOrPathSchema2 = exports_external2.union([UrlSchema2, UrlPathSchema2]);
72388
- var STANDALONE_INSTANCE2 = "standalone";
72389
72391
  var DotEnvSchema2 = exports_external2.object({
72390
- SETTLEMINT_INSTANCE: exports_external2.union([UrlSchema2, exports_external2.literal(STANDALONE_INSTANCE2)]).default("https://console.settlemint.com"),
72392
+ SETTLEMINT_INSTANCE: UrlSchema2.default("https://console.settlemint.com"),
72391
72393
  SETTLEMINT_ACCESS_TOKEN: ApplicationAccessTokenSchema2.optional(),
72392
72394
  SETTLEMINT_PERSONAL_ACCESS_TOKEN: PersonalAccessTokenSchema2.optional(),
72393
72395
  SETTLEMINT_WORKSPACE: UniqueNameSchema2.optional(),
@@ -72453,7 +72455,7 @@ var {
72453
72455
  var package_default = {
72454
72456
  name: "@settlemint/sdk-mcp",
72455
72457
  description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
72456
- version: "2.3.2-pr6c3d348a",
72458
+ version: "2.3.2-pr8b8551fc",
72457
72459
  type: "module",
72458
72460
  private: false,
72459
72461
  license: "FSL-1.1-MIT",
@@ -72494,9 +72496,9 @@ var package_default = {
72494
72496
  dependencies: {
72495
72497
  "@graphql-tools/load": "8.1.0",
72496
72498
  "@graphql-tools/url-loader": "8.0.31",
72497
- "@modelcontextprotocol/sdk": "1.11.5",
72498
- "@settlemint/sdk-js": "2.3.2-pr6c3d348a",
72499
- "@settlemint/sdk-utils": "2.3.2-pr6c3d348a",
72499
+ "@modelcontextprotocol/sdk": "1.12.0",
72500
+ "@settlemint/sdk-js": "2.3.2-pr8b8551fc",
72501
+ "@settlemint/sdk-utils": "2.3.2-pr8b8551fc",
72500
72502
  "@commander-js/extra-typings": "14.0.0",
72501
72503
  commander: "14.0.0",
72502
72504
  zod: "^3.25.0"
@@ -78266,4 +78268,4 @@ await main().catch((error36) => {
78266
78268
  process.exit(1);
78267
78269
  });
78268
78270
 
78269
- //# debugId=5EEDF6987617442864756E2164756E21
78271
+ //# debugId=668AE33485C8ED1764756E2164756E21