@sigx/lynx-websocket 0.4.1 → 0.4.3
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 +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -127,12 +127,12 @@ re-attaching to.
|
|
|
127
127
|
- **HTTP**: just call `fetch()` — it's a built-in Lynx global. No package
|
|
128
128
|
needed. See [upstream Lynx fetch docs](https://lynxjs.org/api/lynx-api/global/fetch.html)
|
|
129
129
|
for the Lynx subset (no CORS / redirect / keepalive / FormData / Blob).
|
|
130
|
-
- **Connectivity**: [`@sigx/lynx-network`](
|
|
130
|
+
- **Connectivity**: [`@sigx/lynx-network`](https://github.com/signalxjs/lynx/tree/main/packages/lynx-network) for online /
|
|
131
131
|
offline and connection-type state.
|
|
132
132
|
|
|
133
|
-
##
|
|
133
|
+
## Smoke test
|
|
134
134
|
|
|
135
|
-
Once wired in, point it at an echo service to
|
|
135
|
+
Once wired in, point it at an echo service to verify:
|
|
136
136
|
|
|
137
137
|
```ts
|
|
138
138
|
const ws = new WebSocket('wss://ws.postman-echo.com/raw');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sigx/lynx-websocket",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Browser-standard WebSocket client for sigx-lynx",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"signalx-module.json"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@sigx/lynx-core": "^0.4.
|
|
22
|
+
"@sigx/lynx-core": "^0.4.3"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
25
|
+
"@typescript/native-preview": "7.0.0-dev.20260521.1",
|
|
26
26
|
"typescript": "^6.0.3",
|
|
27
|
-
"vitest": "^4.1.
|
|
27
|
+
"vitest": "^4.1.7"
|
|
28
28
|
},
|
|
29
29
|
"author": "Andreas Ekdahl",
|
|
30
30
|
"license": "MIT",
|