@100mslive/roomkit-react 0.3.19-alpha.22 → 0.3.19-alpha.24
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-7NYI2NL7.js → HLSView-FU3ADR6F.js} +2 -2
- package/dist/{HLSView-DVTXOJNB.css → HLSView-MVEOXOMK.css} +3 -3
- package/dist/{HLSView-DVTXOJNB.css.map → HLSView-MVEOXOMK.css.map} +1 -1
- package/dist/{chunk-GEQQ4R5S.js → chunk-FMQ4DEWA.js} +11 -8
- package/dist/chunk-FMQ4DEWA.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +13 -10
- package/dist/index.cjs.js.map +4 -4
- 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 +8 -5
- package/src/Prebuilt/components/InsetTile.tsx +1 -1
- package/dist/chunk-GEQQ4R5S.js.map +0 -7
- /package/dist/{HLSView-7NYI2NL7.js.map → HLSView-FU3ADR6F.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.24",
|
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.24",
|
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.24",
|
81
|
+
"@100mslive/hms-whiteboard": "0.0.9-alpha.24",
|
82
|
+
"@100mslive/react-icons": "0.10.19-alpha.24",
|
83
|
+
"@100mslive/react-sdk": "0.10.19-alpha.24",
|
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": "9488737c5d5a46a839b8c19f221c8900304d570d"
|
121
121
|
}
|
@@ -68,12 +68,15 @@ export const useAppStateManager = () => {
|
|
68
68
|
[HMSRoomState.Disconnected, HMSRoomState.Connecting],
|
69
69
|
[HMSRoomState.Disconnected, HMSRoomState.Reconnecting],
|
70
70
|
() => {
|
71
|
-
setActiveState(
|
72
|
-
match({ isLeaveScreenEnabled, isPreviewScreenEnabled })
|
73
|
-
.
|
71
|
+
setActiveState(prevState => {
|
72
|
+
return match({ isLeaveScreenEnabled, isPreviewScreenEnabled, prevState })
|
73
|
+
.when(
|
74
|
+
({ isLeaveScreenEnabled, prevState }) => isLeaveScreenEnabled && prevState !== PrebuiltStates.LEAVE,
|
75
|
+
() => PrebuiltStates.LEAVE,
|
76
|
+
)
|
74
77
|
.with({ isPreviewScreenEnabled: true }, () => PrebuiltStates.PREVIEW)
|
75
|
-
.otherwise(() => PrebuiltStates.MEETING)
|
76
|
-
);
|
78
|
+
.otherwise(() => PrebuiltStates.MEETING);
|
79
|
+
});
|
77
80
|
VBHandler.reset();
|
78
81
|
redirectToLeave(1000); // to clear toasts after 1 second
|
79
82
|
},
|