@100mslive/roomkit-react 0.3.20 → 0.3.21-alpha.1

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.
Files changed (41) hide show
  1. package/README.md +6 -6
  2. package/dist/{HLSView-E242LM6X.css → HLSView-3CVLSXRH.css} +3 -3
  3. package/dist/{HLSView-E242LM6X.css.map → HLSView-3CVLSXRH.css.map} +1 -1
  4. package/dist/{HLSView-6QAHWMQF.js → HLSView-3JERKVTE.js} +63 -47
  5. package/dist/HLSView-3JERKVTE.js.map +7 -0
  6. package/dist/Prebuilt/AppContext.d.ts +1 -1
  7. package/dist/Prebuilt/components/AuthToken.d.ts +1 -1
  8. package/dist/Prebuilt/components/VirtualBackground/VBHandler.d.ts +1 -0
  9. package/dist/Prebuilt/components/peerTileUtils.d.ts +7 -0
  10. package/dist/{chunk-ACEDLM3B.js → chunk-J5FLGI2T.js} +541 -510
  11. package/dist/chunk-J5FLGI2T.js.map +7 -0
  12. package/dist/index.cjs.css +2 -2
  13. package/dist/index.cjs.css.map +1 -1
  14. package/dist/index.cjs.js +608 -561
  15. package/dist/index.cjs.js.map +4 -4
  16. package/dist/index.css +2 -2
  17. package/dist/index.css.map +1 -1
  18. package/dist/index.js +1 -1
  19. package/dist/meta.cjs.json +89 -69
  20. package/dist/meta.esbuild.json +101 -81
  21. package/package.json +7 -7
  22. package/src/Prebuilt/App.tsx +5 -5
  23. package/src/Prebuilt/AppContext.tsx +1 -1
  24. package/src/Prebuilt/components/AuthToken.tsx +1 -1
  25. package/src/Prebuilt/components/HMSVideo/HMSVideo.jsx +24 -4
  26. package/src/Prebuilt/components/Header/common.jsx +5 -3
  27. package/src/Prebuilt/components/MoreSettings/ChangeNameContent.tsx +13 -3
  28. package/src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx +1 -1
  29. package/src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx +1 -1
  30. package/src/Prebuilt/components/ScreenshareTile.tsx +2 -2
  31. package/src/Prebuilt/components/Settings/SettingsModal.jsx +1 -2
  32. package/src/Prebuilt/components/TileMenu/TileMenu.tsx +7 -6
  33. package/src/Prebuilt/components/TileMenu/TileMenuContent.tsx +3 -3
  34. package/src/Prebuilt/components/VideoLayouts/EqualProminence.tsx +4 -2
  35. package/src/Prebuilt/components/VideoTile.tsx +2 -2
  36. package/src/Prebuilt/components/VirtualBackground/VBHandler.tsx +13 -1
  37. package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +3 -2
  38. package/src/Prebuilt/components/{peerTileUtils.jsx → peerTileUtils.tsx} +21 -6
  39. package/src/Prebuilt/layouts/HLSView.jsx +2 -5
  40. package/dist/HLSView-6QAHWMQF.js.map +0 -7
  41. package/dist/chunk-ACEDLM3B.js.map +0 -7
@@ -2369,7 +2369,7 @@
2369
2369
  "format": "esm"
2370
2370
  },
2371
2371
  "src/Prebuilt/AppContext.tsx": {
2372
- "bytes": 869,
2372
+ "bytes": 881,
2373
2373
  "imports": [
2374
2374
  {
2375
2375
  "path": "react",
@@ -2390,7 +2390,7 @@
2390
2390
  "format": "esm"
2391
2391
  },
2392
2392
  "src/Prebuilt/components/VirtualBackground/VBHandler.tsx": {
2393
- "bytes": 3598,
2393
+ "bytes": 3789,
2394
2394
  "imports": [
2395
2395
  {
2396
2396
  "path": "@100mslive/hms-virtual-background/hmsvbplugin",
@@ -2585,7 +2585,7 @@
2585
2585
  "imports": []
2586
2586
  },
2587
2587
  "src/Prebuilt/components/AuthToken.tsx": {
2588
- "bytes": 5170,
2588
+ "bytes": 5171,
2589
2589
  "imports": [
2590
2590
  {
2591
2591
  "path": "react",
@@ -3006,7 +3006,7 @@
3006
3006
  "format": "esm"
3007
3007
  },
3008
3008
  "src/Prebuilt/components/Settings/SettingsModal.jsx": {
3009
- "bytes": 9473,
3009
+ "bytes": 9451,
3010
3010
  "imports": [
3011
3011
  {
3012
3012
  "path": "react",
@@ -5749,7 +5749,7 @@
5749
5749
  "format": "cjs"
5750
5750
  },
5751
5751
  "../hms-video-store/dist/index.js": {
5752
- "bytes": 368242,
5752
+ "bytes": 368411,
5753
5753
  "imports": [
5754
5754
  {
5755
5755
  "path": "../../node_modules/reselect/es/index.js",
@@ -5961,7 +5961,7 @@
5961
5961
  "format": "esm"
5962
5962
  },
5963
5963
  "src/Prebuilt/components/MoreSettings/ChangeNameContent.tsx": {
5964
- "bytes": 3152,
5964
+ "bytes": 3309,
5965
5965
  "imports": [
5966
5966
  {
5967
5967
  "path": "react",
@@ -6007,7 +6007,7 @@
6007
6007
  "format": "esm"
6008
6008
  },
6009
6009
  "src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx": {
6010
- "bytes": 2330,
6010
+ "bytes": 2372,
6011
6011
  "imports": [
6012
6012
  {
6013
6013
  "path": "react",
@@ -9586,6 +9586,22 @@
9586
9586
  ],
9587
9587
  "format": "esm"
9588
9588
  },
9589
+ "src/Prebuilt/components/peerTileUtils.tsx": {
9590
+ "bytes": 1529,
9591
+ "imports": [
9592
+ {
9593
+ "path": "@100mslive/react-sdk",
9594
+ "kind": "import-statement",
9595
+ "external": true
9596
+ },
9597
+ {
9598
+ "path": "<define:process.env>",
9599
+ "kind": "import-statement",
9600
+ "external": true
9601
+ }
9602
+ ],
9603
+ "format": "esm"
9604
+ },
9589
9605
  "src/Prebuilt/components/TileMenu/utils.ts": {
9590
9606
  "bytes": 214,
9591
9607
  "imports": [
@@ -9598,7 +9614,7 @@
9598
9614
  "format": "esm"
9599
9615
  },
9600
9616
  "src/Prebuilt/components/TileMenu/TileMenuContent.tsx": {
9601
- "bytes": 12236,
9617
+ "bytes": 12271,
9602
9618
  "imports": [
9603
9619
  {
9604
9620
  "path": "react",
@@ -9689,7 +9705,7 @@
9689
9705
  "format": "esm"
9690
9706
  },
9691
9707
  "src/Prebuilt/components/TileMenu/TileMenu.tsx": {
9692
- "bytes": 5158,
9708
+ "bytes": 5392,
9693
9709
  "imports": [
9694
9710
  {
9695
9711
  "path": "react",
@@ -9741,6 +9757,11 @@
9741
9757
  "kind": "import-statement",
9742
9758
  "original": "../MoreSettings/ChangeNameModal"
9743
9759
  },
9760
+ {
9761
+ "path": "src/Prebuilt/components/peerTileUtils.tsx",
9762
+ "kind": "import-statement",
9763
+ "original": "../peerTileUtils"
9764
+ },
9744
9765
  {
9745
9766
  "path": "src/Prebuilt/components/RoleChangeModal.tsx",
9746
9767
  "kind": "import-statement",
@@ -9779,19 +9800,8 @@
9779
9800
  ],
9780
9801
  "format": "esm"
9781
9802
  },
9782
- "src/Prebuilt/components/peerTileUtils.jsx": {
9783
- "bytes": 1197,
9784
- "imports": [
9785
- {
9786
- "path": "<define:process.env>",
9787
- "kind": "import-statement",
9788
- "external": true
9789
- }
9790
- ],
9791
- "format": "esm"
9792
- },
9793
9803
  "src/Prebuilt/components/VideoTile.tsx": {
9794
- "bytes": 7106,
9804
+ "bytes": 7103,
9795
9805
  "imports": [
9796
9806
  {
9797
9807
  "path": "react",
@@ -9854,7 +9864,7 @@
9854
9864
  "original": "../../VideoTile"
9855
9865
  },
9856
9866
  {
9857
- "path": "src/Prebuilt/components/peerTileUtils.jsx",
9867
+ "path": "src/Prebuilt/components/peerTileUtils.tsx",
9858
9868
  "kind": "import-statement",
9859
9869
  "original": "./peerTileUtils"
9860
9870
  },
@@ -9959,7 +9969,7 @@
9959
9969
  "format": "esm"
9960
9970
  },
9961
9971
  "src/Prebuilt/components/VirtualBackground/VBPicker.tsx": {
9962
- "bytes": 8900,
9972
+ "bytes": 8918,
9963
9973
  "imports": [
9964
9974
  {
9965
9975
  "path": "react",
@@ -10728,7 +10738,7 @@
10728
10738
  "format": "esm"
10729
10739
  },
10730
10740
  "src/Prebuilt/components/VideoLayouts/EqualProminence.tsx": {
10731
- "bytes": 2113,
10741
+ "bytes": 2301,
10732
10742
  "imports": [
10733
10743
  {
10734
10744
  "path": "react",
@@ -10740,6 +10750,11 @@
10740
10750
  "kind": "import-statement",
10741
10751
  "external": true
10742
10752
  },
10753
+ {
10754
+ "path": "@100mslive/react-sdk",
10755
+ "kind": "import-statement",
10756
+ "external": true
10757
+ },
10743
10758
  {
10744
10759
  "path": "@100mslive/react-icons",
10745
10760
  "kind": "import-statement",
@@ -11110,7 +11125,7 @@
11110
11125
  "format": "esm"
11111
11126
  },
11112
11127
  "src/Prebuilt/components/ScreenshareTile.tsx": {
11113
- "bytes": 4479,
11128
+ "bytes": 4476,
11114
11129
  "imports": [
11115
11130
  {
11116
11131
  "path": "react",
@@ -11173,7 +11188,7 @@
11173
11188
  "original": "./LayoutModeSelector"
11174
11189
  },
11175
11190
  {
11176
- "path": "src/Prebuilt/components/peerTileUtils.jsx",
11191
+ "path": "src/Prebuilt/components/peerTileUtils.tsx",
11177
11192
  "kind": "import-statement",
11178
11193
  "original": "./peerTileUtils"
11179
11194
  },
@@ -11276,7 +11291,7 @@
11276
11291
  ],
11277
11292
  "format": "esm"
11278
11293
  },
11279
- "../../../../../../../tmp/tmp-2828-8M1VZ2zrMhWy/1920591f20d3/tldraw.css": {
11294
+ "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16ad3/tldraw.css": {
11280
11295
  "bytes": 80111,
11281
11296
  "imports": [
11282
11297
  {
@@ -11326,7 +11341,7 @@
11326
11341
  }
11327
11342
  ]
11328
11343
  },
11329
- "../../../../../../../tmp/tmp-2828-8M1VZ2zrMhWy/1920591f18f0/index.css": {
11344
+ "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16471/index.css": {
11330
11345
  "bytes": 597,
11331
11346
  "imports": [
11332
11347
  {
@@ -11335,7 +11350,7 @@
11335
11350
  "external": true
11336
11351
  },
11337
11352
  {
11338
- "path": "../../../../../../../tmp/tmp-2828-8M1VZ2zrMhWy/1920591f20d3/tldraw.css",
11353
+ "path": "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16ad3/tldraw.css",
11339
11354
  "kind": "import-rule",
11340
11355
  "original": "@tldraw/tldraw/tldraw.css"
11341
11356
  }
@@ -11410,7 +11425,7 @@
11410
11425
  "original": "../../common/constants"
11411
11426
  },
11412
11427
  {
11413
- "path": "../../../../../../../tmp/tmp-2828-8M1VZ2zrMhWy/1920591f18f0/index.css",
11428
+ "path": "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16471/index.css",
11414
11429
  "kind": "import-statement",
11415
11430
  "original": "@100mslive/hms-whiteboard/index.css"
11416
11431
  },
@@ -11746,7 +11761,7 @@
11746
11761
  "format": "esm"
11747
11762
  },
11748
11763
  "src/Prebuilt/components/HMSVideo/HMSVideo.jsx": {
11749
- "bytes": 1391,
11764
+ "bytes": 1973,
11750
11765
  "imports": [
11751
11766
  {
11752
11767
  "path": "react",
@@ -12266,7 +12281,7 @@
12266
12281
  "format": "esm"
12267
12282
  },
12268
12283
  "src/Prebuilt/layouts/HLSView.jsx": {
12269
- "bytes": 28639,
12284
+ "bytes": 28626,
12270
12285
  "imports": [
12271
12286
  {
12272
12287
  "path": "react",
@@ -12614,7 +12629,7 @@
12614
12629
  "format": "esm"
12615
12630
  },
12616
12631
  "src/Prebuilt/components/Header/common.jsx": {
12617
- "bytes": 5819,
12632
+ "bytes": 5774,
12618
12633
  "imports": [
12619
12634
  {
12620
12635
  "path": "react",
@@ -13742,7 +13757,7 @@
13742
13757
  "format": "esm"
13743
13758
  },
13744
13759
  "src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx": {
13745
- "bytes": 1639,
13760
+ "bytes": 1640,
13746
13761
  "imports": [
13747
13762
  {
13748
13763
  "path": "react",
@@ -14335,7 +14350,7 @@
14335
14350
  "format": "esm"
14336
14351
  },
14337
14352
  "src/Prebuilt/App.tsx": {
14338
- "bytes": 11109,
14353
+ "bytes": 11054,
14339
14354
  "imports": [
14340
14355
  {
14341
14356
  "path": "react",
@@ -15398,7 +15413,7 @@
15398
15413
  "dist/index.js": {
15399
15414
  "imports": [
15400
15415
  {
15401
- "path": "dist/chunk-ACEDLM3B.js",
15416
+ "path": "dist/chunk-J5FLGI2T.js",
15402
15417
  "kind": "import-statement"
15403
15418
  }
15404
15419
  ],
@@ -15474,16 +15489,16 @@
15474
15489
  "inputs": {},
15475
15490
  "bytes": 1882
15476
15491
  },
15477
- "dist/HLSView-6QAHWMQF.js.map": {
15492
+ "dist/HLSView-3JERKVTE.js.map": {
15478
15493
  "imports": [],
15479
15494
  "exports": [],
15480
15495
  "inputs": {},
15481
- "bytes": 100275
15496
+ "bytes": 101299
15482
15497
  },
15483
- "dist/HLSView-6QAHWMQF.js": {
15498
+ "dist/HLSView-3JERKVTE.js": {
15484
15499
  "imports": [
15485
15500
  {
15486
- "path": "dist/chunk-ACEDLM3B.js",
15501
+ "path": "dist/chunk-J5FLGI2T.js",
15487
15502
  "kind": "import-statement"
15488
15503
  },
15489
15504
  {
@@ -15661,10 +15676,10 @@
15661
15676
  "default"
15662
15677
  ],
15663
15678
  "entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
15664
- "cssBundle": "dist/HLSView-E242LM6X.css",
15679
+ "cssBundle": "dist/HLSView-3CVLSXRH.css",
15665
15680
  "inputs": {
15666
15681
  "src/Prebuilt/layouts/HLSView.jsx": {
15667
- "bytesInOutput": 27671
15682
+ "bytesInOutput": 27634
15668
15683
  },
15669
15684
  "src/Prebuilt/components/HlsStatsOverlay.jsx": {
15670
15685
  "bytesInOutput": 3521
@@ -15676,7 +15691,7 @@
15676
15691
  "bytesInOutput": 416
15677
15692
  },
15678
15693
  "src/Prebuilt/components/HMSVideo/HMSVideo.jsx": {
15679
- "bytesInOutput": 1522
15694
+ "bytesInOutput": 2100
15680
15695
  },
15681
15696
  "src/Prebuilt/components/HMSVideo/PlayPauseSeekControls.tsx": {
15682
15697
  "bytesInOutput": 4256
@@ -15691,7 +15706,7 @@
15691
15706
  "bytesInOutput": 328
15692
15707
  },
15693
15708
  "src/Prebuilt/components/HMSVideo/VideoProgress.tsx": {
15694
- "bytesInOutput": 2986
15709
+ "bytesInOutput": 3016
15695
15710
  },
15696
15711
  "src/Prebuilt/components/HMSVideo/utils.ts": {
15697
15712
  "bytesInOutput": 917
@@ -15718,15 +15733,15 @@
15718
15733
  "bytesInOutput": 2101
15719
15734
  }
15720
15735
  },
15721
- "bytes": 61702
15736
+ "bytes": 62273
15722
15737
  },
15723
- "dist/chunk-ACEDLM3B.js.map": {
15738
+ "dist/chunk-J5FLGI2T.js.map": {
15724
15739
  "imports": [],
15725
15740
  "exports": [],
15726
15741
  "inputs": {},
15727
- "bytes": 3522517
15742
+ "bytes": 3525223
15728
15743
  },
15729
- "dist/chunk-ACEDLM3B.js": {
15744
+ "dist/chunk-J5FLGI2T.js": {
15730
15745
  "imports": [
15731
15746
  {
15732
15747
  "path": "react",
@@ -18018,6 +18033,11 @@
18018
18033
  "kind": "import-statement",
18019
18034
  "external": true
18020
18035
  },
18036
+ {
18037
+ "path": "@100mslive/react-sdk",
18038
+ "kind": "import-statement",
18039
+ "external": true
18040
+ },
18021
18041
  {
18022
18042
  "path": "@100mslive/react-icons",
18023
18043
  "kind": "import-statement",
@@ -18269,7 +18289,7 @@
18269
18289
  "external": true
18270
18290
  },
18271
18291
  {
18272
- "path": "dist/HLSView-6QAHWMQF.js",
18292
+ "path": "dist/HLSView-3JERKVTE.js",
18273
18293
  "kind": "dynamic-import"
18274
18294
  },
18275
18295
  {
@@ -18888,7 +18908,7 @@
18888
18908
  ],
18889
18909
  "inputs": {
18890
18910
  "<define:process.env>": {
18891
- "bytesInOutput": 17913
18911
+ "bytesInOutput": 18007
18892
18912
  },
18893
18913
  "../../node_modules/lodash/lodash.js": {
18894
18914
  "bytesInOutput": 224291
@@ -18915,7 +18935,7 @@
18915
18935
  "bytesInOutput": 615
18916
18936
  },
18917
18937
  "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js": {
18918
- "bytesInOutput": 3850
18938
+ "bytesInOutput": 3836
18919
18939
  },
18920
18940
  "../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js": {
18921
18941
  "bytesInOutput": 7632
@@ -19098,7 +19118,7 @@
19098
19118
  "bytesInOutput": 27
19099
19119
  },
19100
19120
  "src/AudioLevel/useBorderAudioLevel.tsx": {
19101
- "bytesInOutput": 755
19121
+ "bytesInOutput": 753
19102
19122
  },
19103
19123
  "src/AudioLevel/AudioLevel.tsx": {
19104
19124
  "bytesInOutput": 2195
@@ -19116,7 +19136,7 @@
19116
19136
  "bytesInOutput": 8580
19117
19137
  },
19118
19138
  "src/Stats/formatBytes.ts": {
19119
- "bytesInOutput": 470
19139
+ "bytesInOutput": 468
19120
19140
  },
19121
19141
  "src/Stats/StyledStats.tsx": {
19122
19142
  "bytesInOutput": 708
@@ -19173,7 +19193,7 @@
19173
19193
  "bytesInOutput": 887
19174
19194
  },
19175
19195
  "src/Prebuilt/App.tsx": {
19176
- "bytesInOutput": 8093
19196
+ "bytesInOutput": 8061
19177
19197
  },
19178
19198
  "src/Prebuilt/components/AppData/AppData.tsx": {
19179
19199
  "bytesInOutput": 6633
@@ -19224,7 +19244,7 @@
19224
19244
  "bytesInOutput": 2958
19225
19245
  },
19226
19246
  "src/Prebuilt/components/VirtualBackground/VBHandler.tsx": {
19227
- "bytesInOutput": 4246
19247
+ "bytesInOutput": 4450
19228
19248
  },
19229
19249
  "src/Prebuilt/components/hooks/useRedirectToLeave.tsx": {
19230
19250
  "bytesInOutput": 489
@@ -19260,7 +19280,7 @@
19260
19280
  "bytesInOutput": 1390
19261
19281
  },
19262
19282
  "src/Prebuilt/components/Settings/SettingsModal.jsx": {
19263
- "bytesInOutput": 8960
19283
+ "bytesInOutput": 8942
19264
19284
  },
19265
19285
  "src/Sheet/index.ts": {
19266
19286
  "bytesInOutput": 27
@@ -19431,7 +19451,7 @@
19431
19451
  "bytesInOutput": 9861
19432
19452
  },
19433
19453
  "../hms-video-store/dist/index.js": {
19434
- "bytesInOutput": 52063
19454
+ "bytesInOutput": 52071
19435
19455
  },
19436
19456
  "../../node_modules/reselect/es/index.js": {
19437
19457
  "bytesInOutput": 2539
@@ -19449,7 +19469,7 @@
19449
19469
  "bytesInOutput": 22678
19450
19470
  },
19451
19471
  "../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
19452
- "bytesInOutput": 6110
19472
+ "bytesInOutput": 6095
19453
19473
  },
19454
19474
  "../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
19455
19475
  "bytesInOutput": 1256
@@ -19467,13 +19487,13 @@
19467
19487
  "bytesInOutput": 11868
19468
19488
  },
19469
19489
  "../../node_modules/webrtc-adapter/src/js/common_shim.js": {
19470
- "bytesInOutput": 12458
19490
+ "bytesInOutput": 12463
19471
19491
  },
19472
19492
  "src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx": {
19473
- "bytesInOutput": 2228
19493
+ "bytesInOutput": 2272
19474
19494
  },
19475
19495
  "src/Prebuilt/components/MoreSettings/ChangeNameContent.tsx": {
19476
- "bytesInOutput": 3302
19496
+ "bytesInOutput": 3576
19477
19497
  },
19478
19498
  "src/Prebuilt/components/AppData/useSheet.ts": {
19479
19499
  "bytesInOutput": 846
@@ -19689,25 +19709,25 @@
19689
19709
  "bytesInOutput": 2469
19690
19710
  },
19691
19711
  "src/Prebuilt/components/VideoTile.tsx": {
19692
- "bytesInOutput": 6608
19712
+ "bytesInOutput": 6636
19693
19713
  },
19694
19714
  "src/Prebuilt/components/Connection/TileConnection.tsx": {
19695
19715
  "bytesInOutput": 2406
19696
19716
  },
19697
19717
  "src/Prebuilt/components/TileMenu/TileMenu.tsx": {
19698
- "bytesInOutput": 4811
19718
+ "bytesInOutput": 4909
19719
+ },
19720
+ "src/Prebuilt/components/peerTileUtils.tsx": {
19721
+ "bytesInOutput": 1164
19699
19722
  },
19700
19723
  "src/Prebuilt/components/TileMenu/TileMenuContent.tsx": {
19701
- "bytesInOutput": 12243
19724
+ "bytesInOutput": 12271
19702
19725
  },
19703
19726
  "src/Prebuilt/components/TileMenu/utils.ts": {
19704
19727
  "bytesInOutput": 160
19705
19728
  },
19706
- "src/Prebuilt/components/peerTileUtils.jsx": {
19707
- "bytesInOutput": 1050
19708
- },
19709
19729
  "src/Prebuilt/components/VirtualBackground/VBPicker.tsx": {
19710
- "bytesInOutput": 8754
19730
+ "bytesInOutput": 8807
19711
19731
  },
19712
19732
  "src/Prebuilt/components/VirtualBackground/VBCollection.tsx": {
19713
19733
  "bytesInOutput": 1252
@@ -19734,7 +19754,7 @@
19734
19754
  "bytesInOutput": 4550
19735
19755
  },
19736
19756
  "src/Prebuilt/components/VideoLayouts/EqualProminence.tsx": {
19737
- "bytesInOutput": 1886
19757
+ "bytesInOutput": 2110
19738
19758
  },
19739
19759
  "src/Prebuilt/layouts/WaitingView.tsx": {
19740
19760
  "bytesInOutput": 1370
@@ -19752,7 +19772,7 @@
19752
19772
  "bytesInOutput": 1204
19753
19773
  },
19754
19774
  "src/Prebuilt/components/hooks/useTileLayout.tsx": {
19755
- "bytesInOutput": 3837
19775
+ "bytesInOutput": 3833
19756
19776
  },
19757
19777
  "src/Prebuilt/components/VideoLayouts/RoleProminence.tsx": {
19758
19778
  "bytesInOutput": 1948
@@ -19770,7 +19790,7 @@
19770
19790
  "bytesInOutput": 2638
19771
19791
  },
19772
19792
  "src/Prebuilt/components/ScreenshareTile.tsx": {
19773
- "bytesInOutput": 4411
19793
+ "bytesInOutput": 4439
19774
19794
  },
19775
19795
  "src/Prebuilt/components/LayoutModeSelector.tsx": {
19776
19796
  "bytesInOutput": 3276
@@ -19781,7 +19801,7 @@
19781
19801
  "src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
19782
19802
  "bytesInOutput": 2830
19783
19803
  },
19784
- "../../../../../../../tmp/tmp-2828-8M1VZ2zrMhWy/1920591f18f0/index.css": {
19804
+ "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16471/index.css": {
19785
19805
  "bytesInOutput": 0
19786
19806
  },
19787
19807
  "src/Prebuilt/common/PeersSorter.ts": {
@@ -19809,7 +19829,7 @@
19809
19829
  "bytesInOutput": 1607
19810
19830
  },
19811
19831
  "src/Prebuilt/components/Header/common.jsx": {
19812
- "bytesInOutput": 6263
19832
+ "bytesInOutput": 6218
19813
19833
  },
19814
19834
  "src/Prebuilt/components/PreviousRoleInMetadata.tsx": {
19815
19835
  "bytesInOutput": 754
@@ -19887,7 +19907,7 @@
19887
19907
  "bytesInOutput": 640
19888
19908
  },
19889
19909
  "src/Prebuilt/components/Notifications/TrackUnmuteModal.tsx": {
19890
- "bytesInOutput": 1760
19910
+ "bytesInOutput": 1761
19891
19911
  },
19892
19912
  "src/Prebuilt/components/Notifications/TranscriptionNotifications.tsx": {
19893
19913
  "bytesInOutput": 2185
@@ -19950,7 +19970,7 @@
19950
19970
  "bytesInOutput": 2628
19951
19971
  }
19952
19972
  },
19953
- "bytes": 1459974
19973
+ "bytes": 1461045
19954
19974
  },
19955
19975
  "dist/index.css.map": {
19956
19976
  "imports": [],
@@ -20012,22 +20032,22 @@
20012
20032
  }
20013
20033
  ],
20014
20034
  "inputs": {
20015
- "../../../../../../../tmp/tmp-2828-8M1VZ2zrMhWy/1920591f20d3/tldraw.css": {
20035
+ "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16ad3/tldraw.css": {
20016
20036
  "bytesInOutput": 75223
20017
20037
  },
20018
- "../../../../../../../tmp/tmp-2828-8M1VZ2zrMhWy/1920591f18f0/index.css": {
20038
+ "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16471/index.css": {
20019
20039
  "bytesInOutput": 401
20020
20040
  }
20021
20041
  },
20022
20042
  "bytes": 75901
20023
20043
  },
20024
- "dist/HLSView-E242LM6X.css.map": {
20044
+ "dist/HLSView-3CVLSXRH.css.map": {
20025
20045
  "imports": [],
20026
20046
  "exports": [],
20027
20047
  "inputs": {},
20028
20048
  "bytes": 122402
20029
20049
  },
20030
- "dist/HLSView-E242LM6X.css": {
20050
+ "dist/HLSView-3CVLSXRH.css": {
20031
20051
  "imports": [
20032
20052
  {
20033
20053
  "path": "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap",
@@ -20081,10 +20101,10 @@
20081
20101
  }
20082
20102
  ],
20083
20103
  "inputs": {
20084
- "../../../../../../../tmp/tmp-2828-8M1VZ2zrMhWy/1920591f20d3/tldraw.css": {
20104
+ "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16ad3/tldraw.css": {
20085
20105
  "bytesInOutput": 75223
20086
20106
  },
20087
- "../../../../../../../tmp/tmp-2828-8M1VZ2zrMhWy/1920591f18f0/index.css": {
20107
+ "../../../../../../../tmp/tmp-2795-W5UJ4PoADTum/1921e7e16471/index.css": {
20088
20108
  "bytesInOutput": 401
20089
20109
  }
20090
20110
  },
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.20",
13
+ "version": "0.3.21-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.20",
78
+ "@100mslive/hls-player": "0.3.21-alpha.1",
79
79
  "@100mslive/hms-noise-cancellation": "0.0.1",
80
- "@100mslive/hms-virtual-background": "1.13.20",
81
- "@100mslive/hms-whiteboard": "0.0.10",
82
- "@100mslive/react-icons": "0.10.20",
83
- "@100mslive/react-sdk": "0.10.20",
80
+ "@100mslive/hms-virtual-background": "1.13.21-alpha.1",
81
+ "@100mslive/hms-whiteboard": "0.0.11-alpha.1",
82
+ "@100mslive/react-icons": "0.10.21-alpha.1",
83
+ "@100mslive/react-sdk": "0.10.21-alpha.1",
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": "da50781c2357d6201da1c94dcfef574a0081e2dc"
120
+ "gitHead": "0a20a1cccaa0c7d4b42eaee308d1132efb938bb2"
121
121
  }
@@ -143,10 +143,10 @@ export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps
143
143
  event: string;
144
144
  }
145
145
  | undefined;
146
- const tokenByRoomCodeEndpoint: string = endpointsObj?.tokenByRoomCode || '';
147
- const initEndpoint: string = endpointsObj?.init || '';
148
- const eventEndpoint: string = endpointsObj?.event || '';
149
- const roomLayoutEndpoint: string = endpointsObj?.roomLayout || '';
146
+ const tokenByRoomCodeEndpoint = endpointsObj?.tokenByRoomCode;
147
+ const initEndpoint = endpointsObj?.init;
148
+ const eventEndpoint = endpointsObj?.event;
149
+ const roomLayoutEndpoint = endpointsObj?.roomLayout;
150
150
 
151
151
  const overrideLayout: Partial<Layout> = {
152
152
  logo,
@@ -288,7 +288,7 @@ function AppRoutes({
288
288
  authTokenByRoomCodeEndpoint,
289
289
  defaultAuthToken,
290
290
  }: {
291
- authTokenByRoomCodeEndpoint: string;
291
+ authTokenByRoomCodeEndpoint?: string;
292
292
  defaultAuthToken?: string;
293
293
  }) {
294
294
  const roomLayout = useRoomLayout();
@@ -7,7 +7,7 @@ type HMSPrebuiltContextType = {
7
7
  userName?: string;
8
8
  userId?: string;
9
9
  containerSelector: string;
10
- endpoints?: Record<string, string>;
10
+ endpoints?: Record<string, string | undefined>;
11
11
  onLeave?: () => void;
12
12
  onJoin?: () => void;
13
13
  };
@@ -25,7 +25,7 @@ import { APP_DATA } from '../common/constants';
25
25
  * ui_mode=activespeaker => lands in active speaker mode after joining the room
26
26
  */
27
27
  const AuthToken = React.memo<{
28
- authTokenByRoomCodeEndpoint: string;
28
+ authTokenByRoomCodeEndpoint?: string;
29
29
  defaultAuthToken?: string;
30
30
  activeState?: PrebuiltStates;
31
31
  }>(({ authTokenByRoomCodeEndpoint, defaultAuthToken, activeState }) => {