@skippr/live-agent-sdk 0.91.0 → 0.93.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/esm/lib-exports.js +1778 -1500
- package/dist/skippr-sdk.css +1 -1
- package/dist/skippr-sdk.js +107 -107
- package/dist/types/capture/highlightSignal.d.ts +5 -0
- package/dist/types/components/VoiceBarLauncher.d.ts +4 -1
- package/dist/types/components/VoiceBarLoginCard.d.ts +5 -0
- package/dist/types/context/LiveAgentContext.d.ts +1 -0
- package/dist/types/hooks/useHighlightControl.d.ts +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare function setHighlightActive(active: boolean): void;
|
|
2
|
+
export declare function isHighlightActive(): boolean;
|
|
3
|
+
export declare function subscribeHighlightActive(subscriber: (active: boolean) => void): () => void;
|
|
4
|
+
export declare function clearHighlight(): void;
|
|
5
|
+
export declare function onHighlightCleared(subscriber: () => void): () => void;
|
|
@@ -6,10 +6,13 @@ interface VoiceBarLauncherProps {
|
|
|
6
6
|
mode: Exclude<LauncherMode, 'none'>;
|
|
7
7
|
logoUrl: string | null;
|
|
8
8
|
notifications: BarNotification[];
|
|
9
|
+
needsLogin: boolean;
|
|
10
|
+
onLoginOpen: () => void;
|
|
11
|
+
onLoginDismiss: () => void;
|
|
9
12
|
onOpen: () => void;
|
|
10
13
|
onChat: (() => void) | null;
|
|
11
14
|
onDrop: (dock: BarDock) => void;
|
|
12
15
|
setDragging: (dragging: boolean) => void;
|
|
13
16
|
}
|
|
14
|
-
export declare function VoiceBarLauncher({ dock, mode, logoUrl, notifications, onOpen, onChat, onDrop, setDragging, }: VoiceBarLauncherProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare function VoiceBarLauncher({ dock, mode, logoUrl, notifications, needsLogin, onLoginOpen, onLoginDismiss, onOpen, onChat, onDrop, setDragging, }: VoiceBarLauncherProps): import("react/jsx-runtime").JSX.Element;
|
|
15
18
|
export {};
|
|
@@ -168,5 +168,6 @@ export interface LiveAgentContextValue extends LiveAgentPublicValue {
|
|
|
168
168
|
reportChatActivity: () => void;
|
|
169
169
|
chatDraft: string;
|
|
170
170
|
setChatDraft: (text: string) => void;
|
|
171
|
+
setAutoStartAfterLogin: (pending: boolean) => void;
|
|
171
172
|
}
|
|
172
173
|
export declare const LiveAgentContext: import("react").Context<LiveAgentContextValue | null>;
|