@stonyx/sockets 0.1.1-alpha.21 → 0.1.1-alpha.22

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 (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -232,7 +232,7 @@ Configuration is read from `stonyx/config` under `sockets`:
232
232
  | `new SocketClient()` | Singleton constructor |
233
233
  | `async init()` | Discover handlers, connect, authenticate |
234
234
  | `send(payload)` | Send a message to the server |
235
- | `close()` | Close the connection |
235
+ | `close()` | Forcefully tear down the socket (remove listeners, terminate, null) |
236
236
  | `reconnect()` | Reconnect (max 5 retries) |
237
237
  | `reset()` | Close + clear all state (for testing) |
238
238
 
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "stonyx-async",
5
5
  "stonyx-module"
6
6
  ],
7
- "version": "0.1.1-alpha.21",
7
+ "version": "0.1.1-alpha.22",
8
8
  "description": "WebSocket server and client module for the Stonyx framework",
9
9
  "main": "dist/main.js",
10
10
  "types": "dist/main.d.ts",