@hivegpt/hiveai-angular 0.0.432 → 0.0.434

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/README.md CHANGED
@@ -14,6 +14,32 @@ 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
+
17
43
  ## Usage
18
44
 
19
45
  ### 1. Import the module