@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.
@@ -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 {};
@@ -0,0 +1,5 @@
1
+ interface VoiceBarLoginCardProps {
2
+ onDismiss: () => void;
3
+ }
4
+ export declare function VoiceBarLoginCard({ onDismiss }: VoiceBarLoginCardProps): import("react/jsx-runtime").JSX.Element;
5
+ 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>;
@@ -0,0 +1,6 @@
1
+ export interface UseHighlightControlValue {
2
+ /** True while a resting highlight ("guide") is on screen. */
3
+ highlightActive: boolean;
4
+ clearHighlight: () => Promise<void>;
5
+ }
6
+ export declare function useHighlightControl(): UseHighlightControlValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skippr/live-agent-sdk",
3
- "version": "0.91.0",
3
+ "version": "0.93.0",
4
4
  "type": "module",
5
5
  "main": "dist/esm/lib-exports.js",
6
6
  "module": "dist/esm/lib-exports.js",