@askly/widget 2.0.0 → 2.0.2

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 @@
1
+ export declare function shouldRenderOnPath(pathname: string, includePaths?: string[], excludePaths?: string[]): boolean;
package/dist/widget.d.ts CHANGED
@@ -22,11 +22,12 @@ interface ChatWidgetProps {
22
22
  signature?: string;
23
23
  turnstileSiteKey?: string;
24
24
  excludePaths?: string[];
25
+ includePaths?: string[];
25
26
  onMessageSent?: (message: string) => void;
26
27
  onMessageReceived?: (reply: string) => void;
27
28
  onChatOpened?: () => void;
28
29
  onChatClosed?: () => void;
29
30
  onEscalation?: (data: any) => void;
30
31
  }
31
- export declare const ChatWidget: ({ orgId, organizationName: initialOrganizationName, themeColor: initialThemeColor, theme: initialTheme, position, orgServerRoute, enableVoiceChat: initialEnableVoiceChat, welcomeMessage: initialWelcomeMessage, placeholderText, organizationLogo, buttonIcon, autoOpen, showTimestamp, soundEnabled, soundVolume, poweredBy, userId, timestamp, signature, turnstileSiteKey, excludePaths, onMessageSent, onMessageReceived, onChatOpened, onChatClosed, onEscalation, }: ChatWidgetProps) => React.JSX.Element | null;
32
+ export declare const ChatWidget: ({ orgId, organizationName: initialOrganizationName, themeColor: initialThemeColor, theme: initialTheme, position, orgServerRoute, enableVoiceChat: initialEnableVoiceChat, welcomeMessage: initialWelcomeMessage, placeholderText, organizationLogo, buttonIcon, autoOpen, showTimestamp, soundEnabled, soundVolume, poweredBy, userId, timestamp, signature, turnstileSiteKey, excludePaths, includePaths, onMessageSent, onMessageReceived, onChatOpened, onChatClosed, onEscalation, }: ChatWidgetProps) => React.JSX.Element | null;
32
33
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@askly/widget",
3
- "version": "2.0.0",
4
- "description": "Embeddable AI support chat widget with voice capabilities, RAG integration, and extensive customization options.",
3
+ "version": "2.0.2",
4
+ "description": "Embeddable AI support chat widget for React — drop-in customer support chatbot with voice, RAG (docs-grounded) answers, and human handoff. One line to install.",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": "dist/index.esm.js",
7
7
  "types": "dist/index.d.ts",
@@ -25,7 +25,15 @@
25
25
  "sdk",
26
26
  "react",
27
27
  "chat-widget",
28
- "live-chat"
28
+ "live-chat",
29
+ "ai-support",
30
+ "embeddable-chat",
31
+ "react-chat-widget",
32
+ "support-widget",
33
+ "help-widget",
34
+ "rag-chatbot",
35
+ "voice-assistant",
36
+ "customer-service"
29
37
  ],
30
38
  "author": "Askly",
31
39
  "license": "MIT",
@@ -58,7 +66,6 @@
58
66
  "typescript": "^4.5.4"
59
67
  },
60
68
  "dependencies": {
61
- "lucide-react": "^0.544.0",
62
69
  "tslib": "^2.8.1"
63
70
  }
64
71
  }