bridgeapp-ai-chat-widget 0.0.1

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,11 @@
1
+ export type WidgetConfig = {
2
+ mountElementId: string;
3
+ serviceAccountApiKey: string;
4
+ customerId: string;
5
+ agentId: string;
6
+ assetsUrl: string;
7
+ };
8
+ export declare class ChatWidgetInstance {
9
+ constructor(config: WidgetConfig);
10
+ destroy(): void;
11
+ }
package/package.json ADDED
@@ -0,0 +1,77 @@
1
+ {
2
+ "name": "bridgeapp-ai-chat-widget",
3
+ "private": false,
4
+ "version": "0.0.1",
5
+ "description": "Embeddable chat widget for communication with Bridge AI agent",
6
+ "type": "module",
7
+ "main": "dist/bridge-ai-chat-widget.umd.js",
8
+ "module": "dist/bridge-ai-chat-widget.es.js",
9
+ "types": "dist/index.types.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.types.d.ts",
13
+ "import": "./dist/bridge-ai-chat-widget.es.js",
14
+ "require": "./dist/bridge-ai-chat-widget.umd.js"
15
+ }
16
+ },
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "sideEffects": [
21
+ "**/*.css"
22
+ ],
23
+ "peerDependencies": {
24
+ "react": ">=19",
25
+ "react-dom": ">=19"
26
+ },
27
+ "scripts": {
28
+ "dev": "vite",
29
+ "build": "vite build && tsc -p tsconfig.build.json",
30
+ "lint": "eslint .",
31
+ "preview": "vite preview",
32
+ "prepublishOnly": "npm run build"
33
+ },
34
+ "dependencies": {
35
+ "@anycable/web": "^1.1.0",
36
+ "@headlessui/react": "^2.2.9",
37
+ "class-variance-authority": "^0.7.1",
38
+ "clsx": "^2.1.1",
39
+ "gsap": "^3.14.2",
40
+ "howler": "^2.2.4",
41
+ "lil-gui": "^0.21.0",
42
+ "lucide-react": "^0.562.0",
43
+ "react": ">=19",
44
+ "react-dom": ">=19",
45
+ "react-use": "^17.6.0",
46
+ "tailwind-merge": "^3.4.0",
47
+ "three": "^0.182.0",
48
+ "vite-plugin-lib-inject-css": "^2.2.2",
49
+ "vite-plugin-svgr": "^4.5.0",
50
+ "zustand": "^5.0.10"
51
+ },
52
+ "devDependencies": {
53
+ "@eslint/js": "^9.39.1",
54
+ "@tailwindcss/postcss": "^4.1.18",
55
+ "@tailwindcss/vite": "^4.1.18",
56
+ "@types/howler": "^2.2.12",
57
+ "@types/node": "^24.10.4",
58
+ "@types/react": "^19.2.5",
59
+ "@types/react-dom": "^19.2.3",
60
+ "@types/three": "^0.182.0",
61
+ "@vitejs/plugin-react-swc": "^4.2.2",
62
+ "autoprefixer": "^10.4.24",
63
+ "eslint": "^9.39.1",
64
+ "eslint-plugin-react-hooks": "^7.0.1",
65
+ "eslint-plugin-react-refresh": "^0.4.24",
66
+ "globals": "^16.5.0",
67
+ "postcss-prefix-selector": "^2.1.1",
68
+ "prettier": "^3.7.4",
69
+ "prettier-plugin-tailwindcss": "^0.7.2",
70
+ "tailwindcss": "^4.1.18",
71
+ "tw-animate-css": "^1.4.0",
72
+ "typescript": "~5.9.3",
73
+ "typescript-eslint": "^8.46.4",
74
+ "vite": "^7.2.4",
75
+ "vite-plugin-static-copy": "^3.2.0"
76
+ }
77
+ }