bridgeapp-ai-chat-widget 0.0.7 → 0.0.9

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/README.md CHANGED
@@ -18,6 +18,11 @@ const widget = new ChatWidgetInstance({
18
18
  serviceAccountApiKey: "YOUR_SERVICE_ACCOUNT_API_KEY",
19
19
  customerId: "CUSTOMER_ID",
20
20
  agentId: "AGENT_ID",
21
+ assetsUrl: "ASSETS_URL";
22
+ wsUrl: 'wss://ws.brid93.dev/ws',
23
+ apiUrl: 'https://api.brid93.dev',
24
+ AIAvatar: true,
25
+ background: false
21
26
  });
22
27
 
23
28
  widget.addEventListener("avatarReady", () => {
@@ -5,10 +5,10 @@ export type WidgetConfig = {
5
5
  agentId: string;
6
6
  assetsUrl: string;
7
7
  debug?: boolean;
8
- AIAvatar?: boolean;
8
+ AIAvatar: boolean;
9
9
  wsUrl: string;
10
10
  apiUrl: string;
11
- background?: boolean;
11
+ background: boolean;
12
12
  };
13
13
  export declare class ChatWidgetInstance {
14
14
  constructor(config: WidgetConfig);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bridgeapp-ai-chat-widget",
3
3
  "private": false,
4
- "version": "0.0.7",
4
+ "version": "0.0.9",
5
5
  "description": "Embeddable chat widget for communication with Bridge AI agent",
6
6
  "type": "module",
7
7
  "main": "dist/bridge-ai-chat-widget.umd.js",