@settlemint/sdk-mcp 2.3.5-pr19d25b74 → 2.3.5-pr2df5d535

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
@@ -54469,7 +54469,7 @@ class Protocol {
54469
54469
  request(request, resultSchema, options) {
54470
54470
  const { relatedRequestId, resumptionToken, onresumptiontoken } = options !== null && options !== undefined ? options : {};
54471
54471
  return new Promise((resolve, reject2) => {
54472
- var _a, _b, _c, _d, _e, _f;
54472
+ var _a, _b, _c, _d, _e;
54473
54473
  if (!this._transport) {
54474
54474
  reject2(new Error("Not connected"));
54475
54475
  return;
@@ -54488,10 +54488,7 @@ class Protocol {
54488
54488
  this._progressHandlers.set(messageId, options.onprogress);
54489
54489
  jsonrpcRequest.params = {
54490
54490
  ...request.params,
54491
- _meta: {
54492
- ...((_c = request.params) === null || _c === undefined ? undefined : _c._meta) || {},
54493
- progressToken: messageId
54494
- }
54491
+ _meta: { progressToken: messageId }
54495
54492
  };
54496
54493
  }
54497
54494
  const cancel = (reason) => {
@@ -54524,13 +54521,13 @@ class Protocol {
54524
54521
  reject2(error);
54525
54522
  }
54526
54523
  });
54527
- (_d = options === null || options === undefined ? undefined : options.signal) === null || _d === undefined || _d.addEventListener("abort", () => {
54524
+ (_c = options === null || options === undefined ? undefined : options.signal) === null || _c === undefined || _c.addEventListener("abort", () => {
54528
54525
  var _a2;
54529
54526
  cancel((_a2 = options === null || options === undefined ? undefined : options.signal) === null || _a2 === undefined ? undefined : _a2.reason);
54530
54527
  });
54531
- const timeout = (_e = options === null || options === undefined ? undefined : options.timeout) !== null && _e !== undefined ? _e : DEFAULT_REQUEST_TIMEOUT_MSEC;
54528
+ const timeout = (_d = options === null || options === undefined ? undefined : options.timeout) !== null && _d !== undefined ? _d : DEFAULT_REQUEST_TIMEOUT_MSEC;
54532
54529
  const timeoutHandler = () => cancel(new McpError(ErrorCode.RequestTimeout, "Request timed out", { timeout }));
54533
- this._setupTimeout(messageId, timeout, options === null || options === undefined ? undefined : options.maxTotalTimeout, timeoutHandler, (_f = options === null || options === undefined ? undefined : options.resetTimeoutOnProgress) !== null && _f !== undefined ? _f : false);
54530
+ this._setupTimeout(messageId, timeout, options === null || options === undefined ? undefined : options.maxTotalTimeout, timeoutHandler, (_e = options === null || options === undefined ? undefined : options.resetTimeoutOnProgress) !== null && _e !== undefined ? _e : false);
54534
54531
  this._transport.send(jsonrpcRequest, { relatedRequestId, resumptionToken, onresumptiontoken }).catch((error) => {
54535
54532
  this._cleanupTimeout(messageId);
54536
54533
  reject2(error);
@@ -83453,7 +83450,7 @@ var {
83453
83450
  var package_default = {
83454
83451
  name: "@settlemint/sdk-mcp",
83455
83452
  description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
83456
- version: "2.3.5-pr19d25b74",
83453
+ version: "2.3.5-pr2df5d535",
83457
83454
  type: "module",
83458
83455
  private: false,
83459
83456
  license: "FSL-1.1-MIT",
@@ -83494,9 +83491,9 @@ var package_default = {
83494
83491
  dependencies: {
83495
83492
  "@graphql-tools/load": "8.1.0",
83496
83493
  "@graphql-tools/url-loader": "8.0.31",
83497
- "@modelcontextprotocol/sdk": "1.12.1",
83498
- "@settlemint/sdk-js": "2.3.5-pr19d25b74",
83499
- "@settlemint/sdk-utils": "2.3.5-pr19d25b74",
83494
+ "@modelcontextprotocol/sdk": "1.12.0",
83495
+ "@settlemint/sdk-js": "2.3.5-pr2df5d535",
83496
+ "@settlemint/sdk-utils": "2.3.5-pr2df5d535",
83500
83497
  "@commander-js/extra-typings": "14.0.0",
83501
83498
  commander: "14.0.0",
83502
83499
  zod: "^3.25.0"
@@ -99359,4 +99356,4 @@ await main().catch((error38) => {
99359
99356
  process.exit(1);
99360
99357
  });
99361
99358
 
99362
- //# debugId=FAFE542B7FB186A864756E2164756E21
99359
+ //# debugId=70BF1AB3759C09DA64756E2164756E21