@skippr/live-agent-sdk 0.92.0 → 0.94.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.
@@ -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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skippr/live-agent-sdk",
3
- "version": "0.92.0",
3
+ "version": "0.94.0",
4
4
  "type": "module",
5
5
  "main": "dist/esm/lib-exports.js",
6
6
  "module": "dist/esm/lib-exports.js",