@ai-sdk/react 0.0.31 → 0.0.33
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 +6 -6
- package/.turbo/turbo-clean.log +1 -1
- package/CHANGELOG.md +14 -0
- package/package.json +2 -2
- package/src/use-chat.ui.test.tsx +0 -4
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @ai-sdk/react@0.0.
|
|
2
|
+
> @ai-sdk/react@0.0.33 build /home/runner/work/ai/ai/packages/react
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
[34mCLI[39m Target: es2018
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[34mESM[39m Build start
|
|
12
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m25.33 KB[39m
|
|
13
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m54.88 KB[39m
|
|
14
|
-
[32mESM[39m ⚡️ Build success in 62ms
|
|
15
12
|
[32mCJS[39m [1mdist/index.js [22m[32m27.81 KB[39m
|
|
16
13
|
[32mCJS[39m [1mdist/index.js.map [22m[32m54.95 KB[39m
|
|
17
|
-
[32mCJS[39m ⚡️ Build success in
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 74ms
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m25.33 KB[39m
|
|
16
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m54.88 KB[39m
|
|
17
|
+
[32mESM[39m ⚡️ Build success in 92ms
|
|
18
18
|
[34mDTS[39m Build start
|
|
19
|
-
[32mDTS[39m ⚡️ Build success in
|
|
19
|
+
[32mDTS[39m ⚡️ Build success in 5542ms
|
|
20
20
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m10.49 KB[39m
|
|
21
21
|
[32mDTS[39m [1mdist/index.d.mts [22m[32m10.49 KB[39m
|
package/.turbo/turbo-clean.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @ai-sdk/react
|
|
2
2
|
|
|
3
|
+
## 0.0.33
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [fea7b604]
|
|
8
|
+
- @ai-sdk/ui-utils@0.0.23
|
|
9
|
+
|
|
10
|
+
## 0.0.32
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [1d93d716]
|
|
15
|
+
- @ai-sdk/ui-utils@0.0.22
|
|
16
|
+
|
|
3
17
|
## 0.0.31
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@ai-sdk/provider-utils": "1.0.5",
|
|
19
|
-
"@ai-sdk/ui-utils": "0.0.
|
|
19
|
+
"@ai-sdk/ui-utils": "0.0.23",
|
|
20
20
|
"swr": "2.2.5"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
package/src/use-chat.ui.test.tsx
CHANGED
|
@@ -770,8 +770,6 @@ describe('tool invocations', () => {
|
|
|
770
770
|
streamController.enqueue(
|
|
771
771
|
formatStreamPart('tool_result', {
|
|
772
772
|
toolCallId: 'tool-call-0',
|
|
773
|
-
toolName: 'test-tool',
|
|
774
|
-
args: { testArg: 'test-value' },
|
|
775
773
|
result: 'test-result',
|
|
776
774
|
}),
|
|
777
775
|
);
|
|
@@ -810,8 +808,6 @@ describe('tool invocations', () => {
|
|
|
810
808
|
streamController.enqueue(
|
|
811
809
|
formatStreamPart('tool_result', {
|
|
812
810
|
toolCallId: 'tool-call-0',
|
|
813
|
-
toolName: 'test-tool',
|
|
814
|
-
args: { testArg: 'test-value' },
|
|
815
811
|
result: 'test-result',
|
|
816
812
|
}),
|
|
817
813
|
);
|