@tanstack/ai-svelte 0.13.1 → 0.13.3
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.
|
@@ -66,6 +66,7 @@ export function createChat(options) {
|
|
|
66
66
|
persistence: options.persistence,
|
|
67
67
|
}),
|
|
68
68
|
...(options.body !== undefined && { body: options.body }),
|
|
69
|
+
...(options.threadId !== undefined && { threadId: options.threadId }),
|
|
69
70
|
...(options.forwardedProps !== undefined && {
|
|
70
71
|
forwardedProps: options.forwardedProps,
|
|
71
72
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/ai-svelte",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.3",
|
|
4
4
|
"description": "Svelte 5 bindings for TanStack AI streaming chat, structured outputs, and media generation.",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"media-generation"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@tanstack/ai-client": "0.16.
|
|
41
|
+
"@tanstack/ai-client": "0.16.2"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"svelte": "^5.0.0",
|
|
45
|
-
"@tanstack/ai": "^0.
|
|
45
|
+
"@tanstack/ai": "^0.27.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@standard-schema/spec": "^1.1.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"svelte-check": "^4.2.0",
|
|
56
56
|
"typescript": "5.9.3",
|
|
57
57
|
"vite": "^7.3.3",
|
|
58
|
-
"@tanstack/ai": "0.
|
|
58
|
+
"@tanstack/ai": "0.27.0"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"clean": "rm -rf ./dist",
|
|
@@ -104,6 +104,7 @@ export function createChat<
|
|
|
104
104
|
persistence: options.persistence,
|
|
105
105
|
}),
|
|
106
106
|
...(options.body !== undefined && { body: options.body }),
|
|
107
|
+
...(options.threadId !== undefined && { threadId: options.threadId }),
|
|
107
108
|
...(options.forwardedProps !== undefined && {
|
|
108
109
|
forwardedProps: options.forwardedProps,
|
|
109
110
|
}),
|