thub-embed 9.1.2 → 9.1.4

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.
Files changed (43) hide show
  1. package/{.env.example → .env} +10 -9
  2. package/README.md +353 -342
  3. package/dist/components/Badge.d.ts.map +1 -1
  4. package/dist/components/Bot.d.ts +5 -1
  5. package/dist/components/Bot.d.ts.map +1 -1
  6. package/dist/components/bubbles/AgentReasoningBubble.d.ts +1 -1
  7. package/dist/components/bubbles/BotBubble.d.ts +1 -1
  8. package/dist/components/bubbles/GuestBubble.d.ts +1 -1
  9. package/dist/components/bubbles/LeadCaptureBubble.d.ts +1 -1
  10. package/dist/components/{SendButton.d.ts → buttons/CallButton.d.ts} +14 -12
  11. package/dist/components/buttons/CallButton.d.ts.map +1 -0
  12. package/dist/components/icons/CallIcon.d.ts +3 -0
  13. package/dist/components/icons/CallIcon.d.ts.map +1 -0
  14. package/dist/components/icons/IconPhoneCall.d.ts +3 -0
  15. package/dist/components/icons/IconPhoneCall.d.ts.map +1 -0
  16. package/dist/components/icons/IconPhoneOff.d.ts +3 -0
  17. package/dist/components/icons/IconPhoneOff.d.ts.map +1 -0
  18. package/dist/components/icons/index.d.ts +2 -0
  19. package/dist/components/icons/index.d.ts.map +1 -1
  20. package/dist/components/inputs/textInput/components/TextInput.d.ts +3 -0
  21. package/dist/components/inputs/textInput/components/TextInput.d.ts.map +1 -1
  22. package/dist/features/bubble/components/Bubble.d.ts.map +1 -1
  23. package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -1
  24. package/dist/features/bubble/types.d.ts +10 -0
  25. package/dist/features/bubble/types.d.ts.map +1 -1
  26. package/dist/features/full/components/Full.d.ts.map +1 -1
  27. package/dist/features/popup/components/DisclaimerPopup.d.ts +9 -0
  28. package/dist/features/popup/components/DisclaimerPopup.d.ts.map +1 -1
  29. package/dist/queries/sendMessageQuery.d.ts +10 -10
  30. package/dist/utils/index.d.ts +3 -3
  31. package/dist/web.d.ts +2 -2
  32. package/dist/web.js +1 -1
  33. package/dist/web.umd.js +1 -0
  34. package/dist/window.d.ts +1 -1
  35. package/package.json +2 -1
  36. package/public/index.html +4 -4
  37. package/server.js +394 -402
  38. package/dist/components/ImageUploadButton.d.ts +0 -11
  39. package/dist/components/ImageUploadButton.d.ts.map +0 -1
  40. package/dist/components/RecordAudioButton.d.ts +0 -11
  41. package/dist/components/RecordAudioButton.d.ts.map +0 -1
  42. package/dist/components/SendButton.d.ts.map +0 -1
  43. package/images/proxyserver.png +0 -0
@@ -3,14 +3,15 @@
3
3
  # ==============================================
4
4
 
5
5
  # API Host URL (required)
6
- # This should be the URL where your THub instance is running
7
- # Example: https://your-thub-instance.com
8
- API_HOST=
6
+ # This should be the URL where your Flowise instance is running
7
+ # Example: https://your-flowise-instance.com
8
+ PORT = 3000
9
+ API_HOST= http://localhost:3000
9
10
 
10
- # THub API Key (required)
11
- # Generate this from your THub instance settings page
11
+ # Flowise API Key (required)
12
+ # Generate this from your Flowise instance settings page
12
13
  # Example: OxxGE-h_LaH7ZYorStjTOik1XY999RxxoHpCSYl8BXxc
13
- FLOWISE_API_KEY=
14
+ FLOWISE_API_KEY= 4PLUHeMH7re93fG8CUpy4GSo8cVhEYCxelHN_S-bgaM
14
15
 
15
16
  # ==============================================
16
17
  # CHATFLOWS CONFIGURATION (required)
@@ -20,7 +21,7 @@ FLOWISE_API_KEY=
20
21
  #
21
22
  # Each entry consists of:
22
23
  # - identifier: Any name you choose (e.g., agent1, support, salesbot)
23
- # - chatflowId: The UUID of your THub chatflow
24
+ # - chatflowId: The UUID of your Flowise chatflow
24
25
  # - allowedDomains: Comma-separated list of domains where this chat can be embedded
25
26
  # Note: Wildcard domains (*) are not supported for security reasons
26
27
  #
@@ -30,5 +31,5 @@ FLOWISE_API_KEY=
30
31
  # salesbot=3db97c6-64c9-4411-bab4-7d620217160a,https://sales.example.com
31
32
 
32
33
  # Add your chatflows below:
33
- chatflow_1=
34
- chatflow_2=
34
+ chatflow_1= 1fff132c-21e4-412c-8893-20661ea786f9
35
+