@settlemint/sdk-mcp 2.3.2-prdf4187f7 → 2.3.2-prebafe7cb

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}`);
@@ -72453,7 +72457,7 @@ var {
72453
72457
  var package_default = {
72454
72458
  name: "@settlemint/sdk-mcp",
72455
72459
  description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
72456
- version: "2.3.2-prdf4187f7",
72460
+ version: "2.3.2-prebafe7cb",
72457
72461
  type: "module",
72458
72462
  private: false,
72459
72463
  license: "FSL-1.1-MIT",
@@ -72494,9 +72498,9 @@ var package_default = {
72494
72498
  dependencies: {
72495
72499
  "@graphql-tools/load": "8.1.0",
72496
72500
  "@graphql-tools/url-loader": "8.0.31",
72497
- "@modelcontextprotocol/sdk": "1.11.5",
72498
- "@settlemint/sdk-js": "2.3.2-prdf4187f7",
72499
- "@settlemint/sdk-utils": "2.3.2-prdf4187f7",
72501
+ "@modelcontextprotocol/sdk": "1.12.0",
72502
+ "@settlemint/sdk-js": "2.3.2-prebafe7cb",
72503
+ "@settlemint/sdk-utils": "2.3.2-prebafe7cb",
72500
72504
  "@commander-js/extra-typings": "14.0.0",
72501
72505
  commander: "14.0.0",
72502
72506
  zod: "^3.25.0"
@@ -76342,7 +76346,11 @@ function getPincodeVerificationChallengeResponse({
76342
76346
  function createSettleMintClient(options) {
76343
76347
  ensureServer();
76344
76348
  if (options.instance === STANDALONE_INSTANCE2) {
76345
- throw new Error("Standalone instances cannot connect to the SettleMint platform");
76349
+ if (options.anonymous) {
76350
+ options.instance = "https://console.settlemint.com";
76351
+ } else {
76352
+ throw new Error("Standalone instances cannot connect to the SettleMint platform");
76353
+ }
76346
76354
  }
76347
76355
  const validatedOptions = options.anonymous ? validate3(exports_external2.object({
76348
76356
  ...ClientOptionsSchema.shape,
@@ -78269,4 +78277,4 @@ await main().catch((error36) => {
78269
78277
  process.exit(1);
78270
78278
  });
78271
78279
 
78272
- //# debugId=74697579EAB7761364756E2164756E21
78280
+ //# debugId=443231B8768F1A5664756E2164756E21