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