bridgeapp-ai-chat-widget 0.0.13 → 0.1.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.
@@ -1,14 +1,15 @@
1
+ import type { CustomerInteractionSession } from "./types";
1
2
  export type WidgetConfig = {
2
3
  mountElementId: string;
3
- widgetSessionToken: string;
4
4
  agentId: string;
5
- chatId: string;
5
+ customerInteractionSession: CustomerInteractionSession;
6
6
  assetsUrl: string;
7
- debug?: boolean;
8
- AIAvatar: boolean;
9
7
  wsUrl: string;
10
8
  apiUrl: string;
9
+ AIAvatar: boolean;
10
+ debug?: boolean;
11
11
  background: boolean;
12
+ voiceEnabled: boolean;
12
13
  };
13
14
  export declare class ChatWidgetInstance {
14
15
  constructor(config: WidgetConfig);
@@ -0,0 +1,5 @@
1
+ export type CustomerInteractionSession = {
2
+ accessToken: string;
3
+ chatId: string;
4
+ expiresAt: string;
5
+ };
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.13",
4
+ "version": "0.1.0",
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",
@@ -35,8 +35,8 @@
35
35
  "build-lib": "vite build --config vite.config.lib.ts && tsc -p tsconfig.build.json",
36
36
  "preview": "vite preview",
37
37
  "prepublishOnly": "npm run build-lib",
38
- "clean-dev-bucket": "aws s3 rm s3://bridgeapp-ai-chat-widget-dev --recursive",
39
- "upload-dev-bucket": "aws s3 cp dist s3://bridgeapp-ai-chat-widget-dev --recursive",
38
+ "clean-dev-bucket": "aws s3 rm s3://bridgeapp-ai-chat-widget-dev.com --recursive",
39
+ "upload-dev-bucket": "aws s3 cp dist s3://bridgeapp-ai-chat-widget-dev.com --recursive",
40
40
  "clean-stage-bucket": "aws s3 rm s3://bridge-ai-assistant --recursive",
41
41
  "upload-stage-bucket": "aws s3 cp dist s3://bridge-ai-assistant --recursive",
42
42
  "clean-assets-dev-bucket": "aws s3 rm s3://bridge-ai-chat-widget-assets --recursive",
@@ -48,19 +48,23 @@
48
48
  "@anycable/web": "^1.1.0",
49
49
  "@headlessui/react": "^2.2.9",
50
50
  "@tiptap/starter-kit": "^3.19.0",
51
+ "@types/lodash-es": "^4.17.12",
51
52
  "class-variance-authority": "^0.7.1",
52
53
  "clsx": "^2.1.1",
53
54
  "gsap": "^3.14.2",
54
55
  "howler": "^2.2.4",
55
56
  "lil-gui": "^0.21.0",
57
+ "lodash-es": "^4.17.23",
56
58
  "lucide-react": "^0.562.0",
57
59
  "react": ">=19",
58
60
  "react-dom": ">=19",
61
+ "react-router-dom": "^7.13.1",
59
62
  "react-use": "^17.6.0",
60
63
  "tailwind-merge": "^3.4.0",
61
64
  "three": "^0.182.0",
62
65
  "vite-plugin-lib-inject-css": "^2.2.2",
63
66
  "vite-plugin-svgr": "^4.5.0",
67
+ "zukeeper": "^1.0.2",
64
68
  "zustand": "^5.0.10"
65
69
  },
66
70
  "devDependencies": {