@rstreamlabs/react 1.2.0 → 1.4.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/dist/index.d.mts +21 -8
- package/dist/index.d.ts +21 -8
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -59,24 +59,37 @@ declare function useRstream(options?: UseRstreamOptions): {
|
|
|
59
59
|
} | null;
|
|
60
60
|
tunnels: {
|
|
61
61
|
status: "online" | "offline";
|
|
62
|
-
id: string;
|
|
63
62
|
client_id: string;
|
|
64
63
|
user_id: string;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
tls_mode: string;
|
|
68
|
-
mtls: boolean;
|
|
69
|
-
token_auth: boolean;
|
|
70
|
-
path?: string | undefined;
|
|
64
|
+
id: string;
|
|
65
|
+
type?: "bytestream" | "datagram" | undefined;
|
|
71
66
|
name?: string | undefined;
|
|
67
|
+
creation_date?: Date | undefined;
|
|
68
|
+
publish?: boolean | undefined;
|
|
69
|
+
protocol?: "tls" | "dtls" | "quic" | "http" | undefined;
|
|
72
70
|
labels?: Record<string, string | undefined> | undefined;
|
|
71
|
+
geo_ip?: string[] | undefined;
|
|
72
|
+
trusted_ips?: string[] | undefined;
|
|
73
73
|
host?: string | undefined;
|
|
74
|
+
tls_mode?: "passthrough" | "terminated" | undefined;
|
|
75
|
+
tls_alpns?: string[] | undefined;
|
|
74
76
|
tls_min_version?: string | undefined;
|
|
77
|
+
tls_ciphers?: string[] | undefined;
|
|
78
|
+
mtls?: boolean | undefined;
|
|
79
|
+
mtls_ca_cert_pem?: string | undefined;
|
|
80
|
+
http_version?: "http/1.1" | "h2c" | "h3" | undefined;
|
|
81
|
+
http_use_tls?: boolean | undefined;
|
|
82
|
+
token_auth?: boolean | undefined;
|
|
83
|
+
sso?: boolean | undefined;
|
|
84
|
+
sso_providers?: string[] | undefined;
|
|
85
|
+
email_whitelist?: string[] | undefined;
|
|
86
|
+
email_blacklist?: string[] | undefined;
|
|
87
|
+
challenge?: boolean | undefined;
|
|
75
88
|
}[];
|
|
76
89
|
clients: {
|
|
77
90
|
status: "online" | "offline";
|
|
78
|
-
id: string;
|
|
79
91
|
user_id: string;
|
|
92
|
+
id: string;
|
|
80
93
|
labels?: Record<string, string | undefined> | undefined;
|
|
81
94
|
details?: {
|
|
82
95
|
agent?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -59,24 +59,37 @@ declare function useRstream(options?: UseRstreamOptions): {
|
|
|
59
59
|
} | null;
|
|
60
60
|
tunnels: {
|
|
61
61
|
status: "online" | "offline";
|
|
62
|
-
id: string;
|
|
63
62
|
client_id: string;
|
|
64
63
|
user_id: string;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
tls_mode: string;
|
|
68
|
-
mtls: boolean;
|
|
69
|
-
token_auth: boolean;
|
|
70
|
-
path?: string | undefined;
|
|
64
|
+
id: string;
|
|
65
|
+
type?: "bytestream" | "datagram" | undefined;
|
|
71
66
|
name?: string | undefined;
|
|
67
|
+
creation_date?: Date | undefined;
|
|
68
|
+
publish?: boolean | undefined;
|
|
69
|
+
protocol?: "tls" | "dtls" | "quic" | "http" | undefined;
|
|
72
70
|
labels?: Record<string, string | undefined> | undefined;
|
|
71
|
+
geo_ip?: string[] | undefined;
|
|
72
|
+
trusted_ips?: string[] | undefined;
|
|
73
73
|
host?: string | undefined;
|
|
74
|
+
tls_mode?: "passthrough" | "terminated" | undefined;
|
|
75
|
+
tls_alpns?: string[] | undefined;
|
|
74
76
|
tls_min_version?: string | undefined;
|
|
77
|
+
tls_ciphers?: string[] | undefined;
|
|
78
|
+
mtls?: boolean | undefined;
|
|
79
|
+
mtls_ca_cert_pem?: string | undefined;
|
|
80
|
+
http_version?: "http/1.1" | "h2c" | "h3" | undefined;
|
|
81
|
+
http_use_tls?: boolean | undefined;
|
|
82
|
+
token_auth?: boolean | undefined;
|
|
83
|
+
sso?: boolean | undefined;
|
|
84
|
+
sso_providers?: string[] | undefined;
|
|
85
|
+
email_whitelist?: string[] | undefined;
|
|
86
|
+
email_blacklist?: string[] | undefined;
|
|
87
|
+
challenge?: boolean | undefined;
|
|
75
88
|
}[];
|
|
76
89
|
clients: {
|
|
77
90
|
status: "online" | "offline";
|
|
78
|
-
id: string;
|
|
79
91
|
user_id: string;
|
|
92
|
+
id: string;
|
|
80
93
|
labels?: Record<string, string | undefined> | undefined;
|
|
81
94
|
details?: {
|
|
82
95
|
agent?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rstreamlabs/react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "React hooks and components for building rstream-enabled UIs.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -18,24 +18,24 @@
|
|
|
18
18
|
"type-check": "tsc --noEmit"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@turbo/gen": "^2.5.
|
|
22
|
-
"@types/node": "^
|
|
23
|
-
"@types/react-dom": "19.1.
|
|
24
|
-
"@types/react": "19.1.
|
|
21
|
+
"@turbo/gen": "^2.5.8",
|
|
22
|
+
"@types/node": "^24.6.0",
|
|
23
|
+
"@types/react-dom": "19.1.9",
|
|
24
|
+
"@types/react": "19.1.16",
|
|
25
25
|
"eslint-config": "*",
|
|
26
26
|
"typescript-config": "*",
|
|
27
|
-
"typescript": "5.
|
|
27
|
+
"typescript": "5.9.2"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@rstreamlabs/rstream": "1.
|
|
31
|
-
"@rstreamlabs/webtty": "1.
|
|
30
|
+
"@rstreamlabs/rstream": "1.4.0",
|
|
31
|
+
"@rstreamlabs/webtty": "1.4.0",
|
|
32
32
|
"@xterm/addon-fit": "^0.10.0",
|
|
33
33
|
"@xterm/addon-unicode11": "^0.8.0",
|
|
34
34
|
"@xterm/addon-web-links": "^0.11.0",
|
|
35
35
|
"@xterm/addon-webgl": "^0.18.0",
|
|
36
36
|
"@xterm/xterm": "^5.5.0",
|
|
37
|
-
"react": "^19.1.
|
|
38
|
-
"react-dom": "^19.1.
|
|
37
|
+
"react": "^19.1.1",
|
|
38
|
+
"react-dom": "^19.1.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@types/react": "*",
|