@skippr/live-agent-sdk 0.20.0 → 0.22.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.
|
@@ -8,7 +8,8 @@ interface LiveAgentProps {
|
|
|
8
8
|
variant?: 'floating' | 'sidebar' | undefined;
|
|
9
9
|
minimizable?: boolean | undefined;
|
|
10
10
|
defaultOpen?: boolean;
|
|
11
|
+
welcomeMessage?: string | undefined;
|
|
11
12
|
children?: ReactNode;
|
|
12
13
|
}
|
|
13
|
-
export declare function LiveAgent({ agentId, authToken: authTokenProp, appKey, userToken, position, variant, minimizable, defaultOpen, children, }: LiveAgentProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare function LiveAgent({ agentId, authToken: authTokenProp, appKey, userToken, position, variant, minimizable, defaultOpen, welcomeMessage, children, }: LiveAgentProps): import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
interface MinimizedBubbleProps {
|
|
2
|
+
welcomeMessage?: string | undefined;
|
|
3
|
+
welcomeDismissed: boolean;
|
|
4
|
+
onDismissWelcome: () => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function MinimizedBubble({ welcomeMessage, welcomeDismissed, onDismissWelcome, }: MinimizedBubbleProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
interface TooltipProps {
|
|
3
|
+
label: string;
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
position?: 'top' | 'bottom';
|
|
6
|
+
}
|
|
7
|
+
export declare function Tooltip({ label, children, position }: TooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skippr/live-agent-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/esm/lib-exports.js",
|
|
6
6
|
"module": "dist/esm/lib-exports.js",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"clsx": "2.1.1",
|
|
35
|
-
"lucide-react": "
|
|
36
|
-
"tailwind-merge": "3.
|
|
35
|
+
"lucide-react": "1.8.0",
|
|
36
|
+
"tailwind-merge": "3.5.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": "^18 || ^19",
|