ss-chatbot-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.
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "ss-chatbot-widget",
3
+ "version": "0.0.1",
4
+ "description": "Chatbot widget for customer support",
5
+ "main": "./dist/x-bot.js",
6
+ "files": ["dist"],
7
+ "scripts": {
8
+ "build": "vite build",
9
+ "prepublishOnly": "npm run build"
10
+ },
11
+ "keywords": [],
12
+ "author": "SS SRL",
13
+ "license": "ISC",
14
+ "type": "commonjs",
15
+ "devDependencies": {
16
+ "@types/react-dom": "^19.2.3",
17
+ "@vitejs/plugin-react": "^5.1.2",
18
+ "typescript": "^5.9.3",
19
+ "vite": "^7.2.7"
20
+ },
21
+ "dependencies": {
22
+ "@ag-ui/client": "^0.0.43",
23
+ "@ag-ui/core": "^0.0.43",
24
+ "@emotion/cache": "^11.14.0",
25
+ "@emotion/react": "^11.14.0",
26
+ "@emotion/styled": "^11.14.1",
27
+ "@microsoft/signalr": "^10.0.0",
28
+ "@mui/icons-material": "^7.3.6",
29
+ "@mui/material": "^7.3.6",
30
+ "bson": "^7.0.0",
31
+ "react": "^19.2.3",
32
+ "react-dom": "^19.2.3",
33
+ "react-markdown": "^10.1.0",
34
+ "zustand": "^5.0.10"
35
+ }
36
+ }
package/readme.md ADDED
@@ -0,0 +1,11 @@
1
+ <script>
2
+ window.ChatBotConfig = {
3
+ clientId: "abc123",
4
+ apiBaseUrl: "https://api.firma.ro",
5
+ };
6
+ </script>
7
+ <script src="https://cdn.firma.ro/chat-bot-widget.js" async></script>
8
+
9
+ npm run build
10
+ npm pack --dry-run
11
+ npm publish --access public