ai 3.2.17 → 3.2.18
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/README.md +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
@@ -49,7 +49,7 @@ main();
|
|
49
49
|
|
50
50
|
The [AI SDK UI](https://sdk.vercel.ai/docs/ai-sdk-ui/overview) module provides a set of hooks that help you build chatbots and generative user interfaces. These hooks are framework agnostic, so they can be used in Next.js, React, Svelte, Vue, and SolidJS.
|
51
51
|
|
52
|
-
###### @/app/page.tsx (Next.js
|
52
|
+
###### @/app/page.tsx (Next.js App Router)
|
53
53
|
|
54
54
|
```tsx
|
55
55
|
"use client"
|
@@ -81,7 +81,7 @@ export default function Page() {
|
|
81
81
|
}
|
82
82
|
```
|
83
83
|
|
84
|
-
###### @/app/api/chat/route.ts (Next.js
|
84
|
+
###### @/app/api/chat/route.ts (Next.js App Router)
|
85
85
|
|
86
86
|
```ts
|
87
87
|
import { CoreMessage, streamText } from 'ai';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "ai",
|
3
|
-
"version": "3.2.
|
3
|
+
"version": "3.2.18",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"main": "./dist/index.js",
|
@@ -59,7 +59,7 @@
|
|
59
59
|
"dependencies": {
|
60
60
|
"@ai-sdk/provider": "0.0.11",
|
61
61
|
"@ai-sdk/provider-utils": "1.0.1",
|
62
|
-
"@ai-sdk/react": "0.0.
|
62
|
+
"@ai-sdk/react": "0.0.18",
|
63
63
|
"@ai-sdk/solid": "0.0.12",
|
64
64
|
"@ai-sdk/svelte": "0.0.13",
|
65
65
|
"@ai-sdk/ui-utils": "0.0.10",
|