@tanstack/ai-svelte 0.10.10 → 0.11.0
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/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
- package/src/index.ts +3 -0
package/dist/index.d.ts
CHANGED
|
@@ -14,4 +14,4 @@ export { createSummarize } from './create-summarize.svelte';
|
|
|
14
14
|
export type { CreateSummarizeOptions, CreateSummarizeReturn, } from './create-summarize.svelte';
|
|
15
15
|
export { createGenerateVideo } from './create-generate-video.svelte';
|
|
16
16
|
export type { CreateGenerateVideoOptions, CreateGenerateVideoReturn, } from './create-generate-video.svelte';
|
|
17
|
-
export { fetchServerSentEvents, fetchHttpStream, stream, rpcStream, createChatClientOptions, clientTools, type ConnectionAdapter, type ConnectConnectionAdapter, type SubscribeConnectionAdapter, type RunAgentInputContext, type FetchConnectionOptions, type InferChatMessages, type GenerationClientState, type ImageGenerateInput, type AudioGenerateInput, type SpeechGenerateInput, type TranscriptionGenerateInput, type SummarizeGenerateInput, type VideoGenerateInput, type VideoGenerateResult, type VideoStatusInfo, } from '@tanstack/ai-client';
|
|
17
|
+
export { fetchServerSentEvents, fetchHttpStream, xhrServerSentEvents, xhrHttpStream, stream, rpcStream, createChatClientOptions, clientTools, type ConnectionAdapter, type ConnectConnectionAdapter, type SubscribeConnectionAdapter, type RunAgentInputContext, type FetchConnectionOptions, type XhrConnectionOptions, type InferChatMessages, type GenerationClientState, type ImageGenerateInput, type AudioGenerateInput, type SpeechGenerateInput, type TranscriptionGenerateInput, type SummarizeGenerateInput, type VideoGenerateInput, type VideoGenerateResult, type VideoStatusInfo, } from '@tanstack/ai-client';
|
package/dist/index.js
CHANGED
|
@@ -8,4 +8,4 @@ export { createTranscription } from './create-transcription.svelte';
|
|
|
8
8
|
export { createSummarize } from './create-summarize.svelte';
|
|
9
9
|
export { createGenerateVideo } from './create-generate-video.svelte';
|
|
10
10
|
// Re-export from ai-client for convenience
|
|
11
|
-
export { fetchServerSentEvents, fetchHttpStream, stream, rpcStream, createChatClientOptions, clientTools, } from '@tanstack/ai-client';
|
|
11
|
+
export { fetchServerSentEvents, fetchHttpStream, xhrServerSentEvents, xhrHttpStream, stream, rpcStream, createChatClientOptions, clientTools, } from '@tanstack/ai-client';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/ai-svelte",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
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.
|
|
41
|
+
"@tanstack/ai-client": "0.14.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"svelte": "^5.0.0",
|
|
45
|
-
"@tanstack/ai": "^0.
|
|
45
|
+
"@tanstack/ai": "^0.23.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.23.0"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"clean": "rm -rf ./dist",
|
package/src/index.ts
CHANGED
|
@@ -54,6 +54,8 @@ export type {
|
|
|
54
54
|
export {
|
|
55
55
|
fetchServerSentEvents,
|
|
56
56
|
fetchHttpStream,
|
|
57
|
+
xhrServerSentEvents,
|
|
58
|
+
xhrHttpStream,
|
|
57
59
|
stream,
|
|
58
60
|
rpcStream,
|
|
59
61
|
createChatClientOptions,
|
|
@@ -63,6 +65,7 @@ export {
|
|
|
63
65
|
type SubscribeConnectionAdapter,
|
|
64
66
|
type RunAgentInputContext,
|
|
65
67
|
type FetchConnectionOptions,
|
|
68
|
+
type XhrConnectionOptions,
|
|
66
69
|
type InferChatMessages,
|
|
67
70
|
type GenerationClientState,
|
|
68
71
|
type ImageGenerateInput,
|