@100mslive/roomkit-react 0.3.18-alpha.0 → 0.3.18-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-5HBDZGK5.css → HLSView-PDIKZHHT.css} +3 -3
- package/dist/{HLSView-5HBDZGK5.css.map → HLSView-PDIKZHHT.css.map} +1 -1
- package/dist/{HLSView-U75MMQRG.js → HLSView-ZNO3JMRM.js} +2 -2
- package/dist/{chunk-QXCR7BIF.js → chunk-JNJ2XTDI.js} +18 -10
- package/dist/chunk-JNJ2XTDI.js.map +7 -0
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +20 -12
- 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 +14 -14
- package/dist/meta.esbuild.json +24 -24
- package/package.json +7 -7
- package/src/Prebuilt/components/AppData/AppData.tsx +14 -5
- package/dist/chunk-QXCR7BIF.js.map +0 -7
- /package/dist/{HLSView-U75MMQRG.js.map → HLSView-ZNO3JMRM.js.map} +0 -0
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.18-alpha.
|
13
|
+
"version": "0.3.18-alpha.1",
|
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.18-alpha.
|
78
|
+
"@100mslive/hls-player": "0.3.18-alpha.1",
|
79
79
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
80
|
-
"@100mslive/hms-virtual-background": "1.13.18-alpha.
|
81
|
-
"@100mslive/hms-whiteboard": "0.0.8-alpha.
|
82
|
-
"@100mslive/react-icons": "0.10.18-alpha.
|
83
|
-
"@100mslive/react-sdk": "0.10.18-alpha.
|
80
|
+
"@100mslive/hms-virtual-background": "1.13.18-alpha.1",
|
81
|
+
"@100mslive/hms-whiteboard": "0.0.8-alpha.1",
|
82
|
+
"@100mslive/react-icons": "0.10.18-alpha.1",
|
83
|
+
"@100mslive/react-sdk": "0.10.18-alpha.1",
|
84
84
|
"@100mslive/types-prebuilt": "0.12.11",
|
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": "76d38031cd8ce8784492dd9e44ef6d1856348e5b"
|
121
121
|
}
|
@@ -121,12 +121,21 @@ export const AppData = React.memo(() => {
|
|
121
121
|
...uiSettings,
|
122
122
|
[UI_SETTINGS.isAudioOnly]: undefined,
|
123
123
|
[UI_SETTINGS.uiViewMode]: uiSettings.uiViewMode || UI_MODE_GRID,
|
124
|
-
[UI_SETTINGS.maxTileCount]: isMobile
|
125
|
-
? DEFAULT_TILES_IN_VIEW.MWEB
|
126
|
-
: Number(elements?.video_tile_layout?.grid?.tiles_in_view) || DEFAULT_TILES_IN_VIEW.DESKTOP,
|
127
124
|
};
|
128
|
-
hmsActions.setAppData(APP_DATA.uiSettings, updatedSettings,
|
129
|
-
}, [
|
125
|
+
hmsActions.setAppData(APP_DATA.uiSettings, updatedSettings, true);
|
126
|
+
}, [hmsActions, preferences]);
|
127
|
+
|
128
|
+
useEffect(() => {
|
129
|
+
hmsActions.setAppData(
|
130
|
+
APP_DATA.uiSettings,
|
131
|
+
{
|
132
|
+
[UI_SETTINGS.maxTileCount]: isMobile
|
133
|
+
? DEFAULT_TILES_IN_VIEW.MWEB
|
134
|
+
: Number(elements?.video_tile_layout?.grid?.tiles_in_view) || DEFAULT_TILES_IN_VIEW.DESKTOP,
|
135
|
+
},
|
136
|
+
true,
|
137
|
+
);
|
138
|
+
}, [hmsActions, isMobile, elements?.video_tile_layout?.grid?.tiles_in_view]);
|
130
139
|
|
131
140
|
useEffect(() => {
|
132
141
|
if (!preferences.subscribedNotifications) {
|