@100mslive/roomkit-react 0.2.7-alpha.6 → 0.2.7-alpha.7

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -62,7 +62,7 @@ import {
62
62
  theme,
63
63
  useBorderAudioLevel,
64
64
  useTheme
65
- } from "./chunk-AWVNH33H.js";
65
+ } from "./chunk-O5FVMK47.js";
66
66
  export {
67
67
  Accordion,
68
68
  AudioLevel,
@@ -26,7 +26,7 @@
26
26
  "format": "esm"
27
27
  },
28
28
  "src/Prebuilt/common/constants.ts": {
29
- "bytes": 4542,
29
+ "bytes": 4454,
30
30
  "imports": [
31
31
  {
32
32
  "path": "@100mslive/react-sdk",
@@ -4273,8 +4273,8 @@
4273
4273
  ],
4274
4274
  "format": "esm"
4275
4275
  },
4276
- "../../node_modules/ua-parser-js/src/main/ua-parser.mjs": {
4277
- "bytes": 59750,
4276
+ "../../node_modules/ua-parser-js/src/ua-parser.js": {
4277
+ "bytes": 48030,
4278
4278
  "imports": [
4279
4279
  {
4280
4280
  "path": "<define:process.env>",
@@ -4282,7 +4282,7 @@
4282
4282
  "external": true
4283
4283
  }
4284
4284
  ],
4285
- "format": "esm"
4285
+ "format": "cjs"
4286
4286
  },
4287
4287
  "../../node_modules/lodash.isequal/index.js": {
4288
4288
  "bytes": 49598,
@@ -4615,7 +4615,7 @@
4615
4615
  "format": "cjs"
4616
4616
  },
4617
4617
  "../hms-video-store/dist/index.js": {
4618
- "bytes": 323575,
4618
+ "bytes": 323167,
4619
4619
  "imports": [
4620
4620
  {
4621
4621
  "path": "../../node_modules/reselect/es/index.js",
@@ -4633,7 +4633,7 @@
4633
4633
  "original": "reselect"
4634
4634
  },
4635
4635
  {
4636
- "path": "../../node_modules/ua-parser-js/src/main/ua-parser.mjs",
4636
+ "path": "../../node_modules/ua-parser-js/src/ua-parser.js",
4637
4637
  "kind": "import-statement",
4638
4638
  "original": "ua-parser-js"
4639
4639
  },
@@ -13193,7 +13193,7 @@
13193
13193
  "imports": [],
13194
13194
  "exports": [],
13195
13195
  "inputs": {},
13196
- "bytes": 3217017
13196
+ "bytes": 3197182
13197
13197
  },
13198
13198
  "dist/index.cjs.js": {
13199
13199
  "imports": [
@@ -15987,13 +15987,13 @@
15987
15987
  "entryPoint": "src/index.ts",
15988
15988
  "inputs": {
15989
15989
  "<define:process.env>": {
15990
- "bytesInOutput": 18235
15990
+ "bytesInOutput": 18224
15991
15991
  },
15992
15992
  "src/Theme/base.config.ts": {
15993
15993
  "bytesInOutput": 6104
15994
15994
  },
15995
15995
  "src/Prebuilt/common/constants.ts": {
15996
- "bytesInOutput": 4526
15996
+ "bytesInOutput": 4515
15997
15997
  },
15998
15998
  "src/Theme/stitches.config.ts": {
15999
15999
  "bytesInOutput": 2153
@@ -16263,7 +16263,7 @@
16263
16263
  "bytesInOutput": 3450
16264
16264
  },
16265
16265
  "../../node_modules/lodash/lodash.js": {
16266
- "bytesInOutput": 224281
16266
+ "bytesInOutput": 224272
16267
16267
  },
16268
16268
  "src/Prebuilt/provider/roomLayoutProvider/constants/index.ts": {
16269
16269
  "bytesInOutput": 1887
@@ -16275,7 +16275,7 @@
16275
16275
  "bytesInOutput": 1552
16276
16276
  },
16277
16277
  "src/Prebuilt/common/utils.js": {
16278
- "bytesInOutput": 3810
16278
+ "bytesInOutput": 3813
16279
16279
  },
16280
16280
  "src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts": {
16281
16281
  "bytesInOutput": 3003
@@ -16416,10 +16416,10 @@
16416
16416
  "bytesInOutput": 8159
16417
16417
  },
16418
16418
  "../../node_modules/reselect/es/index.js": {
16419
- "bytesInOutput": 2639
16419
+ "bytesInOutput": 2641
16420
16420
  },
16421
- "../../node_modules/ua-parser-js/src/main/ua-parser.mjs": {
16422
- "bytesInOutput": 48479
16421
+ "../../node_modules/ua-parser-js/src/ua-parser.js": {
16422
+ "bytesInOutput": 42470
16423
16423
  },
16424
16424
  "../../node_modules/lodash.isequal/index.js": {
16425
16425
  "bytesInOutput": 26597
@@ -16428,7 +16428,7 @@
16428
16428
  "bytesInOutput": 6459
16429
16429
  },
16430
16430
  "../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
16431
- "bytesInOutput": 6258
16431
+ "bytesInOutput": 6244
16432
16432
  },
16433
16433
  "../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
16434
16434
  "bytesInOutput": 1396
@@ -16437,7 +16437,7 @@
16437
16437
  "bytesInOutput": 22882
16438
16438
  },
16439
16439
  "../../node_modules/webrtc-adapter/src/js/firefox/getusermedia.js": {
16440
- "bytesInOutput": 2292
16440
+ "bytesInOutput": 2280
16441
16441
  },
16442
16442
  "../../node_modules/webrtc-adapter/src/js/firefox/getdisplaymedia.js": {
16443
16443
  "bytesInOutput": 984
@@ -16473,7 +16473,7 @@
16473
16473
  "bytesInOutput": 615
16474
16474
  },
16475
16475
  "../hms-video-store/dist/index.js": {
16476
- "bytesInOutput": 53533
16476
+ "bytesInOutput": 53025
16477
16477
  },
16478
16478
  "src/Prebuilt/components/hooks/usePlaylistMusic.js": {
16479
16479
  "bytesInOutput": 1384
@@ -16584,7 +16584,7 @@
16584
16584
  "bytesInOutput": 1170
16585
16585
  },
16586
16586
  "src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx": {
16587
- "bytesInOutput": 9656
16587
+ "bytesInOutput": 9660
16588
16588
  },
16589
16589
  "src/Prebuilt/components/Polls/CreateQuestions/DeleteQuestionModal.tsx": {
16590
16590
  "bytesInOutput": 2802
@@ -16710,7 +16710,7 @@
16710
16710
  "bytesInOutput": 6106
16711
16711
  },
16712
16712
  "src/Prebuilt/components/Chat/Chat.tsx": {
16713
- "bytesInOutput": 4399
16713
+ "bytesInOutput": 4402
16714
16714
  },
16715
16715
  "src/Prebuilt/components/Footer/PaginatedParticipants.tsx": {
16716
16716
  "bytesInOutput": 5344
@@ -16854,7 +16854,7 @@
16854
16854
  "bytesInOutput": 860
16855
16855
  },
16856
16856
  "src/Prebuilt/components/HMSVideo/HMSVIdeoUtils.js": {
16857
- "bytesInOutput": 848
16857
+ "bytesInOutput": 850
16858
16858
  },
16859
16859
  "src/Prebuilt/components/HMSVideo/VideoProgress.jsx": {
16860
16860
  "bytesInOutput": 3186
@@ -16881,7 +16881,7 @@
16881
16881
  "bytesInOutput": 4598
16882
16882
  },
16883
16883
  "src/Prebuilt/layouts/HLSView.jsx": {
16884
- "bytesInOutput": 21216
16884
+ "bytesInOutput": 21219
16885
16885
  },
16886
16886
  "src/Prebuilt/layouts/VideoStreamingSection.tsx": {
16887
16887
  "bytesInOutput": 4111
@@ -17019,7 +17019,7 @@
17019
17019
  "bytesInOutput": 2980
17020
17020
  }
17021
17021
  },
17022
- "bytes": 1516105
17022
+ "bytes": 1509552
17023
17023
  }
17024
17024
  }
17025
17025
  }
@@ -26,7 +26,7 @@
26
26
  "format": "esm"
27
27
  },
28
28
  "src/Prebuilt/common/constants.ts": {
29
- "bytes": 4542,
29
+ "bytes": 4454,
30
30
  "imports": [
31
31
  {
32
32
  "path": "@100mslive/react-sdk",
@@ -4273,8 +4273,8 @@
4273
4273
  ],
4274
4274
  "format": "esm"
4275
4275
  },
4276
- "../../node_modules/ua-parser-js/src/main/ua-parser.mjs": {
4277
- "bytes": 59750,
4276
+ "../../node_modules/ua-parser-js/src/ua-parser.js": {
4277
+ "bytes": 48030,
4278
4278
  "imports": [
4279
4279
  {
4280
4280
  "path": "<define:process.env>",
@@ -4282,7 +4282,7 @@
4282
4282
  "external": true
4283
4283
  }
4284
4284
  ],
4285
- "format": "esm"
4285
+ "format": "cjs"
4286
4286
  },
4287
4287
  "../../node_modules/lodash.isequal/index.js": {
4288
4288
  "bytes": 49598,
@@ -4615,7 +4615,7 @@
4615
4615
  "format": "cjs"
4616
4616
  },
4617
4617
  "../hms-video-store/dist/index.js": {
4618
- "bytes": 323575,
4618
+ "bytes": 323167,
4619
4619
  "imports": [
4620
4620
  {
4621
4621
  "path": "../../node_modules/reselect/es/index.js",
@@ -4633,7 +4633,7 @@
4633
4633
  "original": "reselect"
4634
4634
  },
4635
4635
  {
4636
- "path": "../../node_modules/ua-parser-js/src/main/ua-parser.mjs",
4636
+ "path": "../../node_modules/ua-parser-js/src/ua-parser.js",
4637
4637
  "kind": "import-statement",
4638
4638
  "original": "ua-parser-js"
4639
4639
  },
@@ -13198,7 +13198,7 @@
13198
13198
  "dist/index.js": {
13199
13199
  "imports": [
13200
13200
  {
13201
- "path": "dist/chunk-AWVNH33H.js",
13201
+ "path": "dist/chunk-O5FVMK47.js",
13202
13202
  "kind": "import-statement"
13203
13203
  }
13204
13204
  ],
@@ -13271,16 +13271,16 @@
13271
13271
  "inputs": {},
13272
13272
  "bytes": 1822
13273
13273
  },
13274
- "dist/HLSView-LO4FKVVI.js.map": {
13274
+ "dist/HLSView-T6AVELLE.js.map": {
13275
13275
  "imports": [],
13276
13276
  "exports": [],
13277
13277
  "inputs": {},
13278
13278
  "bytes": 58854
13279
13279
  },
13280
- "dist/HLSView-LO4FKVVI.js": {
13280
+ "dist/HLSView-T6AVELLE.js": {
13281
13281
  "imports": [
13282
13282
  {
13283
- "path": "dist/chunk-AWVNH33H.js",
13283
+ "path": "dist/chunk-O5FVMK47.js",
13284
13284
  "kind": "import-statement"
13285
13285
  },
13286
13286
  {
@@ -13444,13 +13444,13 @@
13444
13444
  },
13445
13445
  "bytes": 36972
13446
13446
  },
13447
- "dist/chunk-AWVNH33H.js.map": {
13447
+ "dist/chunk-O5FVMK47.js.map": {
13448
13448
  "imports": [],
13449
13449
  "exports": [],
13450
13450
  "inputs": {},
13451
- "bytes": 3153486
13451
+ "bytes": 3134237
13452
13452
  },
13453
- "dist/chunk-AWVNH33H.js": {
13453
+ "dist/chunk-O5FVMK47.js": {
13454
13454
  "imports": [
13455
13455
  {
13456
13456
  "path": "react",
@@ -15753,7 +15753,7 @@
15753
15753
  "external": true
15754
15754
  },
15755
15755
  {
15756
- "path": "dist/HLSView-LO4FKVVI.js",
15756
+ "path": "dist/HLSView-T6AVELLE.js",
15757
15757
  "kind": "dynamic-import"
15758
15758
  },
15759
15759
  {
@@ -16210,10 +16210,13 @@
16210
16210
  ],
16211
16211
  "inputs": {
16212
16212
  "<define:process.env>": {
16213
- "bytesInOutput": 18235
16213
+ "bytesInOutput": 18224
16214
16214
  },
16215
16215
  "../../node_modules/lodash/lodash.js": {
16216
- "bytesInOutput": 224276
16216
+ "bytesInOutput": 224267
16217
+ },
16218
+ "../../node_modules/ua-parser-js/src/ua-parser.js": {
16219
+ "bytesInOutput": 42466
16217
16220
  },
16218
16221
  "../../node_modules/lodash.isequal/index.js": {
16219
16222
  "bytesInOutput": 26591
@@ -16255,7 +16258,7 @@
16255
16258
  "bytesInOutput": 5061
16256
16259
  },
16257
16260
  "src/Prebuilt/common/constants.ts": {
16258
- "bytesInOutput": 3560
16261
+ "bytesInOutput": 3549
16259
16262
  },
16260
16263
  "src/Theme/ThemeProvider.tsx": {
16261
16264
  "bytesInOutput": 1926
@@ -16492,7 +16495,7 @@
16492
16495
  "bytesInOutput": 1486
16493
16496
  },
16494
16497
  "src/Prebuilt/common/utils.js": {
16495
- "bytesInOutput": 3207
16498
+ "bytesInOutput": 3210
16496
16499
  },
16497
16500
  "src/Prebuilt/components/AppData/useSidepane.js": {
16498
16501
  "bytesInOutput": 1934
@@ -16642,13 +16645,10 @@
16642
16645
  "bytesInOutput": 10019
16643
16646
  },
16644
16647
  "../hms-video-store/dist/index.js": {
16645
- "bytesInOutput": 48907
16648
+ "bytesInOutput": 48463
16646
16649
  },
16647
16650
  "../../node_modules/reselect/es/index.js": {
16648
- "bytesInOutput": 2537
16649
- },
16650
- "../../node_modules/ua-parser-js/src/main/ua-parser.mjs": {
16651
- "bytesInOutput": 42640
16651
+ "bytesInOutput": 2539
16652
16652
  },
16653
16653
  "../../node_modules/webrtc-adapter/src/js/adapter_core.js": {
16654
16654
  "bytesInOutput": 118
@@ -16663,7 +16663,7 @@
16663
16663
  "bytesInOutput": 22678
16664
16664
  },
16665
16665
  "../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
16666
- "bytesInOutput": 6092
16666
+ "bytesInOutput": 6078
16667
16667
  },
16668
16668
  "../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
16669
16669
  "bytesInOutput": 1256
@@ -16672,7 +16672,7 @@
16672
16672
  "bytesInOutput": 9143
16673
16673
  },
16674
16674
  "../../node_modules/webrtc-adapter/src/js/firefox/getusermedia.js": {
16675
- "bytesInOutput": 2137
16675
+ "bytesInOutput": 2125
16676
16676
  },
16677
16677
  "../../node_modules/webrtc-adapter/src/js/firefox/getdisplaymedia.js": {
16678
16678
  "bytesInOutput": 842
@@ -16786,7 +16786,7 @@
16786
16786
  "bytesInOutput": 735
16787
16787
  },
16788
16788
  "src/Prebuilt/components/Polls/CreatePollQuiz/PollsQuizMenu.tsx": {
16789
- "bytesInOutput": 7983
16789
+ "bytesInOutput": 7987
16790
16790
  },
16791
16791
  "src/Prebuilt/components/Streaming/Common.jsx": {
16792
16792
  "bytesInOutput": 2247
@@ -16867,7 +16867,7 @@
16867
16867
  "bytesInOutput": 7277
16868
16868
  },
16869
16869
  "src/Prebuilt/components/Chat/Chat.tsx": {
16870
- "bytesInOutput": 3463
16870
+ "bytesInOutput": 3466
16871
16871
  },
16872
16872
  "src/Prebuilt/components/Chat/ChatBody.tsx": {
16873
16873
  "bytesInOutput": 14398
@@ -17161,7 +17161,7 @@
17161
17161
  "bytesInOutput": 651
17162
17162
  }
17163
17163
  },
17164
- "bytes": 1283501
17164
+ "bytes": 1282842
17165
17165
  }
17166
17166
  }
17167
17167
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.2.7-alpha.6",
13
+ "version": "0.2.7-alpha.7",
14
14
  "author": "100ms",
15
15
  "license": "MIT",
16
16
  "repository": {
@@ -82,11 +82,11 @@
82
82
  "react": ">=17.0.2 <19.0.0"
83
83
  },
84
84
  "dependencies": {
85
- "@100mslive/hls-player": "0.2.7-alpha.6",
85
+ "@100mslive/hls-player": "0.2.7-alpha.7",
86
86
  "@100mslive/hms-noise-cancellation": "0.0.0-alpha.1",
87
- "@100mslive/hms-virtual-background": "1.12.7-alpha.6",
88
- "@100mslive/react-icons": "0.9.7-alpha.6",
89
- "@100mslive/react-sdk": "0.9.7-alpha.6",
87
+ "@100mslive/hms-virtual-background": "1.12.7-alpha.7",
88
+ "@100mslive/react-icons": "0.9.7-alpha.7",
89
+ "@100mslive/react-sdk": "0.9.7-alpha.7",
90
90
  "@100mslive/types-prebuilt": "0.12.7",
91
91
  "@emoji-mart/data": "^1.0.6",
92
92
  "@emoji-mart/react": "^1.0.1",
@@ -121,5 +121,5 @@
121
121
  "uuid": "^8.3.2",
122
122
  "worker-timers": "^7.0.40"
123
123
  },
124
- "gitHead": "f120fea1f24f48be7aea10e2257ee5101d9a8609"
124
+ "gitHead": "4ed9db2bf486275cc02f91d75dc4631e26ed8a63"
125
125
  }
@@ -98,12 +98,11 @@ export const HLS_TIMED_METADATA_DOC_URL =
98
98
 
99
99
  export const REMOTE_STOP_SCREENSHARE_TYPE = 'REMOTE_STOP_SCREENSHARE';
100
100
 
101
- // mweb could have browser name as "Mobile Chrome" or "Mobile Firefox"
102
- export const isChrome = parsedUserAgent.getBrowser()?.name?.toLowerCase().includes('chrome');
103
- export const isFirefox = parsedUserAgent.getBrowser()?.name?.toLowerCase().includes('firefox');
104
- export const isSafari = parsedUserAgent.getBrowser()?.name?.toLowerCase().includes('safari');
101
+ export const isChrome = parsedUserAgent.getBrowser()?.name?.toLowerCase() === 'chrome';
102
+ export const isFirefox = parsedUserAgent.getBrowser()?.name?.toLowerCase() === 'firefox';
103
+ export const isSafari = parsedUserAgent.getBrowser()?.name?.toLowerCase() === 'safari';
105
104
  export const isIOS = parsedUserAgent.getOS()?.name?.toLowerCase() === 'ios';
106
- export const isMacOS = parsedUserAgent.getOS()?.name?.toLowerCase() === 'macos';
105
+ export const isMacOS = parsedUserAgent.getOS()?.name?.toLowerCase() === 'mac os';
107
106
  export const isAndroid = parsedUserAgent.getOS()?.name?.toLowerCase() === 'android';
108
107
  export const isIPadOS = false;
109
108
  // typeof navigator !== "undefined" &&