@mastra/client-js 1.14.1-alpha.2 → 1.14.2-alpha.0
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.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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)]:
|
|
8
|
+
- @mastra/core@1.28.0-alpha.0
|
|
9
|
+
|
|
10
|
+
## 1.14.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`f112db1`](https://github.com/mastra-ai/mastra/commit/f112db179557ae9b5a0f1d25dc47f928d7d61cd9), [`21d9706`](https://github.com/mastra-ai/mastra/commit/21d970604d89eee970cbf8013d26d7551aff6ea5), [`0a0aa94`](https://github.com/mastra-ai/mastra/commit/0a0aa94729592e99885af2efb90c56aaada62247), [`ed07df3`](https://github.com/mastra-ai/mastra/commit/ed07df32a9d539c8261e892fc1bade783f5b41a6), [`01a7d51`](https://github.com/mastra-ai/mastra/commit/01a7d513493d21562f677f98550f7ceb165ba78c)]:
|
|
15
|
+
- @mastra/core@1.27.0
|
|
16
|
+
|
|
3
17
|
## 1.14.1-alpha.2
|
|
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<
|
|
1708
|
-
|
|
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?: (
|
|
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
|
/**
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -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.
|
|
6
|
+
version: "1.14.2-alpha.0"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/client-js",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.2-alpha.0",
|
|
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.
|
|
40
|
+
"@mastra/core": "1.28.0-alpha.0",
|
|
41
41
|
"@mastra/schema-compat": "1.2.9"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
@@ -46,17 +46,17 @@
|
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/json-schema": "^7.0.15",
|
|
48
48
|
"@types/node": "22.19.15",
|
|
49
|
-
"@vitest/coverage-v8": "4.1.
|
|
50
|
-
"@vitest/ui": "4.1.
|
|
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.
|
|
54
|
+
"vitest": "4.1.5",
|
|
55
55
|
"zod": "^4.3.6",
|
|
56
|
-
"@internal/ai-sdk-v4": "0.0.
|
|
57
|
-
"@internal/ai-sdk-v5": "0.0.
|
|
58
|
-
"@internal/
|
|
59
|
-
"@internal/
|
|
56
|
+
"@internal/ai-sdk-v4": "0.0.32",
|
|
57
|
+
"@internal/ai-sdk-v5": "0.0.32",
|
|
58
|
+
"@internal/lint": "0.0.85",
|
|
59
|
+
"@internal/types-builder": "0.0.60"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=22.13.0"
|