@yak-io/nextjs 0.3.3 → 0.4.1
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 +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -292,7 +292,7 @@ export const { GET, POST } = createNextYakHandler({
|
|
|
292
292
|
| `appId` | `string` | Yak app identifier |
|
|
293
293
|
| `getConfig` | `() => Promise<ChatConfig>` | Config provider (default fetches `/api/yak`) |
|
|
294
294
|
| `onToolCall` | `(name, args) => Promise<unknown>` | Tool call handler (default POSTs to `/api/yak`) |
|
|
295
|
-
| `theme` | `Theme` |
|
|
295
|
+
| `theme` | `Theme` | Chat panel theme (`position`, `colorMode`, colors) |
|
|
296
296
|
| `onRedirect` | `(path: string) => void` | Custom navigation handler |
|
|
297
297
|
| `disableRestartButton` | `boolean` | Hide the restart session button in the header |
|
|
298
298
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yak-io/nextjs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Next.js SDK for embedding yak chatbot with route manifest generation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"yak-nextjs": "./dist/cli/generate-manifest.js"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@yak-io/javascript": "0.
|
|
64
|
-
"@yak-io/react": "0.
|
|
63
|
+
"@yak-io/javascript": "0.6.0",
|
|
64
|
+
"@yak-io/react": "0.7.0"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"next": "^14.0.0 || ^15.0.0 || ^16.0.0",
|