@cloudflare/realtimekit 2.0.2-staging.3 → 2.0.2-staging.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/EncryptionManager.d.ts +5 -2
- package/dist/browser.js +11 -11
- package/dist/dependencies.txt +1 -1
- package/dist/index.cjs.js +8 -8
- package/dist/index.d.ts +5 -2
- package/dist/index.es.js +2483 -2448
- package/dist/index.es5.js +3143 -3129
- package/dist/index.rn.js +8 -8
- package/dist/ts3.4/dist/EncryptionManager.d.ts +5 -2
- package/dist/ts3.4/dist/index.d.ts +5 -2
- package/package.json +1 -1
|
@@ -1946,9 +1946,11 @@ declare enum TransportState {
|
|
|
1946
1946
|
type MediaConnectionState = {
|
|
1947
1947
|
recv: {
|
|
1948
1948
|
state: string;
|
|
1949
|
+
sfuSessionId?: string;
|
|
1949
1950
|
};
|
|
1950
1951
|
send: {
|
|
1951
1952
|
state: string;
|
|
1953
|
+
sfuSessionId?: string;
|
|
1952
1954
|
};
|
|
1953
1955
|
};
|
|
1954
1956
|
interface BasicParticipant {
|
|
@@ -2020,9 +2022,9 @@ declare enum TabChangeSource {
|
|
|
2020
2022
|
Meeting = 1
|
|
2021
2023
|
}
|
|
2022
2024
|
interface MediaConnectionUpdate {
|
|
2023
|
-
transport: '
|
|
2025
|
+
transport: 'send' | 'recv';
|
|
2024
2026
|
state: string;
|
|
2025
|
-
|
|
2027
|
+
sfuSessionId?: string;
|
|
2026
2028
|
}
|
|
2027
2029
|
type MetaEvents = {
|
|
2028
2030
|
['mediaConnectionUpdate']: (payload: MediaConnectionUpdate) => void;
|
|
@@ -4093,6 +4095,7 @@ type AllEvents = {
|
|
|
4093
4095
|
[key in SessionEvents]: (payload?: any) => void;
|
|
4094
4096
|
};
|
|
4095
4097
|
type TypedEvents = {
|
|
4098
|
+
[SessionEvents.TRANSPORT_STATE_UPDATE]: (payload: MediaConnectionUpdate) => void;
|
|
4096
4099
|
[SessionEvents.UPDATE_PERMISSIONS]: (p: PresetUpdates) => void;
|
|
4097
4100
|
[SessionEvents.MAX_SPATIAL_LAYER_CHANGE]: (p: {
|
|
4098
4101
|
peerId: string;
|
|
@@ -1983,9 +1983,11 @@ declare enum TransportState {
|
|
|
1983
1983
|
type MediaConnectionState = {
|
|
1984
1984
|
recv: {
|
|
1985
1985
|
state: string;
|
|
1986
|
+
sfuSessionId?: string;
|
|
1986
1987
|
};
|
|
1987
1988
|
send: {
|
|
1988
1989
|
state: string;
|
|
1990
|
+
sfuSessionId?: string;
|
|
1989
1991
|
};
|
|
1990
1992
|
};
|
|
1991
1993
|
interface BasicParticipant {
|
|
@@ -2057,9 +2059,9 @@ declare enum TabChangeSource {
|
|
|
2057
2059
|
Meeting = 1
|
|
2058
2060
|
}
|
|
2059
2061
|
interface MediaConnectionUpdate {
|
|
2060
|
-
transport: '
|
|
2062
|
+
transport: 'send' | 'recv';
|
|
2061
2063
|
state: string;
|
|
2062
|
-
|
|
2064
|
+
sfuSessionId?: string;
|
|
2063
2065
|
}
|
|
2064
2066
|
type MetaEvents = {
|
|
2065
2067
|
['mediaConnectionUpdate']: (payload: MediaConnectionUpdate) => void;
|
|
@@ -4024,6 +4026,7 @@ type AllEvents = {
|
|
|
4024
4026
|
[key in SessionEvents]: (payload?: any) => void;
|
|
4025
4027
|
};
|
|
4026
4028
|
type TypedEvents = {
|
|
4029
|
+
[SessionEvents.TRANSPORT_STATE_UPDATE]: (payload: MediaConnectionUpdate) => void;
|
|
4027
4030
|
[SessionEvents.UPDATE_PERMISSIONS]: (p: PresetUpdates) => void;
|
|
4028
4031
|
[SessionEvents.MAX_SPATIAL_LAYER_CHANGE]: (p: {
|
|
4029
4032
|
peerId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudflare/realtimekit",
|
|
3
|
-
"version": "2.0.2-staging.
|
|
3
|
+
"version": "2.0.2-staging.5",
|
|
4
4
|
"description": "A real-time video and audio SDK for building custom, collaborative communication experiences.",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.es.js",
|