@100mslive/roomkit-react 0.3.24-alpha.5 → 0.3.24-alpha.6
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +14 -16
- package/dist/index.cjs.css +2 -2
- package/dist/index.cjs.css.map +1 -1
- package/dist/index.cjs.js +538 -508
- 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 +560 -522
- package/dist/index.js.map +4 -4
- package/dist/meta.cjs.json +31 -31
- package/dist/meta.esbuild.json +31 -31
- package/package.json +7 -7
- package/src/Prebuilt/components/AuthToken.tsx +2 -2
- package/src/Prebuilt/components/ErrorBoundary.jsx +2 -2
- package/src/Prebuilt/components/Notifications/DeviceInUseError.tsx +12 -5
- package/src/Prebuilt/components/Notifications/PermissionErrorModal.tsx +14 -6
- package/src/Prebuilt/components/VideoLayouts/Grid.tsx +1 -1
- package/src/Prebuilt/components/hooks/useTileLayout.tsx +4 -5
package/dist/meta.cjs.json
CHANGED
@@ -2585,7 +2585,7 @@
|
|
2585
2585
|
"imports": []
|
2586
2586
|
},
|
2587
2587
|
"src/Prebuilt/components/AuthToken.tsx": {
|
2588
|
-
"bytes":
|
2588
|
+
"bytes": 5172,
|
2589
2589
|
"imports": [
|
2590
2590
|
{
|
2591
2591
|
"path": "react",
|
@@ -5774,7 +5774,7 @@
|
|
5774
5774
|
"format": "cjs"
|
5775
5775
|
},
|
5776
5776
|
"../hms-video-store/dist/index.js": {
|
5777
|
-
"bytes":
|
5777
|
+
"bytes": 373746,
|
5778
5778
|
"imports": [
|
5779
5779
|
{
|
5780
5780
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -10737,7 +10737,7 @@
|
|
10737
10737
|
"format": "esm"
|
10738
10738
|
},
|
10739
10739
|
"src/Prebuilt/components/hooks/useTileLayout.tsx": {
|
10740
|
-
"bytes":
|
10740
|
+
"bytes": 4414,
|
10741
10741
|
"imports": [
|
10742
10742
|
{
|
10743
10743
|
"path": "react",
|
@@ -11316,7 +11316,7 @@
|
|
11316
11316
|
],
|
11317
11317
|
"format": "esm"
|
11318
11318
|
},
|
11319
|
-
"../../../../../../../tmp/tmp-
|
11319
|
+
"../../../../../../../tmp/tmp-2865-T2DnBApIb1wH/192e270d7723/tldraw.css": {
|
11320
11320
|
"bytes": 80111,
|
11321
11321
|
"imports": [
|
11322
11322
|
{
|
@@ -11366,7 +11366,7 @@
|
|
11366
11366
|
}
|
11367
11367
|
]
|
11368
11368
|
},
|
11369
|
-
"../../../../../../../tmp/tmp-
|
11369
|
+
"../../../../../../../tmp/tmp-2865-T2DnBApIb1wH/192e270d70d1/index.css": {
|
11370
11370
|
"bytes": 597,
|
11371
11371
|
"imports": [
|
11372
11372
|
{
|
@@ -11375,7 +11375,7 @@
|
|
11375
11375
|
"external": true
|
11376
11376
|
},
|
11377
11377
|
{
|
11378
|
-
"path": "../../../../../../../tmp/tmp-
|
11378
|
+
"path": "../../../../../../../tmp/tmp-2865-T2DnBApIb1wH/192e270d7723/tldraw.css",
|
11379
11379
|
"kind": "import-rule",
|
11380
11380
|
"original": "@tldraw/tldraw/tldraw.css"
|
11381
11381
|
}
|
@@ -11450,7 +11450,7 @@
|
|
11450
11450
|
"original": "../../common/constants"
|
11451
11451
|
},
|
11452
11452
|
{
|
11453
|
-
"path": "../../../../../../../tmp/tmp-
|
11453
|
+
"path": "../../../../../../../tmp/tmp-2865-T2DnBApIb1wH/192e270d70d1/index.css",
|
11454
11454
|
"kind": "import-statement",
|
11455
11455
|
"original": "@100mslive/hms-whiteboard/index.css"
|
11456
11456
|
},
|
@@ -12929,7 +12929,7 @@
|
|
12929
12929
|
"format": "esm"
|
12930
12930
|
},
|
12931
12931
|
"src/Prebuilt/components/ErrorBoundary.jsx": {
|
12932
|
-
"bytes":
|
12932
|
+
"bytes": 3399,
|
12933
12933
|
"imports": [
|
12934
12934
|
{
|
12935
12935
|
"path": "react",
|
@@ -13471,7 +13471,7 @@
|
|
13471
13471
|
"format": "esm"
|
13472
13472
|
},
|
13473
13473
|
"src/Prebuilt/components/Notifications/DeviceInUseError.tsx": {
|
13474
|
-
"bytes":
|
13474
|
+
"bytes": 3132,
|
13475
13475
|
"imports": [
|
13476
13476
|
{
|
13477
13477
|
"path": "react",
|
@@ -13787,7 +13787,7 @@
|
|
13787
13787
|
"imports": []
|
13788
13788
|
},
|
13789
13789
|
"src/Prebuilt/components/Notifications/PermissionErrorModal.tsx": {
|
13790
|
-
"bytes":
|
13790
|
+
"bytes": 5185,
|
13791
13791
|
"imports": [
|
13792
13792
|
{
|
13793
13793
|
"path": "react",
|
@@ -15719,7 +15719,7 @@
|
|
15719
15719
|
"imports": [],
|
15720
15720
|
"exports": [],
|
15721
15721
|
"inputs": {},
|
15722
|
-
"bytes":
|
15722
|
+
"bytes": 3621722
|
15723
15723
|
},
|
15724
15724
|
"dist/index.cjs.js": {
|
15725
15725
|
"imports": [
|
@@ -19052,25 +19052,25 @@
|
|
19052
19052
|
"cssBundle": "dist/index.cjs.css",
|
19053
19053
|
"inputs": {
|
19054
19054
|
"<define:process.env>": {
|
19055
|
-
"bytesInOutput":
|
19055
|
+
"bytesInOutput": 18008
|
19056
19056
|
},
|
19057
19057
|
"../../node_modules/lodash/lodash.js": {
|
19058
|
-
"bytesInOutput":
|
19058
|
+
"bytesInOutput": 224296
|
19059
19059
|
},
|
19060
19060
|
"../../node_modules/ua-parser-js/src/ua-parser.js": {
|
19061
|
-
"bytesInOutput":
|
19061
|
+
"bytesInOutput": 42470
|
19062
19062
|
},
|
19063
19063
|
"../../node_modules/lodash.isequal/index.js": {
|
19064
19064
|
"bytesInOutput": 26597
|
19065
19065
|
},
|
19066
19066
|
"../../node_modules/sdp/sdp.js": {
|
19067
|
-
"bytesInOutput":
|
19067
|
+
"bytesInOutput": 22278
|
19068
19068
|
},
|
19069
19069
|
"../../node_modules/sdp-transform/lib/grammar.js": {
|
19070
19070
|
"bytesInOutput": 16122
|
19071
19071
|
},
|
19072
19072
|
"../../node_modules/sdp-transform/lib/parser.js": {
|
19073
|
-
"bytesInOutput":
|
19073
|
+
"bytesInOutput": 3491
|
19074
19074
|
},
|
19075
19075
|
"../../node_modules/sdp-transform/lib/writer.js": {
|
19076
19076
|
"bytesInOutput": 3070
|
@@ -19100,7 +19100,7 @@
|
|
19100
19100
|
"bytesInOutput": 2827
|
19101
19101
|
},
|
19102
19102
|
"../../node_modules/prop-types/factoryWithTypeCheckers.js": {
|
19103
|
-
"bytesInOutput":
|
19103
|
+
"bytesInOutput": 19839
|
19104
19104
|
},
|
19105
19105
|
"../../node_modules/prop-types/factoryWithThrowingShims.js": {
|
19106
19106
|
"bytesInOutput": 1648
|
@@ -19376,7 +19376,7 @@
|
|
19376
19376
|
"bytesInOutput": 490
|
19377
19377
|
},
|
19378
19378
|
"src/Prebuilt/components/AuthToken.tsx": {
|
19379
|
-
"bytesInOutput":
|
19379
|
+
"bytesInOutput": 4434
|
19380
19380
|
},
|
19381
19381
|
"src/Prebuilt/AppContext.tsx": {
|
19382
19382
|
"bytesInOutput": 599
|
@@ -19586,7 +19586,7 @@
|
|
19586
19586
|
"bytesInOutput": 10613
|
19587
19587
|
},
|
19588
19588
|
"../hms-video-store/dist/index.js": {
|
19589
|
-
"bytesInOutput":
|
19589
|
+
"bytesInOutput": 54400
|
19590
19590
|
},
|
19591
19591
|
"../../node_modules/reselect/es/index.js": {
|
19592
19592
|
"bytesInOutput": 2539
|
@@ -19601,10 +19601,10 @@
|
|
19601
19601
|
"bytesInOutput": 6313
|
19602
19602
|
},
|
19603
19603
|
"../../node_modules/webrtc-adapter/src/js/chrome/chrome_shim.js": {
|
19604
|
-
"bytesInOutput":
|
19604
|
+
"bytesInOutput": 22691
|
19605
19605
|
},
|
19606
19606
|
"../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
|
19607
|
-
"bytesInOutput":
|
19607
|
+
"bytesInOutput": 6093
|
19608
19608
|
},
|
19609
19609
|
"../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
|
19610
19610
|
"bytesInOutput": 1256
|
@@ -19619,10 +19619,10 @@
|
|
19619
19619
|
"bytesInOutput": 842
|
19620
19620
|
},
|
19621
19621
|
"../../node_modules/webrtc-adapter/src/js/safari/safari_shim.js": {
|
19622
|
-
"bytesInOutput":
|
19622
|
+
"bytesInOutput": 11873
|
19623
19623
|
},
|
19624
19624
|
"../../node_modules/webrtc-adapter/src/js/common_shim.js": {
|
19625
|
-
"bytesInOutput":
|
19625
|
+
"bytesInOutput": 12468
|
19626
19626
|
},
|
19627
19627
|
"src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx": {
|
19628
19628
|
"bytesInOutput": 2390
|
@@ -19901,7 +19901,7 @@
|
|
19901
19901
|
"bytesInOutput": 1268
|
19902
19902
|
},
|
19903
19903
|
"src/Prebuilt/components/hooks/useTileLayout.tsx": {
|
19904
|
-
"bytesInOutput":
|
19904
|
+
"bytesInOutput": 3866
|
19905
19905
|
},
|
19906
19906
|
"src/Prebuilt/components/VideoLayouts/RoleProminence.tsx": {
|
19907
19907
|
"bytesInOutput": 2048
|
@@ -19930,7 +19930,7 @@
|
|
19930
19930
|
"src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
|
19931
19931
|
"bytesInOutput": 3051
|
19932
19932
|
},
|
19933
|
-
"../../../../../../../tmp/tmp-
|
19933
|
+
"../../../../../../../tmp/tmp-2865-T2DnBApIb1wH/192e270d70d1/index.css": {
|
19934
19934
|
"bytesInOutput": 0
|
19935
19935
|
},
|
19936
19936
|
"src/Prebuilt/common/PeersSorter.ts": {
|
@@ -20018,7 +20018,7 @@
|
|
20018
20018
|
"bytesInOutput": 747
|
20019
20019
|
},
|
20020
20020
|
"src/Prebuilt/components/ErrorBoundary.jsx": {
|
20021
|
-
"bytesInOutput":
|
20021
|
+
"bytesInOutput": 3822
|
20022
20022
|
},
|
20023
20023
|
"src/Prebuilt/components/init/Init.jsx": {
|
20024
20024
|
"bytesInOutput": 708
|
@@ -20060,7 +20060,7 @@
|
|
20060
20060
|
"bytesInOutput": 485
|
20061
20061
|
},
|
20062
20062
|
"src/Prebuilt/components/Notifications/DeviceInUseError.tsx": {
|
20063
|
-
"bytesInOutput":
|
20063
|
+
"bytesInOutput": 3586
|
20064
20064
|
},
|
20065
20065
|
"src/Prebuilt/components/Notifications/ErrorNotifications.tsx": {
|
20066
20066
|
"bytesInOutput": 1713
|
@@ -20084,7 +20084,7 @@
|
|
20084
20084
|
"bytesInOutput": 1628
|
20085
20085
|
},
|
20086
20086
|
"src/Prebuilt/components/Notifications/PermissionErrorModal.tsx": {
|
20087
|
-
"bytesInOutput":
|
20087
|
+
"bytesInOutput": 5253
|
20088
20088
|
},
|
20089
20089
|
"src/Prebuilt/components/Notifications/PollNotificationModal.tsx": {
|
20090
20090
|
"bytesInOutput": 2483
|
@@ -20165,7 +20165,7 @@
|
|
20165
20165
|
"bytesInOutput": 2777
|
20166
20166
|
}
|
20167
20167
|
},
|
20168
|
-
"bytes":
|
20168
|
+
"bytes": 1505476
|
20169
20169
|
},
|
20170
20170
|
"dist/index.cjs.css.map": {
|
20171
20171
|
"imports": [],
|
@@ -20227,10 +20227,10 @@
|
|
20227
20227
|
}
|
20228
20228
|
],
|
20229
20229
|
"inputs": {
|
20230
|
-
"../../../../../../../tmp/tmp-
|
20230
|
+
"../../../../../../../tmp/tmp-2865-T2DnBApIb1wH/192e270d7723/tldraw.css": {
|
20231
20231
|
"bytesInOutput": 75223
|
20232
20232
|
},
|
20233
|
-
"../../../../../../../tmp/tmp-
|
20233
|
+
"../../../../../../../tmp/tmp-2865-T2DnBApIb1wH/192e270d70d1/index.css": {
|
20234
20234
|
"bytesInOutput": 401
|
20235
20235
|
}
|
20236
20236
|
},
|
package/dist/meta.esbuild.json
CHANGED
@@ -2585,7 +2585,7 @@
|
|
2585
2585
|
"imports": []
|
2586
2586
|
},
|
2587
2587
|
"src/Prebuilt/components/AuthToken.tsx": {
|
2588
|
-
"bytes":
|
2588
|
+
"bytes": 5172,
|
2589
2589
|
"imports": [
|
2590
2590
|
{
|
2591
2591
|
"path": "react",
|
@@ -5774,7 +5774,7 @@
|
|
5774
5774
|
"format": "cjs"
|
5775
5775
|
},
|
5776
5776
|
"../hms-video-store/dist/index.js": {
|
5777
|
-
"bytes":
|
5777
|
+
"bytes": 373746,
|
5778
5778
|
"imports": [
|
5779
5779
|
{
|
5780
5780
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -10737,7 +10737,7 @@
|
|
10737
10737
|
"format": "esm"
|
10738
10738
|
},
|
10739
10739
|
"src/Prebuilt/components/hooks/useTileLayout.tsx": {
|
10740
|
-
"bytes":
|
10740
|
+
"bytes": 4414,
|
10741
10741
|
"imports": [
|
10742
10742
|
{
|
10743
10743
|
"path": "react",
|
@@ -11316,7 +11316,7 @@
|
|
11316
11316
|
],
|
11317
11317
|
"format": "esm"
|
11318
11318
|
},
|
11319
|
-
"../../../../../../../tmp/tmp-
|
11319
|
+
"../../../../../../../tmp/tmp-2865-lifFYM5v5Eng/192e270d7152/tldraw.css": {
|
11320
11320
|
"bytes": 80111,
|
11321
11321
|
"imports": [
|
11322
11322
|
{
|
@@ -11366,7 +11366,7 @@
|
|
11366
11366
|
}
|
11367
11367
|
]
|
11368
11368
|
},
|
11369
|
-
"../../../../../../../tmp/tmp-
|
11369
|
+
"../../../../../../../tmp/tmp-2865-lifFYM5v5Eng/192e270d6a60/index.css": {
|
11370
11370
|
"bytes": 597,
|
11371
11371
|
"imports": [
|
11372
11372
|
{
|
@@ -11375,7 +11375,7 @@
|
|
11375
11375
|
"external": true
|
11376
11376
|
},
|
11377
11377
|
{
|
11378
|
-
"path": "../../../../../../../tmp/tmp-
|
11378
|
+
"path": "../../../../../../../tmp/tmp-2865-lifFYM5v5Eng/192e270d7152/tldraw.css",
|
11379
11379
|
"kind": "import-rule",
|
11380
11380
|
"original": "@tldraw/tldraw/tldraw.css"
|
11381
11381
|
}
|
@@ -11450,7 +11450,7 @@
|
|
11450
11450
|
"original": "../../common/constants"
|
11451
11451
|
},
|
11452
11452
|
{
|
11453
|
-
"path": "../../../../../../../tmp/tmp-
|
11453
|
+
"path": "../../../../../../../tmp/tmp-2865-lifFYM5v5Eng/192e270d6a60/index.css",
|
11454
11454
|
"kind": "import-statement",
|
11455
11455
|
"original": "@100mslive/hms-whiteboard/index.css"
|
11456
11456
|
},
|
@@ -12929,7 +12929,7 @@
|
|
12929
12929
|
"format": "esm"
|
12930
12930
|
},
|
12931
12931
|
"src/Prebuilt/components/ErrorBoundary.jsx": {
|
12932
|
-
"bytes":
|
12932
|
+
"bytes": 3399,
|
12933
12933
|
"imports": [
|
12934
12934
|
{
|
12935
12935
|
"path": "react",
|
@@ -13471,7 +13471,7 @@
|
|
13471
13471
|
"format": "esm"
|
13472
13472
|
},
|
13473
13473
|
"src/Prebuilt/components/Notifications/DeviceInUseError.tsx": {
|
13474
|
-
"bytes":
|
13474
|
+
"bytes": 3132,
|
13475
13475
|
"imports": [
|
13476
13476
|
{
|
13477
13477
|
"path": "react",
|
@@ -13787,7 +13787,7 @@
|
|
13787
13787
|
"imports": []
|
13788
13788
|
},
|
13789
13789
|
"src/Prebuilt/components/Notifications/PermissionErrorModal.tsx": {
|
13790
|
-
"bytes":
|
13790
|
+
"bytes": 5185,
|
13791
13791
|
"imports": [
|
13792
13792
|
{
|
13793
13793
|
"path": "react",
|
@@ -15719,7 +15719,7 @@
|
|
15719
15719
|
"imports": [],
|
15720
15720
|
"exports": [],
|
15721
15721
|
"inputs": {},
|
15722
|
-
"bytes":
|
15722
|
+
"bytes": 3661666
|
15723
15723
|
},
|
15724
15724
|
"dist/index.js": {
|
15725
15725
|
"imports": [
|
@@ -19118,25 +19118,25 @@
|
|
19118
19118
|
"cssBundle": "dist/index.css",
|
19119
19119
|
"inputs": {
|
19120
19120
|
"<define:process.env>": {
|
19121
|
-
"bytesInOutput":
|
19121
|
+
"bytesInOutput": 18008
|
19122
19122
|
},
|
19123
19123
|
"../../node_modules/lodash/lodash.js": {
|
19124
|
-
"bytesInOutput":
|
19124
|
+
"bytesInOutput": 224291
|
19125
19125
|
},
|
19126
19126
|
"../../node_modules/ua-parser-js/src/ua-parser.js": {
|
19127
|
-
"bytesInOutput":
|
19127
|
+
"bytesInOutput": 42466
|
19128
19128
|
},
|
19129
19129
|
"../../node_modules/lodash.isequal/index.js": {
|
19130
19130
|
"bytesInOutput": 26591
|
19131
19131
|
},
|
19132
19132
|
"../../node_modules/sdp/sdp.js": {
|
19133
|
-
"bytesInOutput":
|
19133
|
+
"bytesInOutput": 22275
|
19134
19134
|
},
|
19135
19135
|
"../../node_modules/sdp-transform/lib/grammar.js": {
|
19136
19136
|
"bytesInOutput": 16120
|
19137
19137
|
},
|
19138
19138
|
"../../node_modules/sdp-transform/lib/parser.js": {
|
19139
|
-
"bytesInOutput":
|
19139
|
+
"bytesInOutput": 3491
|
19140
19140
|
},
|
19141
19141
|
"../../node_modules/sdp-transform/lib/writer.js": {
|
19142
19142
|
"bytesInOutput": 3068
|
@@ -19166,7 +19166,7 @@
|
|
19166
19166
|
"bytesInOutput": 2825
|
19167
19167
|
},
|
19168
19168
|
"../../node_modules/prop-types/factoryWithTypeCheckers.js": {
|
19169
|
-
"bytesInOutput":
|
19169
|
+
"bytesInOutput": 19837
|
19170
19170
|
},
|
19171
19171
|
"../../node_modules/prop-types/factoryWithThrowingShims.js": {
|
19172
19172
|
"bytesInOutput": 1646
|
@@ -19442,7 +19442,7 @@
|
|
19442
19442
|
"bytesInOutput": 490
|
19443
19443
|
},
|
19444
19444
|
"src/Prebuilt/components/AuthToken.tsx": {
|
19445
|
-
"bytesInOutput":
|
19445
|
+
"bytesInOutput": 4195
|
19446
19446
|
},
|
19447
19447
|
"src/Prebuilt/AppContext.tsx": {
|
19448
19448
|
"bytesInOutput": 577
|
@@ -19652,7 +19652,7 @@
|
|
19652
19652
|
"bytesInOutput": 9861
|
19653
19653
|
},
|
19654
19654
|
"../hms-video-store/dist/index.js": {
|
19655
|
-
"bytesInOutput":
|
19655
|
+
"bytesInOutput": 54288
|
19656
19656
|
},
|
19657
19657
|
"../../node_modules/reselect/es/index.js": {
|
19658
19658
|
"bytesInOutput": 2539
|
@@ -19667,10 +19667,10 @@
|
|
19667
19667
|
"bytesInOutput": 6313
|
19668
19668
|
},
|
19669
19669
|
"../../node_modules/webrtc-adapter/src/js/chrome/chrome_shim.js": {
|
19670
|
-
"bytesInOutput":
|
19670
|
+
"bytesInOutput": 22691
|
19671
19671
|
},
|
19672
19672
|
"../../node_modules/webrtc-adapter/src/js/chrome/getusermedia.js": {
|
19673
|
-
"bytesInOutput":
|
19673
|
+
"bytesInOutput": 6093
|
19674
19674
|
},
|
19675
19675
|
"../../node_modules/webrtc-adapter/src/js/chrome/getdisplaymedia.js": {
|
19676
19676
|
"bytesInOutput": 1256
|
@@ -19685,10 +19685,10 @@
|
|
19685
19685
|
"bytesInOutput": 842
|
19686
19686
|
},
|
19687
19687
|
"../../node_modules/webrtc-adapter/src/js/safari/safari_shim.js": {
|
19688
|
-
"bytesInOutput":
|
19688
|
+
"bytesInOutput": 11873
|
19689
19689
|
},
|
19690
19690
|
"../../node_modules/webrtc-adapter/src/js/common_shim.js": {
|
19691
|
-
"bytesInOutput":
|
19691
|
+
"bytesInOutput": 12468
|
19692
19692
|
},
|
19693
19693
|
"src/Prebuilt/components/MoreSettings/ChangeNameModal.tsx": {
|
19694
19694
|
"bytesInOutput": 2272
|
@@ -19967,7 +19967,7 @@
|
|
19967
19967
|
"bytesInOutput": 1204
|
19968
19968
|
},
|
19969
19969
|
"src/Prebuilt/components/hooks/useTileLayout.tsx": {
|
19970
|
-
"bytesInOutput":
|
19970
|
+
"bytesInOutput": 3834
|
19971
19971
|
},
|
19972
19972
|
"src/Prebuilt/components/VideoLayouts/RoleProminence.tsx": {
|
19973
19973
|
"bytesInOutput": 1948
|
@@ -19996,7 +19996,7 @@
|
|
19996
19996
|
"src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx": {
|
19997
19997
|
"bytesInOutput": 2830
|
19998
19998
|
},
|
19999
|
-
"../../../../../../../tmp/tmp-
|
19999
|
+
"../../../../../../../tmp/tmp-2865-lifFYM5v5Eng/192e270d6a60/index.css": {
|
20000
20000
|
"bytesInOutput": 0
|
20001
20001
|
},
|
20002
20002
|
"src/Prebuilt/common/PeersSorter.ts": {
|
@@ -20084,7 +20084,7 @@
|
|
20084
20084
|
"bytesInOutput": 754
|
20085
20085
|
},
|
20086
20086
|
"src/Prebuilt/components/ErrorBoundary.jsx": {
|
20087
|
-
"bytesInOutput":
|
20087
|
+
"bytesInOutput": 3512
|
20088
20088
|
},
|
20089
20089
|
"src/Prebuilt/components/init/Init.jsx": {
|
20090
20090
|
"bytesInOutput": 666
|
@@ -20126,7 +20126,7 @@
|
|
20126
20126
|
"bytesInOutput": 505
|
20127
20127
|
},
|
20128
20128
|
"src/Prebuilt/components/Notifications/DeviceInUseError.tsx": {
|
20129
|
-
"bytesInOutput":
|
20129
|
+
"bytesInOutput": 3352
|
20130
20130
|
},
|
20131
20131
|
"src/Prebuilt/components/Notifications/ErrorNotifications.tsx": {
|
20132
20132
|
"bytesInOutput": 1686
|
@@ -20150,7 +20150,7 @@
|
|
20150
20150
|
"bytesInOutput": 1553
|
20151
20151
|
},
|
20152
20152
|
"src/Prebuilt/components/Notifications/PermissionErrorModal.tsx": {
|
20153
|
-
"bytesInOutput":
|
20153
|
+
"bytesInOutput": 4890
|
20154
20154
|
},
|
20155
20155
|
"src/Prebuilt/components/Notifications/PollNotificationModal.tsx": {
|
20156
20156
|
"bytesInOutput": 2522
|
@@ -20231,7 +20231,7 @@
|
|
20231
20231
|
"bytesInOutput": 2632
|
20232
20232
|
}
|
20233
20233
|
},
|
20234
|
-
"bytes":
|
20234
|
+
"bytes": 1450520
|
20235
20235
|
},
|
20236
20236
|
"dist/index.css.map": {
|
20237
20237
|
"imports": [],
|
@@ -20293,10 +20293,10 @@
|
|
20293
20293
|
}
|
20294
20294
|
],
|
20295
20295
|
"inputs": {
|
20296
|
-
"../../../../../../../tmp/tmp-
|
20296
|
+
"../../../../../../../tmp/tmp-2865-lifFYM5v5Eng/192e270d7152/tldraw.css": {
|
20297
20297
|
"bytesInOutput": 75223
|
20298
20298
|
},
|
20299
|
-
"../../../../../../../tmp/tmp-
|
20299
|
+
"../../../../../../../tmp/tmp-2865-lifFYM5v5Eng/192e270d6a60/index.css": {
|
20300
20300
|
"bytesInOutput": 401
|
20301
20301
|
}
|
20302
20302
|
},
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.3.24-alpha.
|
13
|
+
"version": "0.3.24-alpha.6",
|
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.24-alpha.
|
78
|
+
"@100mslive/hls-player": "0.3.24-alpha.6",
|
79
79
|
"@100mslive/hms-noise-cancellation": "0.0.1",
|
80
|
-
"@100mslive/hms-virtual-background": "1.13.24-alpha.
|
81
|
-
"@100mslive/hms-whiteboard": "0.0.14-alpha.
|
82
|
-
"@100mslive/react-icons": "0.10.24-alpha.
|
83
|
-
"@100mslive/react-sdk": "0.10.24-alpha.
|
80
|
+
"@100mslive/hms-virtual-background": "1.13.24-alpha.6",
|
81
|
+
"@100mslive/hms-whiteboard": "0.0.14-alpha.6",
|
82
|
+
"@100mslive/react-icons": "0.10.24-alpha.6",
|
83
|
+
"@100mslive/react-sdk": "0.10.24-alpha.6",
|
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": "bddfa9de9e715b0daebe639ecd08454da5080576"
|
121
121
|
}
|
@@ -107,8 +107,8 @@ const AuthToken = React.memo<{
|
|
107
107
|
const convertError = (error: HMSException) => {
|
108
108
|
console.error('[error]', { error });
|
109
109
|
console.warn(
|
110
|
-
'If you think this is a mistake on our side, please reach out to us
|
111
|
-
'https://
|
110
|
+
'If you think this is a mistake on our side, please reach out to us on Dashboard:',
|
111
|
+
'https://dashboard.100ms.live/dashboard',
|
112
112
|
);
|
113
113
|
return match([error.action, error.code])
|
114
114
|
.with(['GET_TOKEN', 403], () => ({
|
@@ -49,8 +49,8 @@ export class ErrorBoundary extends Component {
|
|
49
49
|
<Text>Message: ${this.state.error}</Text>
|
50
50
|
<br />
|
51
51
|
Please reload to see if it works. If you think this is a mistake on our side, please reach out to us on
|
52
|
-
<a href="https://
|
53
|
-
|
52
|
+
<a href="https://dashboard.100ms.live/dashboard" target="_blank" rel="noreferrer">
|
53
|
+
Dashboard
|
54
54
|
</a>
|
55
55
|
</div>
|
56
56
|
<Flex>
|
@@ -1,5 +1,10 @@
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
2
|
-
import {
|
2
|
+
import {
|
3
|
+
HMSNotificationTypes,
|
4
|
+
HMSTrackException,
|
5
|
+
HMSTrackExceptionTrackType,
|
6
|
+
useHMSNotifications,
|
7
|
+
} from '@100mslive/react-sdk';
|
3
8
|
import { Button, Dialog, Text } from '../../..';
|
4
9
|
// @ts-ignore: No implicit Any
|
5
10
|
import { DialogContent, DialogRow } from '../../primitives/DialogContent';
|
@@ -24,6 +29,11 @@ export function DeviceInUseError() {
|
|
24
29
|
if (!error || error.code !== 3003) {
|
25
30
|
return;
|
26
31
|
}
|
32
|
+
const errorTrackExceptionType = (error as HMSTrackException)?.trackType;
|
33
|
+
const hasAudio = errorTrackExceptionType === HMSTrackExceptionTrackType.AUDIO;
|
34
|
+
const hasVideo = errorTrackExceptionType === HMSTrackExceptionTrackType.VIDEO;
|
35
|
+
const hasAudioVideo = errorTrackExceptionType === HMSTrackExceptionTrackType.AUDIO_VIDEO;
|
36
|
+
const hasScreen = errorTrackExceptionType === HMSTrackExceptionTrackType.SCREEN;
|
27
37
|
|
28
38
|
const errorMessage = error?.message;
|
29
39
|
ToastManager.addToast({
|
@@ -35,10 +45,7 @@ export function DeviceInUseError() {
|
|
35
45
|
),
|
36
46
|
});
|
37
47
|
|
38
|
-
|
39
|
-
const hasVideo = errorMessage.includes('video');
|
40
|
-
const hasScreen = errorMessage.includes('screen');
|
41
|
-
if (hasAudio && hasVideo) {
|
48
|
+
if (hasAudioVideo) {
|
42
49
|
setDeviceType('camera and microphone');
|
43
50
|
} else if (hasAudio) {
|
44
51
|
setDeviceType('microphone');
|
@@ -1,6 +1,12 @@
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
2
2
|
import { useMedia } from 'react-use';
|
3
|
-
import {
|
3
|
+
import {
|
4
|
+
HMSException,
|
5
|
+
HMSNotificationTypes,
|
6
|
+
HMSTrackException,
|
7
|
+
HMSTrackExceptionTrackType,
|
8
|
+
useHMSNotifications,
|
9
|
+
} from '@100mslive/react-sdk';
|
4
10
|
import { Button, config as cssConfig, Dialog, Flex, Text } from '../../..';
|
5
11
|
// @ts-ignore: No implicit Any
|
6
12
|
import androidPermissionAlert from '../../images/android-perm-1.png';
|
@@ -26,11 +32,13 @@ export const PermissionErrorModal = ({ error }: { error?: HMSException }) => {
|
|
26
32
|
) {
|
27
33
|
return;
|
28
34
|
}
|
29
|
-
|
30
|
-
const
|
31
|
-
const
|
32
|
-
const
|
33
|
-
|
35
|
+
|
36
|
+
const errorTrackExceptionType = (error as HMSTrackException)?.trackType;
|
37
|
+
const hasAudio = errorTrackExceptionType === HMSTrackExceptionTrackType.AUDIO;
|
38
|
+
const hasVideo = errorTrackExceptionType === HMSTrackExceptionTrackType.VIDEO;
|
39
|
+
const hasAudioVideo = errorTrackExceptionType === HMSTrackExceptionTrackType.AUDIO_VIDEO;
|
40
|
+
const hasScreen = errorTrackExceptionType === HMSTrackExceptionTrackType.SCREEN;
|
41
|
+
if (hasAudioVideo) {
|
34
42
|
setDeviceType('camera and microphone');
|
35
43
|
} else if (hasAudio) {
|
36
44
|
setDeviceType('microphone');
|
@@ -20,7 +20,7 @@ export const Grid = React.forwardRef<HTMLDivElement, { tiles: TrackWithPeerAndDi
|
|
20
20
|
justifyContent: 'center',
|
21
21
|
flexFlow: 'row wrap',
|
22
22
|
minHeight: 0,
|
23
|
-
'@
|
23
|
+
'@lg': { gap: edgeToEdge ? 0 : '$4' },
|
24
24
|
}}
|
25
25
|
>
|
26
26
|
{tiles?.map(tile => {
|
@@ -77,7 +77,7 @@ export const useTileLayout = ({
|
|
77
77
|
return rowElements;
|
78
78
|
});
|
79
79
|
|
80
|
-
const gap = edgeToEdge ? 0 : 8; // gap between flex items
|
80
|
+
const gap = edgeToEdge && isMobile ? 0 : 8; // gap between flex items
|
81
81
|
const maxHeight = height - (maxRows - 1) * gap;
|
82
82
|
const maxRowHeight = maxHeight / matrix.length;
|
83
83
|
const aspectRatios =
|
@@ -115,11 +115,10 @@ export const useTileLayout = ({
|
|
115
115
|
}
|
116
116
|
}
|
117
117
|
}
|
118
|
-
|
119
|
-
// There could be more such cases, this is a generic fix
|
118
|
+
|
120
119
|
for (let i = 0; i < row.length; i++) {
|
121
|
-
row[i].width = tileWidth
|
122
|
-
row[i].height = tileHeight
|
120
|
+
row[i].width = tileWidth;
|
121
|
+
row[i].height = tileHeight;
|
123
122
|
}
|
124
123
|
}
|
125
124
|
}
|