@moovio/sdk 0.10.9 → 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 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.9",
34211
- genVersion: "2.568.2",
34212
- userAgent: "speakeasy-sdk/typescript 0.10.9 2.568.2 latest @moovio/sdk"
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 = /^application\/(?:.{0,100}\+)?json/;
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",
@@ -43911,8 +43919,7 @@ var init_sweepconfig = __esm(() => {
43911
43919
  statementDescriptor: stringType().optional(),
43912
43920
  lockedFields: arrayType(stringType()).optional(),
43913
43921
  createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
43914
- updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
43915
- disabledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
43922
+ updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
43916
43923
  });
43917
43924
  SweepConfig$outboundSchema = objectType({
43918
43925
  sweepConfigID: stringType(),
@@ -43924,8 +43931,7 @@ var init_sweepconfig = __esm(() => {
43924
43931
  statementDescriptor: stringType().optional(),
43925
43932
  lockedFields: arrayType(stringType()).optional(),
43926
43933
  createdOn: dateType().transform((v2) => v2.toISOString()),
43927
- updatedOn: dateType().transform((v2) => v2.toISOString()),
43928
- disabledOn: dateType().transform((v2) => v2.toISOString()).optional()
43934
+ updatedOn: dateType().transform((v2) => v2.toISOString())
43929
43935
  });
43930
43936
  ((SweepConfig$) => {
43931
43937
  SweepConfig$.inboundSchema = SweepConfig$inboundSchema;
@@ -70868,7 +70874,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
70868
70874
  function createMCPServer(deps) {
70869
70875
  const server = new McpServer({
70870
70876
  name: "Moov",
70871
- version: "0.10.9"
70877
+ version: "0.10.11"
70872
70878
  });
70873
70879
  const client = new MoovCore({
70874
70880
  security: deps.security,
@@ -72372,7 +72378,7 @@ var routes = rn({
72372
72378
  var app = Ve(routes, {
72373
72379
  name: "mcp",
72374
72380
  versionInfo: {
72375
- currentVersion: "0.10.9"
72381
+ currentVersion: "0.10.11"
72376
72382
  }
72377
72383
  });
72378
72384
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -72380,5 +72386,5 @@ export {
72380
72386
  app
72381
72387
  };
72382
72388
 
72383
- //# debugId=672510ADE5E6FA9464756E2164756E21
72389
+ //# debugId=F776841E5A83E5C664756E2164756E21
72384
72390
  //# sourceMappingURL=mcp-server.js.map