@settlemint/sdk-mcp 2.5.3 → 2.5.4-pr0ee48561
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 +23 -23
- package/dist/mcp.js.map +4 -4
- package/package.json +4 -4
package/dist/mcp.js
CHANGED
|
@@ -48220,7 +48220,7 @@ var coerce = {
|
|
|
48220
48220
|
date: (arg) => ZodDate.create({ ...arg, coerce: true })
|
|
48221
48221
|
};
|
|
48222
48222
|
var NEVER = INVALID;
|
|
48223
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.
|
|
48223
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.1/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
48224
48224
|
var LATEST_PROTOCOL_VERSION = "2025-06-18";
|
|
48225
48225
|
var SUPPORTED_PROTOCOL_VERSIONS = [
|
|
48226
48226
|
LATEST_PROTOCOL_VERSION,
|
|
@@ -48770,7 +48770,7 @@ class McpError extends Error {
|
|
|
48770
48770
|
}
|
|
48771
48771
|
}
|
|
48772
48772
|
|
|
48773
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.
|
|
48773
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.1/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
48774
48774
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 60000;
|
|
48775
48775
|
|
|
48776
48776
|
class Protocol {
|
|
@@ -48877,10 +48877,11 @@ class Protocol {
|
|
|
48877
48877
|
Promise.resolve().then(() => handler(notification)).catch((error) => this._onerror(new Error(`Uncaught error in notification handler: ${error}`)));
|
|
48878
48878
|
}
|
|
48879
48879
|
_onrequest(request, extra) {
|
|
48880
|
-
var _a, _b
|
|
48880
|
+
var _a, _b;
|
|
48881
48881
|
const handler = (_a = this._requestHandlers.get(request.method)) !== null && _a !== undefined ? _a : this.fallbackRequestHandler;
|
|
48882
|
+
const capturedTransport = this._transport;
|
|
48882
48883
|
if (handler === undefined) {
|
|
48883
|
-
|
|
48884
|
+
capturedTransport === null || capturedTransport === undefined || capturedTransport.send({
|
|
48884
48885
|
jsonrpc: "2.0",
|
|
48885
48886
|
id: request.id,
|
|
48886
48887
|
error: {
|
|
@@ -48894,8 +48895,8 @@ class Protocol {
|
|
|
48894
48895
|
this._requestHandlerAbortControllers.set(request.id, abortController);
|
|
48895
48896
|
const fullExtra = {
|
|
48896
48897
|
signal: abortController.signal,
|
|
48897
|
-
sessionId:
|
|
48898
|
-
_meta: (
|
|
48898
|
+
sessionId: capturedTransport === null || capturedTransport === undefined ? undefined : capturedTransport.sessionId,
|
|
48899
|
+
_meta: (_b = request.params) === null || _b === undefined ? undefined : _b._meta,
|
|
48899
48900
|
sendNotification: (notification) => this.notification(notification, { relatedRequestId: request.id }),
|
|
48900
48901
|
sendRequest: (r, resultSchema, options) => this.request(r, resultSchema, { ...options, relatedRequestId: request.id }),
|
|
48901
48902
|
authInfo: extra === null || extra === undefined ? undefined : extra.authInfo,
|
|
@@ -48903,26 +48904,25 @@ class Protocol {
|
|
|
48903
48904
|
requestInfo: extra === null || extra === undefined ? undefined : extra.requestInfo
|
|
48904
48905
|
};
|
|
48905
48906
|
Promise.resolve().then(() => handler(request, fullExtra)).then((result2) => {
|
|
48906
|
-
var _a2;
|
|
48907
48907
|
if (abortController.signal.aborted) {
|
|
48908
48908
|
return;
|
|
48909
48909
|
}
|
|
48910
|
-
return
|
|
48910
|
+
return capturedTransport === null || capturedTransport === undefined ? undefined : capturedTransport.send({
|
|
48911
48911
|
result: result2,
|
|
48912
48912
|
jsonrpc: "2.0",
|
|
48913
48913
|
id: request.id
|
|
48914
48914
|
});
|
|
48915
48915
|
}, (error) => {
|
|
48916
|
-
var _a2
|
|
48916
|
+
var _a2;
|
|
48917
48917
|
if (abortController.signal.aborted) {
|
|
48918
48918
|
return;
|
|
48919
48919
|
}
|
|
48920
|
-
return
|
|
48920
|
+
return capturedTransport === null || capturedTransport === undefined ? undefined : capturedTransport.send({
|
|
48921
48921
|
jsonrpc: "2.0",
|
|
48922
48922
|
id: request.id,
|
|
48923
48923
|
error: {
|
|
48924
48924
|
code: Number.isSafeInteger(error["code"]) ? error["code"] : ErrorCode.InternalError,
|
|
48925
|
-
message: (
|
|
48925
|
+
message: (_a2 = error.message) !== null && _a2 !== undefined ? _a2 : "Internal error"
|
|
48926
48926
|
}
|
|
48927
48927
|
});
|
|
48928
48928
|
}).catch((error) => this._onerror(new Error(`Failed to send response: ${error}`))).finally(() => {
|
|
@@ -49110,7 +49110,7 @@ function mergeCapabilities(base, additional) {
|
|
|
49110
49110
|
}, { ...base });
|
|
49111
49111
|
}
|
|
49112
49112
|
|
|
49113
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.
|
|
49113
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
49114
49114
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
49115
49115
|
|
|
49116
49116
|
class Server extends Protocol {
|
|
@@ -50526,7 +50526,7 @@ var zodToJsonSchema = (schema, options) => {
|
|
|
50526
50526
|
}
|
|
50527
50527
|
return combined;
|
|
50528
50528
|
};
|
|
50529
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.
|
|
50529
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
50530
50530
|
var McpZodTypeKind;
|
|
50531
50531
|
(function(McpZodTypeKind2) {
|
|
50532
50532
|
McpZodTypeKind2["Completable"] = "McpCompletable";
|
|
@@ -50579,7 +50579,7 @@ function processCreateParams2(params) {
|
|
|
50579
50579
|
return { errorMap: customMap, description };
|
|
50580
50580
|
}
|
|
50581
50581
|
|
|
50582
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.
|
|
50582
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
50583
50583
|
class McpServer {
|
|
50584
50584
|
constructor(serverInfo, options) {
|
|
50585
50585
|
this._registeredResources = {};
|
|
@@ -51136,10 +51136,10 @@ var EMPTY_COMPLETION_RESULT = {
|
|
|
51136
51136
|
}
|
|
51137
51137
|
};
|
|
51138
51138
|
|
|
51139
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.
|
|
51139
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
51140
51140
|
import process2 from "node:process";
|
|
51141
51141
|
|
|
51142
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.
|
|
51142
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.1/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
51143
51143
|
class ReadBuffer {
|
|
51144
51144
|
append(chunk) {
|
|
51145
51145
|
this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
|
|
@@ -51169,7 +51169,7 @@ function serializeMessage(message) {
|
|
|
51169
51169
|
`;
|
|
51170
51170
|
}
|
|
51171
51171
|
|
|
51172
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.
|
|
51172
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.17.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
51173
51173
|
class StdioServerTransport {
|
|
51174
51174
|
constructor(_stdin = process2.stdin, _stdout = process2.stdout) {
|
|
51175
51175
|
this._stdin = _stdin;
|
|
@@ -79765,7 +79765,7 @@ var portalQueries = (server, env3) => {
|
|
|
79765
79765
|
var package_default = {
|
|
79766
79766
|
name: "@settlemint/sdk-mcp",
|
|
79767
79767
|
description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
|
|
79768
|
-
version: "2.5.
|
|
79768
|
+
version: "2.5.4-pr0ee48561",
|
|
79769
79769
|
type: "module",
|
|
79770
79770
|
private: false,
|
|
79771
79771
|
license: "FSL-1.1-MIT",
|
|
@@ -79807,9 +79807,9 @@ var package_default = {
|
|
|
79807
79807
|
"@commander-js/extra-typings": "14.0.0",
|
|
79808
79808
|
"@graphql-tools/load": "8.1.2",
|
|
79809
79809
|
"@graphql-tools/url-loader": "8.0.33",
|
|
79810
|
-
"@modelcontextprotocol/sdk": "1.17.
|
|
79811
|
-
"@settlemint/sdk-js": "2.5.
|
|
79812
|
-
"@settlemint/sdk-utils": "2.5.
|
|
79810
|
+
"@modelcontextprotocol/sdk": "1.17.1",
|
|
79811
|
+
"@settlemint/sdk-js": "2.5.4-pr0ee48561",
|
|
79812
|
+
"@settlemint/sdk-utils": "2.5.4-pr0ee48561",
|
|
79813
79813
|
commander: "14.0.0",
|
|
79814
79814
|
graphql: "16.11.0",
|
|
79815
79815
|
zod: "^4"
|
|
@@ -82078,7 +82078,7 @@ function parse10(e4, r) {
|
|
|
82078
82078
|
}
|
|
82079
82079
|
}
|
|
82080
82080
|
|
|
82081
|
-
// ../../node_modules/.bun/gql.tada@1.8.12+
|
|
82081
|
+
// ../../node_modules/.bun/gql.tada@1.8.12+8df652c2efa71b7f/node_modules/gql.tada/dist/gql-tada.mjs
|
|
82082
82082
|
var a2 = 0;
|
|
82083
82083
|
var e4 = new Set;
|
|
82084
82084
|
function initGraphQLTada() {
|
|
@@ -85798,4 +85798,4 @@ await main().catch((error41) => {
|
|
|
85798
85798
|
process.exit(1);
|
|
85799
85799
|
});
|
|
85800
85800
|
|
|
85801
|
-
//# debugId=
|
|
85801
|
+
//# debugId=02C7CF65CC9FA49964756E2164756E21
|