@mastra/client-js 1.14.1 → 1.14.2-alpha.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @mastra/client-js
2
2
 
3
+ ## 1.14.2-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`750b4d3`](https://github.com/mastra-ai/mastra/commit/750b4d3d8231f92e769b2c485921ac5a8ca639b9)]:
8
+ - @mastra/core@1.28.0-alpha.1
9
+
10
+ ## 1.14.2-alpha.0
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`733bf53`](https://github.com/mastra-ai/mastra/commit/733bf53d9352aedd3ef38c3d501edb275b65b43c), [`5405b3b`](https://github.com/mastra-ai/mastra/commit/5405b3b35325c5b8fb34fc7ac109bd2feb7bb6fe), [`c321127`](https://github.com/mastra-ai/mastra/commit/c3211275fc195de9ad1ead2746b354beb8eae6e8), [`a07bcef`](https://github.com/mastra-ai/mastra/commit/a07bcefea77c03d6d322caad973dca49b4b15fa1), [`b084a80`](https://github.com/mastra-ai/mastra/commit/b084a800db0f82d62e1fc3d6e3e3480da1ba5a53), [`82b7a96`](https://github.com/mastra-ai/mastra/commit/82b7a964169636c1d1e0c694fc892a213b0179d5), [`df97812`](https://github.com/mastra-ai/mastra/commit/df97812bd949dcafeb074b80ecab501724b49c3b), [`8bbe360`](https://github.com/mastra-ai/mastra/commit/8bbe36042af7fc4be0244dffd8913f6795179421), [`f6b8ba8`](https://github.com/mastra-ai/mastra/commit/f6b8ba8dbf533b7a8db90c72b6805ddc804a3a72), [`a07bcef`](https://github.com/mastra-ai/mastra/commit/a07bcefea77c03d6d322caad973dca49b4b15fa1)]:
15
+ - @mastra/core@1.28.0-alpha.0
16
+
3
17
  ## 1.14.1
4
18
 
5
19
  ### Patch Changes
@@ -1671,16 +1671,16 @@ declare interface EventSourceMessage {
1671
1671
  * implementation in that browsers will default this to `message`, whereas this parser will
1672
1672
  * leave this as `undefined` if not explicitly declared.
1673
1673
  */
1674
- event?: string | undefined
1674
+ event?: string | undefined;
1675
1675
  /**
1676
1676
  * ID of the message, if any was provided by the server. Can be used by clients to keep the
1677
1677
  * last received message ID in sync when reconnecting.
1678
1678
  */
1679
- id?: string | undefined
1679
+ id?: string | undefined;
1680
1680
  /**
1681
1681
  * The data received for this message
1682
1682
  */
1683
- data: string
1683
+ data: string;
1684
1684
  }
1685
1685
 
1686
1686
  /**
@@ -1704,8 +1704,11 @@ declare interface EventSourceMessage {
1704
1704
  *
1705
1705
  * @public
1706
1706
  */
1707
- declare class EventSourceParserStream extends TransformStream<string, EventSourceMessage> {
1708
- constructor({onError, onRetry, onComment}?: StreamOptions)
1707
+ declare class EventSourceParserStream extends TransformStream<
1708
+ string,
1709
+ EventSourceMessage
1710
+ > {
1711
+ constructor({ onError, onRetry, onComment }?: StreamOptions);
1709
1712
  }
1710
1713
 
1711
1714
  /**
@@ -8146,19 +8149,19 @@ declare interface StreamOptions {
8146
8149
  *
8147
8150
  * @defaultValue `undefined`
8148
8151
  */
8149
- onError?: ('terminate' | ((error: Error) => void)) | undefined
8152
+ onError?: ("terminate" | ((error: Error) => void)) | undefined;
8150
8153
  /**
8151
8154
  * Callback for when a reconnection interval is sent from the server.
8152
8155
  *
8153
8156
  * @param retry - The number of milliseconds to wait before reconnecting.
8154
8157
  */
8155
- onRetry?: ((retry: number) => void) | undefined
8158
+ onRetry?: ((retry: number) => void) | undefined;
8156
8159
  /**
8157
8160
  * Callback for when a comment is encountered in the stream.
8158
8161
  *
8159
8162
  * @param comment - The comment encountered in the stream.
8160
8163
  */
8161
- onComment?: ((comment: string) => void) | undefined
8164
+ onComment?: ((comment: string) => void) | undefined;
8162
8165
  }
8163
8166
 
8164
8167
  /**
@@ -3,7 +3,7 @@ name: mastra-client-js
3
3
  description: Documentation for @mastra/client-js. Use when working with @mastra/client-js APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/client-js"
6
- version: "1.14.1"
6
+ version: "1.14.2-alpha.1"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.14.1",
2
+ "version": "1.14.2-alpha.1",
3
3
  "package": "@mastra/client-js",
4
4
  "exports": {
5
5
  "RequestContext": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/client-js",
3
- "version": "1.14.1",
3
+ "version": "1.14.2-alpha.1",
4
4
  "description": "The official TypeScript library for the Mastra Client API",
5
5
  "author": "",
6
6
  "type": "module",
@@ -37,7 +37,7 @@
37
37
  "@ai-sdk/ui-utils": "^1.2.11",
38
38
  "@lukeed/uuid": "^2.0.1",
39
39
  "json-schema": "^0.4.0",
40
- "@mastra/core": "1.27.0",
40
+ "@mastra/core": "1.28.0-alpha.1",
41
41
  "@mastra/schema-compat": "1.2.9"
42
42
  },
43
43
  "peerDependencies": {
@@ -46,12 +46,12 @@
46
46
  "devDependencies": {
47
47
  "@types/json-schema": "^7.0.15",
48
48
  "@types/node": "22.19.15",
49
- "@vitest/coverage-v8": "4.1.4",
50
- "@vitest/ui": "4.1.4",
49
+ "@vitest/coverage-v8": "4.1.5",
50
+ "@vitest/ui": "4.1.5",
51
51
  "eslint": "^10.2.1",
52
52
  "tsup": "^8.5.1",
53
53
  "typescript": "^5.9.3",
54
- "vitest": "4.1.4",
54
+ "vitest": "4.1.5",
55
55
  "zod": "^4.3.6",
56
56
  "@internal/ai-sdk-v4": "0.0.32",
57
57
  "@internal/ai-sdk-v5": "0.0.32",