teodor-new-chat-ui 4.3.20 → 4.3.21
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/context/providers/chat-session/payloadCache.d.ts +10 -0
- package/dist/context/providers/chat-session/snapshots.d.ts +6 -0
- package/dist/context/providers/chat-session/storage.d.ts +6 -0
- package/dist/context/providers/chat-session/threadCache.d.ts +16 -0
- package/dist/index.esm.js +4962 -4942
- package/dist/index.umd.js +47 -47
- package/dist/types/api.d.ts +5 -0
- package/package.json +1 -1
package/dist/types/api.d.ts
CHANGED
|
@@ -335,6 +335,11 @@ export interface StreamContextValue {
|
|
|
335
335
|
isStreaming: boolean;
|
|
336
336
|
error: string | null;
|
|
337
337
|
submit: (payload: StreamSubmitPayload, options?: SendOptions) => Promise<void>;
|
|
338
|
+
/**
|
|
339
|
+
* @deprecated Prefer `submit`; retained for backwards compatibility while
|
|
340
|
+
* hosts migrate to the unified helper.
|
|
341
|
+
*/
|
|
342
|
+
send?: (payload: StreamSubmitPayload, options?: SendOptions) => Promise<void>;
|
|
338
343
|
stop: () => void;
|
|
339
344
|
setAuthToken: (token: string | null) => void;
|
|
340
345
|
}
|
package/package.json
CHANGED