react-realtime-hooks 1.2.2 → 1.3.0
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 +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://github.com/volkov85/react-realtime-hooks/actions/workflows/pages.yml)
|
|
6
6
|
[](https://github.com/volkov85/react-realtime-hooks/blob/main/LICENSE)
|
|
7
7
|
[](https://www.typescriptlang.org/)
|
|
8
|
-
[](https://www.npmjs.com/package/react)
|
|
9
9
|
|
|
10
10
|
Production-ready React hooks for WebSocket and SSE with auto-reconnect, heartbeat, typed connection state, and browser network awareness including page visibility and connection gating.
|
|
11
11
|
|
|
@@ -62,7 +62,7 @@ npm install react-realtime-hooks
|
|
|
62
62
|
|
|
63
63
|
Peer dependency:
|
|
64
64
|
|
|
65
|
-
- `react
|
|
65
|
+
- `react@>=18.0.0 <20.0.0` (tested against React 18.3, 19.0, and 19.2)
|
|
66
66
|
|
|
67
67
|
## How It Feels
|
|
68
68
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-realtime-hooks",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "React hooks for WebSocket, EventSource, reconnect, heartbeat, and online status.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"prepublishOnly": "npm run lint && npm run typecheck && npm run test && npm run build && npm run publint"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"react": "
|
|
64
|
+
"react": ">=18.0.0 <20.0.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@changesets/cli": "2.30.0",
|