@mastra/server-adapters-test-suite 0.3.0-alpha.2 → 0.3.0-alpha.3

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.
@@ -14,6 +14,8 @@ export interface StreamDisconnectTestConfig {
14
14
  }>;
15
15
  /** Set when `startServer` supports `compress`, to run the compressed-response cases. */
16
16
  supportsCompression?: boolean;
17
+ /** Set when a `datastream-response` upstream error still drops the connection, to pin that case as failing. */
18
+ datastreamUpstreamErrorDropsConnection?: boolean;
17
19
  }
18
20
  /**
19
21
  * Covers what happens to the stream a route returns when the client goes away (#29634, #29640). The adapter has
@@ -1 +1 @@
1
- {"version":3,"file":"stream-disconnect-test-suite.d.ts","sourceRoot":"","sources":["../src/stream-disconnect-test-suite.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAGjE,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,WAAW,EAAE,CACX,KAAK,EAAE,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EACjC,OAAO,CAAC,EAAE;QAAE,aAAa,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,KAClE,OAAO,CAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;KAAE,CAAC,CAAC;IAC1D,wFAAwF;IACxF,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAYD;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,0BAA0B,QAqOjF"}
1
+ {"version":3,"file":"stream-disconnect-test-suite.d.ts","sourceRoot":"","sources":["../src/stream-disconnect-test-suite.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAGjE,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,WAAW,EAAE,CACX,KAAK,EAAE,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EACjC,OAAO,CAAC,EAAE;QAAE,aAAa,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,KAClE,OAAO,CAAC;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;KAAE,CAAC,CAAC;IAC1D,wFAAwF;IACxF,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,+GAA+G;IAC/G,sCAAsC,CAAC,EAAE,OAAO,CAAC;CAClD;AAYD;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,0BAA0B,QAgQjF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server-adapters-test-suite",
3
- "version": "0.3.0-alpha.2",
3
+ "version": "0.3.0-alpha.3",
4
4
  "description": "Reusable conformance test suite for Mastra server adapters",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -21,11 +21,11 @@
21
21
  "typescript": "^7.0.2",
22
22
  "vitest": "5.1.0",
23
23
  "zod": "^4.6.7",
24
- "@mastra/core": "1.83.0-alpha.5",
25
- "@mastra/mcp": "2.9.0-alpha.2",
26
- "@mastra/server": "1.83.0-alpha.5",
27
24
  "@internal/lint": "0.0.148",
28
- "@internal/types-builder": "0.0.123"
25
+ "@internal/types-builder": "0.0.123",
26
+ "@mastra/core": "1.83.0-alpha.6",
27
+ "@mastra/mcp": "2.9.0-alpha.3",
28
+ "@mastra/server": "1.83.0-alpha.6"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@mastra/core": ">=1.64.0-0 <2.0.0-0",