@mastra/client-js 0.10.0 → 0.10.1-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/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +9 -0
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +2 -2
- package/src/types.ts +3 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @mastra/client-js@0.10.
|
|
2
|
+
> @mastra/client-js@0.10.1-alpha.0 build /home/runner/work/mastra/mastra/client-sdks/client-js
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --dts --clean --treeshake=smallest --splitting
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
[34mCLI[39m Cleaning output folder
|
|
10
10
|
[34mESM[39m Build start
|
|
11
11
|
[34mCJS[39m Build start
|
|
12
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m41.29 KB[39m
|
|
13
|
-
[32mCJS[39m ⚡️ Build success in 1290ms
|
|
14
12
|
[32mESM[39m [1mdist/index.js [22m[32m41.00 KB[39m
|
|
15
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 1666ms
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m41.29 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 1695ms
|
|
16
16
|
[34mDTS[39m Build start
|
|
17
|
-
[32mDTS[39m ⚡️ Build success in
|
|
17
|
+
[32mDTS[39m ⚡️ Build success in 16148ms
|
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m30.61 KB[39m
|
|
19
19
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m30.61 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @mastra/client-js
|
|
2
2
|
|
|
3
|
+
## 0.10.1-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f622cfa: Make some properties of CreateMemoryThreadParams optional
|
|
8
|
+
- Updated dependencies [6d16390]
|
|
9
|
+
- Updated dependencies [1e4a421]
|
|
10
|
+
- @mastra/core@0.10.1-alpha.0
|
|
11
|
+
|
|
3
12
|
## 0.10.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -147,10 +147,10 @@ interface SaveMessageToMemoryParams {
|
|
|
147
147
|
}
|
|
148
148
|
type SaveMessageToMemoryResponse = MessageType[];
|
|
149
149
|
interface CreateMemoryThreadParams {
|
|
150
|
-
title
|
|
151
|
-
metadata
|
|
150
|
+
title?: string;
|
|
151
|
+
metadata?: Record<string, any>;
|
|
152
152
|
resourceId: string;
|
|
153
|
-
threadId
|
|
153
|
+
threadId?: string;
|
|
154
154
|
agentId: string;
|
|
155
155
|
}
|
|
156
156
|
type CreateMemoryThreadResponse = StorageThreadType;
|
package/dist/index.d.ts
CHANGED
|
@@ -147,10 +147,10 @@ interface SaveMessageToMemoryParams {
|
|
|
147
147
|
}
|
|
148
148
|
type SaveMessageToMemoryResponse = MessageType[];
|
|
149
149
|
interface CreateMemoryThreadParams {
|
|
150
|
-
title
|
|
151
|
-
metadata
|
|
150
|
+
title?: string;
|
|
151
|
+
metadata?: Record<string, any>;
|
|
152
152
|
resourceId: string;
|
|
153
|
-
threadId
|
|
153
|
+
threadId?: string;
|
|
154
154
|
agentId: string;
|
|
155
155
|
}
|
|
156
156
|
type CreateMemoryThreadResponse = StorageThreadType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/client-js",
|
|
3
|
-
"version": "0.10.0",
|
|
3
|
+
"version": "0.10.1-alpha.0",
|
|
4
4
|
"description": "The official TypeScript library for the Mastra Client API",
|
|
5
5
|
"author": "",
|
|
6
6
|
"type": "module",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"typescript": "^5.8.2",
|
|
44
44
|
"vitest": "^3.1.2",
|
|
45
45
|
"@internal/lint": "0.0.6",
|
|
46
|
-
"@mastra/core": "0.10.0"
|
|
46
|
+
"@mastra/core": "0.10.1-alpha.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsup src/index.ts --format esm,cjs --dts --clean --treeshake=smallest --splitting",
|
package/src/types.ts
CHANGED
|
@@ -177,10 +177,10 @@ export interface SaveMessageToMemoryParams {
|
|
|
177
177
|
export type SaveMessageToMemoryResponse = MessageType[];
|
|
178
178
|
|
|
179
179
|
export interface CreateMemoryThreadParams {
|
|
180
|
-
title
|
|
181
|
-
metadata
|
|
180
|
+
title?: string;
|
|
181
|
+
metadata?: Record<string, any>;
|
|
182
182
|
resourceId: string;
|
|
183
|
-
threadId
|
|
183
|
+
threadId?: string;
|
|
184
184
|
agentId: string;
|
|
185
185
|
}
|
|
186
186
|
|