@mastra/react 0.1.0-beta.13 → 0.1.0-beta.14
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 +7 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @mastra/react-hooks
|
|
2
2
|
|
|
3
|
+
## 0.1.0-beta.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`66741d1`](https://github.com/mastra-ai/mastra/commit/66741d1a99c4f42cf23a16109939e8348ac6852e), [`a7ce182`](https://github.com/mastra-ai/mastra/commit/a7ce1822a8785ce45d62dd5c911af465e144f7d7)]:
|
|
8
|
+
- @mastra/client-js@1.0.0-beta.14
|
|
9
|
+
|
|
3
10
|
## 0.1.0-beta.13
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -156,7 +156,7 @@ const toUIMessage = ({ chunk, conversation, metadata }) => {
|
|
|
156
156
|
}
|
|
157
157
|
case "start": {
|
|
158
158
|
const newMessage = {
|
|
159
|
-
id: `start-${chunk.runId + Date.now()}`,
|
|
159
|
+
id: typeof chunk.payload.messageId === "string" ? chunk.payload.messageId : `start-${chunk.runId + Date.now()}`,
|
|
160
160
|
role: "assistant",
|
|
161
161
|
parts: [],
|
|
162
162
|
metadata
|