@rstreamlabs/react 1.7.4 → 1.7.5
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/dist/hooks/index.d.mts
CHANGED
|
@@ -36,10 +36,9 @@ declare function useRstream(options?: UseRstreamOptions): {
|
|
|
36
36
|
type: "warning" | "danger";
|
|
37
37
|
} | null;
|
|
38
38
|
tunnels: {
|
|
39
|
-
status: "online" | "offline";
|
|
40
39
|
client_id: string;
|
|
40
|
+
status: "online" | "offline";
|
|
41
41
|
id: string;
|
|
42
|
-
type?: "bytestream" | "datagram" | undefined;
|
|
43
42
|
user_id?: string | undefined;
|
|
44
43
|
workspace_id?: string | undefined;
|
|
45
44
|
project_id?: string | undefined;
|
|
@@ -49,6 +48,7 @@ declare function useRstream(options?: UseRstreamOptions): {
|
|
|
49
48
|
region?: string | undefined;
|
|
50
49
|
creation_date?: string | Date | undefined;
|
|
51
50
|
name?: string | undefined;
|
|
51
|
+
type?: "bytestream" | "datagram" | undefined;
|
|
52
52
|
publish?: boolean | undefined;
|
|
53
53
|
protocol?: "tls" | "dtls" | "quic" | "http" | undefined;
|
|
54
54
|
labels?: Record<string, string> | undefined;
|
|
@@ -68,8 +68,8 @@ declare function useRstream(options?: UseRstreamOptions): {
|
|
|
68
68
|
challenge_mode?: boolean | undefined;
|
|
69
69
|
}[];
|
|
70
70
|
clients: {
|
|
71
|
-
status: "online" | "offline";
|
|
72
71
|
id: string;
|
|
72
|
+
status: "online" | "offline";
|
|
73
73
|
user_id?: string | undefined;
|
|
74
74
|
workspace_id?: string | undefined;
|
|
75
75
|
project_id?: string | undefined;
|
|
@@ -77,13 +77,13 @@ declare function useRstream(options?: UseRstreamOptions): {
|
|
|
77
77
|
plan?: string | undefined;
|
|
78
78
|
provider?: string | undefined;
|
|
79
79
|
region?: string | undefined;
|
|
80
|
-
labels?: Record<string, string> | undefined;
|
|
81
80
|
agent?: string | undefined;
|
|
82
81
|
channel?: string | undefined;
|
|
83
82
|
version?: string | undefined;
|
|
84
83
|
os?: string | undefined;
|
|
85
84
|
arch?: string | undefined;
|
|
86
85
|
protocol_version?: string | undefined;
|
|
86
|
+
labels?: Record<string, string> | undefined;
|
|
87
87
|
}[];
|
|
88
88
|
};
|
|
89
89
|
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -36,10 +36,9 @@ declare function useRstream(options?: UseRstreamOptions): {
|
|
|
36
36
|
type: "warning" | "danger";
|
|
37
37
|
} | null;
|
|
38
38
|
tunnels: {
|
|
39
|
-
status: "online" | "offline";
|
|
40
39
|
client_id: string;
|
|
40
|
+
status: "online" | "offline";
|
|
41
41
|
id: string;
|
|
42
|
-
type?: "bytestream" | "datagram" | undefined;
|
|
43
42
|
user_id?: string | undefined;
|
|
44
43
|
workspace_id?: string | undefined;
|
|
45
44
|
project_id?: string | undefined;
|
|
@@ -49,6 +48,7 @@ declare function useRstream(options?: UseRstreamOptions): {
|
|
|
49
48
|
region?: string | undefined;
|
|
50
49
|
creation_date?: string | Date | undefined;
|
|
51
50
|
name?: string | undefined;
|
|
51
|
+
type?: "bytestream" | "datagram" | undefined;
|
|
52
52
|
publish?: boolean | undefined;
|
|
53
53
|
protocol?: "tls" | "dtls" | "quic" | "http" | undefined;
|
|
54
54
|
labels?: Record<string, string> | undefined;
|
|
@@ -68,8 +68,8 @@ declare function useRstream(options?: UseRstreamOptions): {
|
|
|
68
68
|
challenge_mode?: boolean | undefined;
|
|
69
69
|
}[];
|
|
70
70
|
clients: {
|
|
71
|
-
status: "online" | "offline";
|
|
72
71
|
id: string;
|
|
72
|
+
status: "online" | "offline";
|
|
73
73
|
user_id?: string | undefined;
|
|
74
74
|
workspace_id?: string | undefined;
|
|
75
75
|
project_id?: string | undefined;
|
|
@@ -77,13 +77,13 @@ declare function useRstream(options?: UseRstreamOptions): {
|
|
|
77
77
|
plan?: string | undefined;
|
|
78
78
|
provider?: string | undefined;
|
|
79
79
|
region?: string | undefined;
|
|
80
|
-
labels?: Record<string, string> | undefined;
|
|
81
80
|
agent?: string | undefined;
|
|
82
81
|
channel?: string | undefined;
|
|
83
82
|
version?: string | undefined;
|
|
84
83
|
os?: string | undefined;
|
|
85
84
|
arch?: string | undefined;
|
|
86
85
|
protocol_version?: string | undefined;
|
|
86
|
+
labels?: Record<string, string> | undefined;
|
|
87
87
|
}[];
|
|
88
88
|
};
|
|
89
89
|
|
|
@@ -11,10 +11,9 @@ declare function useRstreamContext(): {
|
|
|
11
11
|
type: "warning" | "danger";
|
|
12
12
|
} | null;
|
|
13
13
|
tunnels: {
|
|
14
|
-
status: "online" | "offline";
|
|
15
14
|
client_id: string;
|
|
15
|
+
status: "online" | "offline";
|
|
16
16
|
id: string;
|
|
17
|
-
type?: "bytestream" | "datagram" | undefined;
|
|
18
17
|
user_id?: string | undefined;
|
|
19
18
|
workspace_id?: string | undefined;
|
|
20
19
|
project_id?: string | undefined;
|
|
@@ -24,6 +23,7 @@ declare function useRstreamContext(): {
|
|
|
24
23
|
region?: string | undefined;
|
|
25
24
|
creation_date?: string | Date | undefined;
|
|
26
25
|
name?: string | undefined;
|
|
26
|
+
type?: "bytestream" | "datagram" | undefined;
|
|
27
27
|
publish?: boolean | undefined;
|
|
28
28
|
protocol?: "tls" | "dtls" | "quic" | "http" | undefined;
|
|
29
29
|
labels?: Record<string, string> | undefined;
|
|
@@ -43,8 +43,8 @@ declare function useRstreamContext(): {
|
|
|
43
43
|
challenge_mode?: boolean | undefined;
|
|
44
44
|
}[];
|
|
45
45
|
clients: {
|
|
46
|
-
status: "online" | "offline";
|
|
47
46
|
id: string;
|
|
47
|
+
status: "online" | "offline";
|
|
48
48
|
user_id?: string | undefined;
|
|
49
49
|
workspace_id?: string | undefined;
|
|
50
50
|
project_id?: string | undefined;
|
|
@@ -52,13 +52,13 @@ declare function useRstreamContext(): {
|
|
|
52
52
|
plan?: string | undefined;
|
|
53
53
|
provider?: string | undefined;
|
|
54
54
|
region?: string | undefined;
|
|
55
|
-
labels?: Record<string, string> | undefined;
|
|
56
55
|
agent?: string | undefined;
|
|
57
56
|
channel?: string | undefined;
|
|
58
57
|
version?: string | undefined;
|
|
59
58
|
os?: string | undefined;
|
|
60
59
|
arch?: string | undefined;
|
|
61
60
|
protocol_version?: string | undefined;
|
|
61
|
+
labels?: Record<string, string> | undefined;
|
|
62
62
|
}[];
|
|
63
63
|
};
|
|
64
64
|
interface RstreamProviderProps {
|
|
@@ -11,10 +11,9 @@ declare function useRstreamContext(): {
|
|
|
11
11
|
type: "warning" | "danger";
|
|
12
12
|
} | null;
|
|
13
13
|
tunnels: {
|
|
14
|
-
status: "online" | "offline";
|
|
15
14
|
client_id: string;
|
|
15
|
+
status: "online" | "offline";
|
|
16
16
|
id: string;
|
|
17
|
-
type?: "bytestream" | "datagram" | undefined;
|
|
18
17
|
user_id?: string | undefined;
|
|
19
18
|
workspace_id?: string | undefined;
|
|
20
19
|
project_id?: string | undefined;
|
|
@@ -24,6 +23,7 @@ declare function useRstreamContext(): {
|
|
|
24
23
|
region?: string | undefined;
|
|
25
24
|
creation_date?: string | Date | undefined;
|
|
26
25
|
name?: string | undefined;
|
|
26
|
+
type?: "bytestream" | "datagram" | undefined;
|
|
27
27
|
publish?: boolean | undefined;
|
|
28
28
|
protocol?: "tls" | "dtls" | "quic" | "http" | undefined;
|
|
29
29
|
labels?: Record<string, string> | undefined;
|
|
@@ -43,8 +43,8 @@ declare function useRstreamContext(): {
|
|
|
43
43
|
challenge_mode?: boolean | undefined;
|
|
44
44
|
}[];
|
|
45
45
|
clients: {
|
|
46
|
-
status: "online" | "offline";
|
|
47
46
|
id: string;
|
|
47
|
+
status: "online" | "offline";
|
|
48
48
|
user_id?: string | undefined;
|
|
49
49
|
workspace_id?: string | undefined;
|
|
50
50
|
project_id?: string | undefined;
|
|
@@ -52,13 +52,13 @@ declare function useRstreamContext(): {
|
|
|
52
52
|
plan?: string | undefined;
|
|
53
53
|
provider?: string | undefined;
|
|
54
54
|
region?: string | undefined;
|
|
55
|
-
labels?: Record<string, string> | undefined;
|
|
56
55
|
agent?: string | undefined;
|
|
57
56
|
channel?: string | undefined;
|
|
58
57
|
version?: string | undefined;
|
|
59
58
|
os?: string | undefined;
|
|
60
59
|
arch?: string | undefined;
|
|
61
60
|
protocol_version?: string | undefined;
|
|
61
|
+
labels?: Record<string, string> | undefined;
|
|
62
62
|
}[];
|
|
63
63
|
};
|
|
64
64
|
interface RstreamProviderProps {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rstreamlabs/react",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.5",
|
|
4
4
|
"description": "React hooks and components for building rstream-enabled UIs.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,25 +40,25 @@
|
|
|
40
40
|
"type-check": "tsc --noEmit"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@turbo/gen": "^2.
|
|
44
|
-
"@types/node": "^25.
|
|
43
|
+
"@turbo/gen": "^2.9.5",
|
|
44
|
+
"@types/node": "^25.5.2",
|
|
45
45
|
"@types/react-dom": "19.2.3",
|
|
46
|
-
"@types/react": "19.2.
|
|
46
|
+
"@types/react": "19.2.14",
|
|
47
47
|
"eslint-config": "*",
|
|
48
48
|
"tsup": "^8.5.1",
|
|
49
49
|
"typescript-config": "*",
|
|
50
50
|
"typescript": "5.9.3"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@rstreamlabs/rstream": "
|
|
54
|
-
"@rstreamlabs/webtty": "1.6.
|
|
53
|
+
"@rstreamlabs/rstream": "2.0.0",
|
|
54
|
+
"@rstreamlabs/webtty": "1.6.3",
|
|
55
55
|
"@xterm/addon-fit": "^0.11.0",
|
|
56
56
|
"@xterm/addon-unicode11": "^0.9.0",
|
|
57
57
|
"@xterm/addon-web-links": "^0.12.0",
|
|
58
58
|
"@xterm/addon-webgl": "^0.19.0",
|
|
59
59
|
"@xterm/xterm": "^6.0.0",
|
|
60
|
-
"react": "^19.2.
|
|
61
|
-
"react
|
|
60
|
+
"react-dom": "^19.2.5",
|
|
61
|
+
"react": "^19.2.5"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@types/react": "*",
|