@settlemint/sdk-mcp 2.5.2-pr7c32f3ef → 2.5.2
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 +16 -24
- 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.
|
|
48223
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.16.0/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,
|
|
@@ -48378,16 +48378,8 @@ var ResourceContentsSchema = exports_external.object({
|
|
|
48378
48378
|
var TextResourceContentsSchema = ResourceContentsSchema.extend({
|
|
48379
48379
|
text: exports_external.string()
|
|
48380
48380
|
});
|
|
48381
|
-
var Base64Schema = exports_external.string().refine((val) => {
|
|
48382
|
-
try {
|
|
48383
|
-
atob(val);
|
|
48384
|
-
return true;
|
|
48385
|
-
} catch (_a) {
|
|
48386
|
-
return false;
|
|
48387
|
-
}
|
|
48388
|
-
}, { message: "Invalid Base64 string" });
|
|
48389
48381
|
var BlobResourceContentsSchema = ResourceContentsSchema.extend({
|
|
48390
|
-
blob:
|
|
48382
|
+
blob: exports_external.string().base64()
|
|
48391
48383
|
});
|
|
48392
48384
|
var ResourceSchema = BaseMetadataSchema.extend({
|
|
48393
48385
|
uri: exports_external.string(),
|
|
@@ -48473,13 +48465,13 @@ var TextContentSchema = exports_external.object({
|
|
|
48473
48465
|
}).passthrough();
|
|
48474
48466
|
var ImageContentSchema = exports_external.object({
|
|
48475
48467
|
type: exports_external.literal("image"),
|
|
48476
|
-
data:
|
|
48468
|
+
data: exports_external.string().base64(),
|
|
48477
48469
|
mimeType: exports_external.string(),
|
|
48478
48470
|
_meta: exports_external.optional(exports_external.object({}).passthrough())
|
|
48479
48471
|
}).passthrough();
|
|
48480
48472
|
var AudioContentSchema = exports_external.object({
|
|
48481
48473
|
type: exports_external.literal("audio"),
|
|
48482
|
-
data:
|
|
48474
|
+
data: exports_external.string().base64(),
|
|
48483
48475
|
mimeType: exports_external.string(),
|
|
48484
48476
|
_meta: exports_external.optional(exports_external.object({}).passthrough())
|
|
48485
48477
|
}).passthrough();
|
|
@@ -48770,7 +48762,7 @@ class McpError extends Error {
|
|
|
48770
48762
|
}
|
|
48771
48763
|
}
|
|
48772
48764
|
|
|
48773
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
48765
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.16.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
48774
48766
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 60000;
|
|
48775
48767
|
|
|
48776
48768
|
class Protocol {
|
|
@@ -49110,7 +49102,7 @@ function mergeCapabilities(base, additional) {
|
|
|
49110
49102
|
}, { ...base });
|
|
49111
49103
|
}
|
|
49112
49104
|
|
|
49113
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
49105
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.16.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
49114
49106
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
49115
49107
|
|
|
49116
49108
|
class Server extends Protocol {
|
|
@@ -50526,7 +50518,7 @@ var zodToJsonSchema = (schema, options) => {
|
|
|
50526
50518
|
}
|
|
50527
50519
|
return combined;
|
|
50528
50520
|
};
|
|
50529
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
50521
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.16.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
50530
50522
|
var McpZodTypeKind;
|
|
50531
50523
|
(function(McpZodTypeKind2) {
|
|
50532
50524
|
McpZodTypeKind2["Completable"] = "McpCompletable";
|
|
@@ -50579,7 +50571,7 @@ function processCreateParams2(params) {
|
|
|
50579
50571
|
return { errorMap: customMap, description };
|
|
50580
50572
|
}
|
|
50581
50573
|
|
|
50582
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
50574
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.16.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
50583
50575
|
class McpServer {
|
|
50584
50576
|
constructor(serverInfo, options) {
|
|
50585
50577
|
this._registeredResources = {};
|
|
@@ -51136,10 +51128,10 @@ var EMPTY_COMPLETION_RESULT = {
|
|
|
51136
51128
|
}
|
|
51137
51129
|
};
|
|
51138
51130
|
|
|
51139
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
51131
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.16.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
51140
51132
|
import process2 from "node:process";
|
|
51141
51133
|
|
|
51142
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
51134
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.16.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
51143
51135
|
class ReadBuffer {
|
|
51144
51136
|
append(chunk) {
|
|
51145
51137
|
this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
|
|
@@ -51169,7 +51161,7 @@ function serializeMessage(message) {
|
|
|
51169
51161
|
`;
|
|
51170
51162
|
}
|
|
51171
51163
|
|
|
51172
|
-
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.
|
|
51164
|
+
// ../../node_modules/.bun/@modelcontextprotocol+sdk@1.16.0/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
51173
51165
|
class StdioServerTransport {
|
|
51174
51166
|
constructor(_stdin = process2.stdin, _stdout = process2.stdout) {
|
|
51175
51167
|
this._stdin = _stdin;
|
|
@@ -79765,7 +79757,7 @@ var portalQueries = (server, env3) => {
|
|
|
79765
79757
|
var package_default = {
|
|
79766
79758
|
name: "@settlemint/sdk-mcp",
|
|
79767
79759
|
description: "MCP interface for SettleMint SDK, providing development tools and project management capabilities",
|
|
79768
|
-
version: "2.5.2
|
|
79760
|
+
version: "2.5.2",
|
|
79769
79761
|
type: "module",
|
|
79770
79762
|
private: false,
|
|
79771
79763
|
license: "FSL-1.1-MIT",
|
|
@@ -79807,9 +79799,9 @@ var package_default = {
|
|
|
79807
79799
|
"@commander-js/extra-typings": "14.0.0",
|
|
79808
79800
|
"@graphql-tools/load": "8.1.2",
|
|
79809
79801
|
"@graphql-tools/url-loader": "8.0.33",
|
|
79810
|
-
"@modelcontextprotocol/sdk": "1.
|
|
79811
|
-
"@settlemint/sdk-js": "2.5.2
|
|
79812
|
-
"@settlemint/sdk-utils": "2.5.2
|
|
79802
|
+
"@modelcontextprotocol/sdk": "1.16.0",
|
|
79803
|
+
"@settlemint/sdk-js": "2.5.2",
|
|
79804
|
+
"@settlemint/sdk-utils": "2.5.2",
|
|
79813
79805
|
commander: "14.0.0",
|
|
79814
79806
|
graphql: "16.11.0",
|
|
79815
79807
|
zod: "^4"
|
|
@@ -85785,4 +85777,4 @@ await main().catch((error41) => {
|
|
|
85785
85777
|
process.exit(1);
|
|
85786
85778
|
});
|
|
85787
85779
|
|
|
85788
|
-
//# debugId=
|
|
85780
|
+
//# debugId=7B938BD33059BD7A64756E2164756E21
|