@moovio/sdk 0.10.10 → 0.10.11
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/bin/mcp-server.js +17 -9
- package/bin/mcp-server.js.map +8 -8
- package/docs/sdks/cards/README.md +0 -16
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/matchers.d.ts +3 -1
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +12 -0
- package/lib/matchers.js.map +1 -1
- package/lib/sdks.js +7 -2
- package/lib/sdks.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/card.d.ts +7 -0
- package/models/components/card.d.ts.map +1 -1
- package/models/components/card.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +20 -0
- package/src/lib/sdks.ts +8 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/card.ts +7 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34207,9 +34207,9 @@ var init_config = __esm(() => {
|
|
|
34207
34207
|
SDK_METADATA = {
|
|
34208
34208
|
language: "typescript",
|
|
34209
34209
|
openapiDocVersion: "latest",
|
|
34210
|
-
sdkVersion: "0.10.
|
|
34211
|
-
genVersion: "2.
|
|
34212
|
-
userAgent: "speakeasy-sdk/typescript 0.10.
|
|
34210
|
+
sdkVersion: "0.10.11",
|
|
34211
|
+
genVersion: "2.578.0",
|
|
34212
|
+
userAgent: "speakeasy-sdk/typescript 0.10.11 2.578.0 latest @moovio/sdk"
|
|
34213
34213
|
};
|
|
34214
34214
|
});
|
|
34215
34215
|
|
|
@@ -34943,9 +34943,12 @@ async function logResponse(logger, res, req) {
|
|
|
34943
34943
|
logger.groupEnd();
|
|
34944
34944
|
logger.group("Body:");
|
|
34945
34945
|
switch (true) {
|
|
34946
|
-
case (matchContentType(res, "application/json") || jsonLikeContentTypeRE.test(ct)):
|
|
34946
|
+
case (matchContentType(res, "application/json") || jsonLikeContentTypeRE.test(ct) && !jsonlLikeContentTypeRE.test(ct)):
|
|
34947
34947
|
logger.log(await res.clone().json());
|
|
34948
34948
|
break;
|
|
34949
|
+
case (matchContentType(res, "application/jsonl") || jsonlLikeContentTypeRE.test(ct)):
|
|
34950
|
+
logger.log(await res.clone().text());
|
|
34951
|
+
break;
|
|
34949
34952
|
case matchContentType(res, "text/event-stream"):
|
|
34950
34953
|
logger.log(`<${contentType2}>`);
|
|
34951
34954
|
break;
|
|
@@ -34967,7 +34970,7 @@ async function logResponse(logger, res, req) {
|
|
|
34967
34970
|
logger.groupEnd();
|
|
34968
34971
|
logger.groupEnd();
|
|
34969
34972
|
}
|
|
34970
|
-
var gt, webWorkerLike, isBrowserLike, jsonLikeContentTypeRE;
|
|
34973
|
+
var gt, webWorkerLike, isBrowserLike, jsonLikeContentTypeRE, jsonlLikeContentTypeRE;
|
|
34971
34974
|
var init_sdks = __esm(() => {
|
|
34972
34975
|
init_hooks();
|
|
34973
34976
|
init_httpclienterrors();
|
|
@@ -34979,7 +34982,8 @@ var init_sdks = __esm(() => {
|
|
|
34979
34982
|
gt = typeof globalThis === "undefined" ? null : globalThis;
|
|
34980
34983
|
webWorkerLike = typeof gt === "object" && gt != null && "importScripts" in gt && typeof gt["importScripts"] === "function";
|
|
34981
34984
|
isBrowserLike = webWorkerLike || typeof navigator !== "undefined" && "serviceWorker" in navigator || typeof window === "object" && typeof window.document !== "undefined";
|
|
34982
|
-
jsonLikeContentTypeRE =
|
|
34985
|
+
jsonLikeContentTypeRE = /(application|text)\/.*?\+*json.*/;
|
|
34986
|
+
jsonlLikeContentTypeRE = /(application|text)\/(.*?\+*\bjsonl\b.*|.*?\+*\bx-ndjson\b.*)/;
|
|
34983
34987
|
});
|
|
34984
34988
|
|
|
34985
34989
|
// src/core.ts
|
|
@@ -35323,6 +35327,9 @@ function match(...matchers) {
|
|
|
35323
35327
|
case "json":
|
|
35324
35328
|
raw = await response.json();
|
|
35325
35329
|
break;
|
|
35330
|
+
case "jsonl":
|
|
35331
|
+
raw = response.body;
|
|
35332
|
+
break;
|
|
35326
35333
|
case "bytes":
|
|
35327
35334
|
raw = new Uint8Array(await response.arrayBuffer());
|
|
35328
35335
|
break;
|
|
@@ -35412,6 +35419,7 @@ var init_matchers = __esm(() => {
|
|
|
35412
35419
|
init_http();
|
|
35413
35420
|
init_schemas();
|
|
35414
35421
|
DEFAULT_CONTENT_TYPES = {
|
|
35422
|
+
jsonl: "application/jsonl",
|
|
35415
35423
|
json: "application/json",
|
|
35416
35424
|
text: "text/plain",
|
|
35417
35425
|
bytes: "application/octet-stream",
|
|
@@ -70866,7 +70874,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
70866
70874
|
function createMCPServer(deps) {
|
|
70867
70875
|
const server = new McpServer({
|
|
70868
70876
|
name: "Moov",
|
|
70869
|
-
version: "0.10.
|
|
70877
|
+
version: "0.10.11"
|
|
70870
70878
|
});
|
|
70871
70879
|
const client = new MoovCore({
|
|
70872
70880
|
security: deps.security,
|
|
@@ -72370,7 +72378,7 @@ var routes = rn({
|
|
|
72370
72378
|
var app = Ve(routes, {
|
|
72371
72379
|
name: "mcp",
|
|
72372
72380
|
versionInfo: {
|
|
72373
|
-
currentVersion: "0.10.
|
|
72381
|
+
currentVersion: "0.10.11"
|
|
72374
72382
|
}
|
|
72375
72383
|
});
|
|
72376
72384
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -72378,5 +72386,5 @@ export {
|
|
|
72378
72386
|
app
|
|
72379
72387
|
};
|
|
72380
72388
|
|
|
72381
|
-
//# debugId=
|
|
72389
|
+
//# debugId=F776841E5A83E5C664756E2164756E21
|
|
72382
72390
|
//# sourceMappingURL=mcp-server.js.map
|