@uptiqai/widgets-sdk 1.254.0 → 1.264.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/headless.js +195 -190
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +23737 -23757
- package/dist/index.umd.cjs +176 -176
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -314,6 +314,8 @@ export declare type GetConversationsResult = {
|
|
|
314
314
|
export declare type HeadlessAgentInstance = {
|
|
315
315
|
emit: (event: 'query', payload: QueryPayload) => void;
|
|
316
316
|
on: <T extends HeadlessEventType>(event: T, handler: HeadlessEventHandler<T>) => () => void;
|
|
317
|
+
/** Attach to a conversation's live element stream without sending on it. Returns its own unsubscribe. */
|
|
318
|
+
subscribeToConversation: (conversationId: string) => () => void;
|
|
317
319
|
cleanup: () => void;
|
|
318
320
|
getConversation: (executionId: string) => Promise<Conversation>;
|
|
319
321
|
listConversations: (params?: ListConversationsParams) => Promise<GetConversationsResult>;
|