@hivegpt/hiveai-angular 0.0.588 → 0.0.589

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 (65) hide show
  1. package/README.md +0 -26
  2. package/bundles/hivegpt-hiveai-angular.umd.js +535 -3549
  3. package/bundles/hivegpt-hiveai-angular.umd.js.map +1 -1
  4. package/bundles/hivegpt-hiveai-angular.umd.min.js +1 -1
  5. package/bundles/hivegpt-hiveai-angular.umd.min.js.map +1 -1
  6. package/esm2015/hivegpt-hiveai-angular.js +5 -8
  7. package/esm2015/lib/components/NotificationSocket.js +22 -29
  8. package/esm2015/lib/components/bot.service.js +12 -18
  9. package/esm2015/lib/components/chat-drawer/chat-drawer.component.js +214 -2429
  10. package/esm2015/lib/components/chatbot/chatbot.component.js +5 -9
  11. package/esm2015/lib/components/conversation.service.js +5 -13
  12. package/esm2015/lib/components/socket-service.service.js +11 -21
  13. package/esm2015/lib/components/translations/translation.service.js +36 -38
  14. package/esm2015/lib/components/voice-agent/components/voice-agent-modal/voice-agent-modal.component.js +17 -35
  15. package/esm2015/lib/components/voice-agent/services/audio-analyzer.service.js +5 -11
  16. package/esm2015/lib/components/voice-agent/services/voice-agent.service.js +142 -183
  17. package/esm2015/lib/components/voice-agent/voice-agent.module.js +2 -10
  18. package/esm2015/lib/components/voice-agent/voice-modal-tokens.js +1 -1
  19. package/esm2015/lib/models/chat.js +2 -0
  20. package/esm2015/lib/utils/utils.js +2 -4
  21. package/esm2015/public-api.js +3 -2
  22. package/fesm2015/hivegpt-hiveai-angular.js +462 -3343
  23. package/fesm2015/hivegpt-hiveai-angular.js.map +1 -1
  24. package/hivegpt-hiveai-angular.d.ts +4 -7
  25. package/hivegpt-hiveai-angular.d.ts.map +1 -1
  26. package/hivegpt-hiveai-angular.metadata.json +1 -1
  27. package/lib/components/NotificationSocket.d.ts +3 -1
  28. package/lib/components/NotificationSocket.d.ts.map +1 -1
  29. package/lib/components/bot.service.d.ts +2 -1
  30. package/lib/components/bot.service.d.ts.map +1 -1
  31. package/lib/components/chat-drawer/chat-drawer.component.d.ts +52 -285
  32. package/lib/components/chat-drawer/chat-drawer.component.d.ts.map +1 -1
  33. package/lib/components/chatbot/chatbot.component.d.ts +1 -8
  34. package/lib/components/chatbot/chatbot.component.d.ts.map +1 -1
  35. package/lib/components/conversation.service.d.ts +2 -8
  36. package/lib/components/conversation.service.d.ts.map +1 -1
  37. package/lib/components/socket-service.service.d.ts +4 -3
  38. package/lib/components/socket-service.service.d.ts.map +1 -1
  39. package/lib/components/translations/translation.service.d.ts.map +1 -1
  40. package/lib/components/voice-agent/components/voice-agent-modal/voice-agent-modal.component.d.ts +4 -10
  41. package/lib/components/voice-agent/components/voice-agent-modal/voice-agent-modal.component.d.ts.map +1 -1
  42. package/lib/components/voice-agent/services/audio-analyzer.service.d.ts +0 -5
  43. package/lib/components/voice-agent/services/audio-analyzer.service.d.ts.map +1 -1
  44. package/lib/components/voice-agent/services/voice-agent.service.d.ts +9 -32
  45. package/lib/components/voice-agent/services/voice-agent.service.d.ts.map +1 -1
  46. package/lib/components/voice-agent/voice-agent.module.d.ts +0 -4
  47. package/lib/components/voice-agent/voice-agent.module.d.ts.map +1 -1
  48. package/lib/components/voice-agent/voice-modal-tokens.d.ts +0 -4
  49. package/lib/components/voice-agent/voice-modal-tokens.d.ts.map +1 -1
  50. package/lib/models/chat.d.ts +134 -0
  51. package/lib/models/chat.d.ts.map +1 -0
  52. package/lib/utils/utils.d.ts +1 -1
  53. package/lib/utils/utils.d.ts.map +1 -1
  54. package/package.json +2 -4
  55. package/public-api.d.ts +2 -1
  56. package/public-api.d.ts.map +1 -1
  57. package/esm2015/lib/components/voice-agent/services/daily-voice-client.service.js +0 -312
  58. package/esm2015/lib/components/voice-agent/services/websocket-voice-client.service.js +0 -95
  59. package/esm2015/lib/services/platform-token-refresh.service.js +0 -173
  60. package/lib/components/voice-agent/services/daily-voice-client.service.d.ts +0 -65
  61. package/lib/components/voice-agent/services/daily-voice-client.service.d.ts.map +0 -1
  62. package/lib/components/voice-agent/services/websocket-voice-client.service.d.ts +0 -49
  63. package/lib/components/voice-agent/services/websocket-voice-client.service.d.ts.map +0 -1
  64. package/lib/services/platform-token-refresh.service.d.ts +0 -59
  65. package/lib/services/platform-token-refresh.service.d.ts.map +0 -1
package/README.md CHANGED
@@ -14,32 +14,6 @@ Install peer dependencies if not already present:
14
14
  npm install @angular/animations @angular/cdk @angular/common @angular/compiler @angular/core @angular/forms @angular/material @angular/platform-browser ngx-quill ngx-socket-io @pipecat-ai/client-js @pipecat-ai/websocket-transport
15
15
  ```
16
16
 
17
- ### Socket.IO v2 required (real-time chat)
18
-
19
- If your backend uses **Socket.IO v2**, you must use a v2 client. If you see:
20
-
21
- `Socket connection error: It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client`
22
-
23
- add this to **your application's** `package.json` (the app that uses this library), then run `npm install`:
24
-
25
- ```json
26
- "overrides": {
27
- "socket.io-client": "2.5.0",
28
- "socket.io": "2.5.1"
29
- }
30
- ```
31
-
32
- If using Yarn, add instead:
33
-
34
- ```json
35
- "resolutions": {
36
- "socket.io-client": "2.5.0",
37
- "socket.io": "2.5.1"
38
- }
39
- ```
40
-
41
- Then delete `node_modules` and the lockfile and reinstall.
42
-
43
17
  ## Usage
44
18
 
45
19
  ### 1. Import the module