@settlemint/sdk-mcp 2.3.5 → 2.3.8-mainb7108730
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 +17 -12
- package/dist/mcp.js.map +5 -5
- 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);
|
|
@@ -67304,7 +67307,8 @@ var DotEnvSchema = object2({
|
|
|
67304
67307
|
"warn",
|
|
67305
67308
|
"error",
|
|
67306
67309
|
"none"
|
|
67307
|
-
]).default("warn")
|
|
67310
|
+
]).default("warn"),
|
|
67311
|
+
NODE_TLS_REJECT_UNAUTHORIZED: _enum(["0", "1"]).optional()
|
|
67308
67312
|
});
|
|
67309
67313
|
var DotEnvSchemaPartial = DotEnvSchema.partial();
|
|
67310
67314
|
var IdSchema = union3([string2().uuid(), string2().regex(/^[0-9a-fA-F]{24}$/)]);
|
|
@@ -83426,7 +83430,8 @@ var DotEnvSchema2 = object3({
|
|
|
83426
83430
|
"warn",
|
|
83427
83431
|
"error",
|
|
83428
83432
|
"none"
|
|
83429
|
-
]).default("warn")
|
|
83433
|
+
]).default("warn"),
|
|
83434
|
+
NODE_TLS_REJECT_UNAUTHORIZED: _enum2(["0", "1"]).optional()
|
|
83430
83435
|
});
|
|
83431
83436
|
var DotEnvSchemaPartial2 = DotEnvSchema2.partial();
|
|
83432
83437
|
var IdSchema2 = union4([string3().uuid(), string3().regex(/^[0-9a-fA-F]{24}$/)]);
|
|
@@ -83450,7 +83455,7 @@ var {
|
|
|
83450
83455
|
var package_default = {
|
|
83451
83456
|
name: "@settlemint/sdk-mcp",
|
|
83452
83457
|
description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
|
|
83453
|
-
version: "2.3.
|
|
83458
|
+
version: "2.3.8-mainb7108730",
|
|
83454
83459
|
type: "module",
|
|
83455
83460
|
private: false,
|
|
83456
83461
|
license: "FSL-1.1-MIT",
|
|
@@ -83491,9 +83496,9 @@ var package_default = {
|
|
|
83491
83496
|
dependencies: {
|
|
83492
83497
|
"@graphql-tools/load": "8.1.0",
|
|
83493
83498
|
"@graphql-tools/url-loader": "8.0.31",
|
|
83494
|
-
"@modelcontextprotocol/sdk": "1.12.
|
|
83495
|
-
"@settlemint/sdk-js": "2.3.
|
|
83496
|
-
"@settlemint/sdk-utils": "2.3.
|
|
83499
|
+
"@modelcontextprotocol/sdk": "1.12.1",
|
|
83500
|
+
"@settlemint/sdk-js": "2.3.8-mainb7108730",
|
|
83501
|
+
"@settlemint/sdk-utils": "2.3.8-mainb7108730",
|
|
83497
83502
|
"@commander-js/extra-typings": "14.0.0",
|
|
83498
83503
|
commander: "14.0.0",
|
|
83499
83504
|
zod: "^3.25.0"
|
|
@@ -99356,4 +99361,4 @@ await main().catch((error38) => {
|
|
|
99356
99361
|
process.exit(1);
|
|
99357
99362
|
});
|
|
99358
99363
|
|
|
99359
|
-
//# debugId=
|
|
99364
|
+
//# debugId=46CADBA20792B67A64756E2164756E21
|