@skippr/live-agent-sdk 0.124.0 → 0.125.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 +95 -36
- package/dist/skippr-sdk.js +89 -89
- package/dist/types/components/DomCapture.d.ts +2 -1
- package/dist/types/components/LiveAgent.d.ts +1 -0
- package/dist/types/hooks/useSessionHold.d.ts +1 -1
- package/dist/types/lib/agentSender.d.ts +2 -0
- package/dist/types/lib/hostStart.d.ts +6 -0
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ export declare function shouldIncludeInFirstFrame(element: Element): boolean;
|
|
|
4
4
|
interface DomCaptureProps {
|
|
5
5
|
pushOrTapMicMode?: boolean;
|
|
6
6
|
startMuted?: boolean;
|
|
7
|
+
suppressVideoPublish?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare function DomCapture({ pushOrTapMicMode, startMuted }: DomCaptureProps): null;
|
|
9
|
+
export declare function DomCapture({ pushOrTapMicMode, startMuted, suppressVideoPublish, }: DomCaptureProps): null;
|
|
9
10
|
export {};
|
|
@@ -12,6 +12,6 @@ export interface UseSessionHoldValue {
|
|
|
12
12
|
toggle: () => void;
|
|
13
13
|
clearPausedCaptureRef: MutableRefObject<(() => void) | null>;
|
|
14
14
|
}
|
|
15
|
-
/** Owns the user's in-session pause/resume: mutes the mic, signals the
|
|
15
|
+
/** Owns the user's in-session pause/resume: mutes the mic, signals the agent to stop listening,
|
|
16
16
|
* and ends the session if the hold outlasts the countdown. */
|
|
17
17
|
export declare function useSessionHold({ pauseSession, pauseTimeoutSeconds, captureMode, }: UseSessionHoldOptions): UseSessionHoldValue;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type StartSession = () => void;
|
|
2
|
+
export declare function setHostSessionLive(isLive: boolean): void;
|
|
3
|
+
export declare function provideStartSession(fn: StartSession | null): void;
|
|
4
|
+
export declare function resetHostStart(): void;
|
|
5
|
+
export declare function requestStartSession(): void;
|
|
6
|
+
export {};
|