@100mslive/roomkit-react 0.3.19-alpha.22 → 0.3.19-alpha.23
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-DVTXOJNB.css → HLSView-KHHD75BA.css} +3 -3
- package/dist/{HLSView-DVTXOJNB.css.map → HLSView-KHHD75BA.css.map} +1 -1
- package/dist/{HLSView-7NYI2NL7.js → HLSView-NHITRVLF.js} +2 -2
- package/dist/{chunk-GEQQ4R5S.js → chunk-SWW5QHGK.js} +8 -8
- package/dist/{chunk-GEQQ4R5S.js.map → chunk-SWW5QHGK.js.map} +2 -2
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +10 -10
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +12 -12
- package/dist/meta.esbuild.json +24 -24
- package/package.json +7 -7
- package/src/Prebuilt/AppStateContext.tsx +5 -5
- package/src/Prebuilt/components/InsetTile.tsx +1 -1
- /package/dist/{HLSView-7NYI2NL7.js.map → HLSView-NHITRVLF.js.map} +0 -0
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.19-alpha.
|
13
|
+
"version": "0.3.19-alpha.23",
|
14
14
|
"author": "100ms",
|
15
15
|
"license": "MIT",
|
16
16
|
"repository": {
|
@@ -75,12 +75,12 @@
|
|
75
75
|
"react": ">=17.0.2 <19.0.0"
|
76
76
|
},
|
77
77
|
"dependencies": {
|
78
|
-
"@100mslive/hls-player": "0.3.19-alpha.
|
78
|
+
"@100mslive/hls-player": "0.3.19-alpha.23",
|
79
79
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
80
|
-
"@100mslive/hms-virtual-background": "1.13.19-alpha.
|
81
|
-
"@100mslive/hms-whiteboard": "0.0.9-alpha.
|
82
|
-
"@100mslive/react-icons": "0.10.19-alpha.
|
83
|
-
"@100mslive/react-sdk": "0.10.19-alpha.
|
80
|
+
"@100mslive/hms-virtual-background": "1.13.19-alpha.23",
|
81
|
+
"@100mslive/hms-whiteboard": "0.0.9-alpha.23",
|
82
|
+
"@100mslive/react-icons": "0.10.19-alpha.23",
|
83
|
+
"@100mslive/react-sdk": "0.10.19-alpha.23",
|
84
84
|
"@100mslive/types-prebuilt": "0.12.12",
|
85
85
|
"@emoji-mart/data": "^1.0.6",
|
86
86
|
"@emoji-mart/react": "^1.0.1",
|
@@ -117,5 +117,5 @@
|
|
117
117
|
"uuid": "^8.3.2",
|
118
118
|
"worker-timers": "^7.0.40"
|
119
119
|
},
|
120
|
-
"gitHead": "
|
120
|
+
"gitHead": "6d6c172062d69b0bd667798f32ce3a726dd796c5"
|
121
121
|
}
|
@@ -68,12 +68,12 @@ export const useAppStateManager = () => {
|
|
68
68
|
[HMSRoomState.Disconnected, HMSRoomState.Connecting],
|
69
69
|
[HMSRoomState.Disconnected, HMSRoomState.Reconnecting],
|
70
70
|
() => {
|
71
|
-
setActiveState(
|
72
|
-
match({ isLeaveScreenEnabled, isPreviewScreenEnabled })
|
73
|
-
.with({ isLeaveScreenEnabled: true }, () => PrebuiltStates.LEAVE)
|
71
|
+
setActiveState(prevState => {
|
72
|
+
return match({ isLeaveScreenEnabled, isPreviewScreenEnabled, prevState })
|
73
|
+
.with({ isLeaveScreenEnabled: true, prevState: PrebuiltStates.MEETING }, () => PrebuiltStates.LEAVE)
|
74
74
|
.with({ isPreviewScreenEnabled: true }, () => PrebuiltStates.PREVIEW)
|
75
|
-
.otherwise(() => PrebuiltStates.MEETING)
|
76
|
-
);
|
75
|
+
.otherwise(() => PrebuiltStates.MEETING);
|
76
|
+
});
|
77
77
|
VBHandler.reset();
|
78
78
|
redirectToLeave(1000); // to clear toasts after 1 second
|
79
79
|
},
|
File without changes
|