@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/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>;