@100mslive/roomkit-react 0.3.18-alpha.0 → 0.3.18

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.
@@ -2293,7 +2293,7 @@
2293
2293
  "format": "esm"
2294
2294
  },
2295
2295
  "src/Prebuilt/components/AppData/AppData.tsx": {
2296
- "bytes": 6712,
2296
+ "bytes": 6869,
2297
2297
  "imports": [
2298
2298
  {
2299
2299
  "path": "react",
@@ -5616,7 +5616,7 @@
5616
5616
  "format": "cjs"
5617
5617
  },
5618
5618
  "../hms-video-store/dist/index.js": {
5619
- "bytes": 363324,
5619
+ "bytes": 363316,
5620
5620
  "imports": [
5621
5621
  {
5622
5622
  "path": "../../node_modules/reselect/es/index.js",
@@ -11257,7 +11257,7 @@
11257
11257
  ],
11258
11258
  "format": "esm"
11259
11259
  },
11260
- "../../../../../../../tmp/tmp-2786-Q2PsykI6YvrI/19159ab3bdd3/tldraw.css": {
11260
+ "../../../../../../../tmp/tmp-2771-7fXOAc6cg6YK/1915ae8525b3/tldraw.css": {
11261
11261
  "bytes": 80111,
11262
11262
  "imports": [
11263
11263
  {
@@ -11307,7 +11307,7 @@
11307
11307
  }
11308
11308
  ]
11309
11309
  },
11310
- "../../../../../../../tmp/tmp-2786-Q2PsykI6YvrI/19159ab3b6f0/index.css": {
11310
+ "../../../../../../../tmp/tmp-2771-7fXOAc6cg6YK/1915ae8523a1/index.css": {
11311
11311
  "bytes": 597,
11312
11312
  "imports": [
11313
11313
  {
@@ -11316,7 +11316,7 @@
11316
11316
  "external": true
11317
11317
  },
11318
11318
  {
11319
- "path": "../../../../../../../tmp/tmp-2786-Q2PsykI6YvrI/19159ab3bdd3/tldraw.css",
11319
+ "path": "../../../../../../../tmp/tmp-2771-7fXOAc6cg6YK/1915ae8525b3/tldraw.css",
11320
11320
  "kind": "import-rule",
11321
11321
  "original": "@tldraw/tldraw/tldraw.css"
11322
11322
  }
@@ -11391,7 +11391,7 @@
11391
11391
  "original": "../../common/constants"
11392
11392
  },
11393
11393
  {
11394
- "path": "../../../../../../../tmp/tmp-2786-Q2PsykI6YvrI/19159ab3b6f0/index.css",
11394
+ "path": "../../../../../../../tmp/tmp-2771-7fXOAc6cg6YK/1915ae8523a1/index.css",
11395
11395
  "kind": "import-statement",
11396
11396
  "original": "@100mslive/hms-whiteboard/index.css"
11397
11397
  },
@@ -15273,7 +15273,7 @@
15273
15273
  "dist/index.js": {
15274
15274
  "imports": [
15275
15275
  {
15276
- "path": "dist/chunk-QXCR7BIF.js",
15276
+ "path": "dist/chunk-MTOOCG7G.js",
15277
15277
  "kind": "import-statement"
15278
15278
  }
15279
15279
  ],
@@ -15349,16 +15349,16 @@
15349
15349
  "inputs": {},
15350
15350
  "bytes": 1882
15351
15351
  },
15352
- "dist/HLSView-U75MMQRG.js.map": {
15352
+ "dist/HLSView-DC5IFLGP.js.map": {
15353
15353
  "imports": [],
15354
15354
  "exports": [],
15355
15355
  "inputs": {},
15356
15356
  "bytes": 100275
15357
15357
  },
15358
- "dist/HLSView-U75MMQRG.js": {
15358
+ "dist/HLSView-DC5IFLGP.js": {
15359
15359
  "imports": [
15360
15360
  {
15361
- "path": "dist/chunk-QXCR7BIF.js",
15361
+ "path": "dist/chunk-MTOOCG7G.js",
15362
15362
  "kind": "import-statement"
15363
15363
  },
15364
15364
  {
@@ -15536,7 +15536,7 @@
15536
15536
  "default"
15537
15537
  ],
15538
15538
  "entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
15539
- "cssBundle": "dist/HLSView-5HBDZGK5.css",
15539
+ "cssBundle": "dist/HLSView-43CZZXAA.css",
15540
15540
  "inputs": {
15541
15541
  "src/Prebuilt/layouts/HLSView.jsx": {
15542
15542
  "bytesInOutput": 27671
@@ -15595,13 +15595,13 @@
15595
15595
  },
15596
15596
  "bytes": 61702
15597
15597
  },
15598
- "dist/chunk-QXCR7BIF.js.map": {
15598
+ "dist/chunk-MTOOCG7G.js.map": {
15599
15599
  "imports": [],
15600
15600
  "exports": [],
15601
15601
  "inputs": {},
15602
- "bytes": 3490071
15602
+ "bytes": 3490367
15603
15603
  },
15604
- "dist/chunk-QXCR7BIF.js": {
15604
+ "dist/chunk-MTOOCG7G.js": {
15605
15605
  "imports": [
15606
15606
  {
15607
15607
  "path": "react",
@@ -18134,7 +18134,7 @@
18134
18134
  "external": true
18135
18135
  },
18136
18136
  {
18137
- "path": "dist/HLSView-U75MMQRG.js",
18137
+ "path": "dist/HLSView-DC5IFLGP.js",
18138
18138
  "kind": "dynamic-import"
18139
18139
  },
18140
18140
  {
@@ -18733,7 +18733,7 @@
18733
18733
  ],
18734
18734
  "inputs": {
18735
18735
  "<define:process.env>": {
18736
- "bytesInOutput": 17964
18736
+ "bytesInOutput": 17888
18737
18737
  },
18738
18738
  "../../node_modules/lodash/lodash.js": {
18739
18739
  "bytesInOutput": 224289
@@ -19021,7 +19021,7 @@
19021
19021
  "bytesInOutput": 7926
19022
19022
  },
19023
19023
  "src/Prebuilt/components/AppData/AppData.tsx": {
19024
- "bytesInOutput": 6418
19024
+ "bytesInOutput": 6633
19025
19025
  },
19026
19026
  "src/Prebuilt/components/Settings/LayoutSettings.tsx": {
19027
19027
  "bytesInOutput": 2655
@@ -19267,7 +19267,7 @@
19267
19267
  "bytesInOutput": 9486
19268
19268
  },
19269
19269
  "../hms-video-store/dist/index.js": {
19270
- "bytesInOutput": 50270
19270
+ "bytesInOutput": 50262
19271
19271
  },
19272
19272
  "../../node_modules/reselect/es/index.js": {
19273
19273
  "bytesInOutput": 2539
@@ -19629,7 +19629,7 @@
19629
19629
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
19630
19630
  "bytesInOutput": 2830
19631
19631
  },
19632
- "../../../../../../../tmp/tmp-2786-Q2PsykI6YvrI/19159ab3b6f0/index.css": {
19632
+ "../../../../../../../tmp/tmp-2771-7fXOAc6cg6YK/1915ae8523a1/index.css": {
19633
19633
  "bytesInOutput": 0
19634
19634
  },
19635
19635
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -19795,7 +19795,7 @@
19795
19795
  "bytesInOutput": 2632
19796
19796
  }
19797
19797
  },
19798
- "bytes": 1446353
19798
+ "bytes": 1446484
19799
19799
  },
19800
19800
  "dist/index.css.map": {
19801
19801
  "imports": [],
@@ -19857,22 +19857,22 @@
19857
19857
  }
19858
19858
  ],
19859
19859
  "inputs": {
19860
- "../../../../../../../tmp/tmp-2786-Q2PsykI6YvrI/19159ab3bdd3/tldraw.css": {
19860
+ "../../../../../../../tmp/tmp-2771-7fXOAc6cg6YK/1915ae8525b3/tldraw.css": {
19861
19861
  "bytesInOutput": 75223
19862
19862
  },
19863
- "../../../../../../../tmp/tmp-2786-Q2PsykI6YvrI/19159ab3b6f0/index.css": {
19863
+ "../../../../../../../tmp/tmp-2771-7fXOAc6cg6YK/1915ae8523a1/index.css": {
19864
19864
  "bytesInOutput": 401
19865
19865
  }
19866
19866
  },
19867
19867
  "bytes": 75901
19868
19868
  },
19869
- "dist/HLSView-5HBDZGK5.css.map": {
19869
+ "dist/HLSView-43CZZXAA.css.map": {
19870
19870
  "imports": [],
19871
19871
  "exports": [],
19872
19872
  "inputs": {},
19873
19873
  "bytes": 122402
19874
19874
  },
19875
- "dist/HLSView-5HBDZGK5.css": {
19875
+ "dist/HLSView-43CZZXAA.css": {
19876
19876
  "imports": [
19877
19877
  {
19878
19878
  "path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
@@ -19926,10 +19926,10 @@
19926
19926
  }
19927
19927
  ],
19928
19928
  "inputs": {
19929
- "../../../../../../../tmp/tmp-2786-Q2PsykI6YvrI/19159ab3bdd3/tldraw.css": {
19929
+ "../../../../../../../tmp/tmp-2771-7fXOAc6cg6YK/1915ae8525b3/tldraw.css": {
19930
19930
  "bytesInOutput": 75223
19931
19931
  },
19932
- "../../../../../../../tmp/tmp-2786-Q2PsykI6YvrI/19159ab3b6f0/index.css": {
19932
+ "../../../../../../../tmp/tmp-2771-7fXOAc6cg6YK/1915ae8523a1/index.css": {
19933
19933
  "bytesInOutput": 401
19934
19934
  }
19935
19935
  },
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.18-alpha.0",
13
+ "version": "0.3.18",
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.0",
78
+ "@100mslive/hls-player": "0.3.18",
79
79
  "@100mslive/hms-noise-cancellation": "0.0.1",
80
- "@100mslive/hms-virtual-background": "1.13.18-alpha.0",
81
- "@100mslive/hms-whiteboard": "0.0.8-alpha.0",
82
- "@100mslive/react-icons": "0.10.18-alpha.0",
83
- "@100mslive/react-sdk": "0.10.18-alpha.0",
80
+ "@100mslive/hms-virtual-background": "1.13.18",
81
+ "@100mslive/hms-whiteboard": "0.0.8",
82
+ "@100mslive/react-icons": "0.10.18",
83
+ "@100mslive/react-sdk": "0.10.18",
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": "b2d7b9762d30301f418f436039ac770321d56265"
120
+ "gitHead": "66b20cd5cadc16107232710e32830df7a0685771"
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, false);
129
- }, [preferences, hmsActions, elements?.video_tile_layout, isMobile]);
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) {