@rstreamlabs/react 2.1.1 → 2.1.2

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 +2 -2
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # `@rstreamlabs/react`
2
2
 
3
- React hooks, providers, and terminal components for rstream-enabled UIs.
3
+ rstream connects services and devices through outbound tunnels and exposes their live state through engine APIs. This package brings that state and remote terminal access into a React application through hooks, providers and components.
4
4
 
5
5
  Use this package in browser applications and dashboards that need live tunnel
6
6
  state or embedded WebTTY sessions. It builds on
@@ -14,7 +14,7 @@ protocol.
14
14
  npm install @rstreamlabs/react
15
15
  ```
16
16
 
17
- The package has a peer dependency on React 18 or 19.
17
+ The package requires React 19.2.8 or newer within React 19. It uses the application's React instance; React 18, 19.0 and 19.1 are not supported.
18
18
 
19
19
  ## Exports
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rstreamlabs/react",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "React hooks and components for building rstream-enabled UIs.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -46,30 +46,30 @@
46
46
  "test": "node --test test/*.test.cjs"
47
47
  },
48
48
  "devDependencies": {
49
- "@turbo/gen": "^2.10.11",
50
- "@types/node": "^26.2.0",
51
- "@types/react": "19.2.18",
52
- "@types/react-dom": "19.2.4",
49
+ "@turbo/gen": "^2.11.11",
50
+ "@types/node": "^26.6.6",
51
+ "@types/react": "19.3.0",
52
+ "@types/react-dom": "19.3.0",
53
53
  "eslint-config": "*",
54
54
  "tsup": "^8.5.1",
55
55
  "typescript": "6.0.3",
56
- "typescript-config": "*"
56
+ "typescript-config": "*",
57
+ "react": "^19.3.1",
58
+ "react-dom": "^19.3.1"
57
59
  },
58
60
  "dependencies": {
59
- "@rstreamlabs/rstream": "3.11.1",
60
- "@rstreamlabs/tunnels": "4.0.3",
61
- "@rstreamlabs/webtty": "1.12.1",
61
+ "@rstreamlabs/rstream": "3.12.0",
62
+ "@rstreamlabs/tunnels": "4.1.0",
63
+ "@rstreamlabs/webtty": "1.12.2",
62
64
  "@xterm/addon-fit": "^0.11.0",
63
65
  "@xterm/addon-unicode11": "^0.9.0",
64
66
  "@xterm/addon-web-links": "^0.12.0",
65
67
  "@xterm/addon-webgl": "^0.19.0",
66
- "@xterm/xterm": "^6.0.0",
67
- "react": "^18.0 || ^19.0",
68
- "react-dom": "^19.2.8"
68
+ "@xterm/xterm": "^6.0.0"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "@types/react": "*",
72
- "react": "^18.0 || ^19.0"
72
+ "react": "^19.2.8"
73
73
  },
74
74
  "peerDependenciesMeta": {
75
75
  "@types/react": {