@100mslive/roomkit-react 0.2.6-alpha.2 → 0.2.6-alpha.4
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.
- package/dist/{HLSView-U3DKJBM7.js → HLSView-H6Q2FEMZ.js} +3 -3
- package/dist/{HLSView-U3DKJBM7.js.map → HLSView-H6Q2FEMZ.js.map} +2 -2
- package/dist/Prebuilt/common/constants.d.ts +0 -1
- package/dist/Prebuilt/components/VirtualBackground/VBHandler.d.ts +1 -1
- package/dist/{chunk-DO5NCPPI.js → chunk-HRUQKLGN.js} +532 -515
- package/dist/chunk-HRUQKLGN.js.map +7 -0
- package/dist/index.cjs.js +4294 -4275
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +176 -156
- package/dist/meta.esbuild.json +187 -167
- package/package.json +6 -6
- package/src/Prebuilt/App.tsx +7 -8
- package/src/Prebuilt/common/constants.ts +1 -1
- package/src/Prebuilt/components/AppData/AppData.tsx +23 -1
- package/src/Prebuilt/components/Header/HeaderComponents.jsx +1 -1
- package/src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx +4 -5
- package/src/Prebuilt/components/Preview/PreviewJoin.tsx +1 -2
- package/src/Prebuilt/components/ScreenshareTile.tsx +1 -1
- package/src/Prebuilt/components/VirtualBackground/VBHandler.tsx +2 -2
- package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +29 -12
- package/src/Prebuilt/layouts/HLSView.jsx +1 -2
- package/dist/chunk-DO5NCPPI.js.map +0 -7
- package/src/Prebuilt/plugins/VirtualBackground/VirtualBackground.jsx +0 -112
- package/src/Prebuilt/plugins/VirtualBackground/vbutils.js +0 -66
package/dist/meta.esbuild.json
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
"format": "esm"
|
27
27
|
},
|
28
28
|
"src/Prebuilt/common/constants.ts": {
|
29
|
-
"bytes":
|
29
|
+
"bytes": 4269,
|
30
30
|
"imports": [
|
31
31
|
{
|
32
32
|
"path": "@100mslive/react-sdk",
|
@@ -2068,6 +2068,111 @@
|
|
2068
2068
|
],
|
2069
2069
|
"format": "esm"
|
2070
2070
|
},
|
2071
|
+
"../../node_modules/lodash/lodash.js": {
|
2072
|
+
"bytes": 544098,
|
2073
|
+
"imports": [
|
2074
|
+
{
|
2075
|
+
"path": "<define:process.env>",
|
2076
|
+
"kind": "import-statement",
|
2077
|
+
"external": true
|
2078
|
+
}
|
2079
|
+
],
|
2080
|
+
"format": "cjs"
|
2081
|
+
},
|
2082
|
+
"src/Prebuilt/provider/roomLayoutProvider/constants/index.ts": {
|
2083
|
+
"bytes": 1549,
|
2084
|
+
"imports": [
|
2085
|
+
{
|
2086
|
+
"path": "@100mslive/types-prebuilt/elements/join_form",
|
2087
|
+
"kind": "import-statement",
|
2088
|
+
"external": true
|
2089
|
+
},
|
2090
|
+
{
|
2091
|
+
"path": "<define:process.env>",
|
2092
|
+
"kind": "import-statement",
|
2093
|
+
"external": true
|
2094
|
+
}
|
2095
|
+
],
|
2096
|
+
"format": "esm"
|
2097
|
+
},
|
2098
|
+
"src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts": {
|
2099
|
+
"bytes": 2489,
|
2100
|
+
"imports": [
|
2101
|
+
{
|
2102
|
+
"path": "react",
|
2103
|
+
"kind": "import-statement",
|
2104
|
+
"external": true
|
2105
|
+
},
|
2106
|
+
{
|
2107
|
+
"path": "src/Prebuilt/provider/roomLayoutProvider/constants/index.ts",
|
2108
|
+
"kind": "import-statement",
|
2109
|
+
"original": "../constants"
|
2110
|
+
},
|
2111
|
+
{
|
2112
|
+
"path": "<define:process.env>",
|
2113
|
+
"kind": "import-statement",
|
2114
|
+
"external": true
|
2115
|
+
},
|
2116
|
+
{
|
2117
|
+
"path": "<runtime>",
|
2118
|
+
"kind": "import-statement",
|
2119
|
+
"external": true
|
2120
|
+
}
|
2121
|
+
],
|
2122
|
+
"format": "esm"
|
2123
|
+
},
|
2124
|
+
"src/Prebuilt/provider/roomLayoutProvider/index.tsx": {
|
2125
|
+
"bytes": 1857,
|
2126
|
+
"imports": [
|
2127
|
+
{
|
2128
|
+
"path": "react",
|
2129
|
+
"kind": "import-statement",
|
2130
|
+
"external": true
|
2131
|
+
},
|
2132
|
+
{
|
2133
|
+
"path": "../../node_modules/lodash/lodash.js",
|
2134
|
+
"kind": "import-statement",
|
2135
|
+
"original": "lodash"
|
2136
|
+
},
|
2137
|
+
{
|
2138
|
+
"path": "src/Prebuilt/components/AppData/useUISettings.js",
|
2139
|
+
"kind": "import-statement",
|
2140
|
+
"original": "../../components/AppData/useUISettings"
|
2141
|
+
},
|
2142
|
+
{
|
2143
|
+
"path": "src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts",
|
2144
|
+
"kind": "import-statement",
|
2145
|
+
"original": "./hooks/useFetchRoomLayout"
|
2146
|
+
},
|
2147
|
+
{
|
2148
|
+
"path": "<define:process.env>",
|
2149
|
+
"kind": "import-statement",
|
2150
|
+
"external": true
|
2151
|
+
}
|
2152
|
+
],
|
2153
|
+
"format": "esm"
|
2154
|
+
},
|
2155
|
+
"src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts": {
|
2156
|
+
"bytes": 2273,
|
2157
|
+
"imports": [
|
2158
|
+
{
|
2159
|
+
"path": "@100mslive/types-prebuilt",
|
2160
|
+
"kind": "import-statement",
|
2161
|
+
"external": true
|
2162
|
+
},
|
2163
|
+
{
|
2164
|
+
"path": "src/Prebuilt/provider/roomLayoutProvider/index.tsx",
|
2165
|
+
"kind": "import-statement",
|
2166
|
+
"original": ".."
|
2167
|
+
},
|
2168
|
+
{
|
2169
|
+
"path": "<define:process.env>",
|
2170
|
+
"kind": "import-statement",
|
2171
|
+
"external": true
|
2172
|
+
}
|
2173
|
+
],
|
2174
|
+
"format": "esm"
|
2175
|
+
},
|
2071
2176
|
"src/Prebuilt/components/AppData/useSidepane.js": {
|
2072
2177
|
"bytes": 2509,
|
2073
2178
|
"imports": [
|
@@ -2100,23 +2205,38 @@
|
|
2100
2205
|
"format": "esm"
|
2101
2206
|
},
|
2102
2207
|
"src/Prebuilt/components/AppData/AppData.tsx": {
|
2103
|
-
"bytes":
|
2208
|
+
"bytes": 5829,
|
2104
2209
|
"imports": [
|
2105
2210
|
{
|
2106
2211
|
"path": "react",
|
2107
2212
|
"kind": "import-statement",
|
2108
2213
|
"external": true
|
2109
2214
|
},
|
2215
|
+
{
|
2216
|
+
"path": "react-use",
|
2217
|
+
"kind": "import-statement",
|
2218
|
+
"external": true
|
2219
|
+
},
|
2110
2220
|
{
|
2111
2221
|
"path": "@100mslive/react-sdk",
|
2112
2222
|
"kind": "import-statement",
|
2113
2223
|
"external": true
|
2114
2224
|
},
|
2225
|
+
{
|
2226
|
+
"path": "src/Theme/index.tsx",
|
2227
|
+
"kind": "import-statement",
|
2228
|
+
"original": "../../../Theme"
|
2229
|
+
},
|
2115
2230
|
{
|
2116
2231
|
"path": "src/Prebuilt/components/Settings/LayoutSettings.tsx",
|
2117
2232
|
"kind": "import-statement",
|
2118
2233
|
"original": "../Settings/LayoutSettings"
|
2119
2234
|
},
|
2235
|
+
{
|
2236
|
+
"path": "src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts",
|
2237
|
+
"kind": "import-statement",
|
2238
|
+
"original": "../../provider/roomLayoutProvider/hooks/useRoomLayoutScreen"
|
2239
|
+
},
|
2120
2240
|
{
|
2121
2241
|
"path": "src/Prebuilt/components/hooks/useUserPreferences.jsx",
|
2122
2242
|
"kind": "import-statement",
|
@@ -3088,111 +3208,6 @@
|
|
3088
3208
|
],
|
3089
3209
|
"format": "esm"
|
3090
3210
|
},
|
3091
|
-
"../../node_modules/lodash/lodash.js": {
|
3092
|
-
"bytes": 544098,
|
3093
|
-
"imports": [
|
3094
|
-
{
|
3095
|
-
"path": "<define:process.env>",
|
3096
|
-
"kind": "import-statement",
|
3097
|
-
"external": true
|
3098
|
-
}
|
3099
|
-
],
|
3100
|
-
"format": "cjs"
|
3101
|
-
},
|
3102
|
-
"src/Prebuilt/provider/roomLayoutProvider/constants/index.ts": {
|
3103
|
-
"bytes": 1549,
|
3104
|
-
"imports": [
|
3105
|
-
{
|
3106
|
-
"path": "@100mslive/types-prebuilt/elements/join_form",
|
3107
|
-
"kind": "import-statement",
|
3108
|
-
"external": true
|
3109
|
-
},
|
3110
|
-
{
|
3111
|
-
"path": "<define:process.env>",
|
3112
|
-
"kind": "import-statement",
|
3113
|
-
"external": true
|
3114
|
-
}
|
3115
|
-
],
|
3116
|
-
"format": "esm"
|
3117
|
-
},
|
3118
|
-
"src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts": {
|
3119
|
-
"bytes": 2489,
|
3120
|
-
"imports": [
|
3121
|
-
{
|
3122
|
-
"path": "react",
|
3123
|
-
"kind": "import-statement",
|
3124
|
-
"external": true
|
3125
|
-
},
|
3126
|
-
{
|
3127
|
-
"path": "src/Prebuilt/provider/roomLayoutProvider/constants/index.ts",
|
3128
|
-
"kind": "import-statement",
|
3129
|
-
"original": "../constants"
|
3130
|
-
},
|
3131
|
-
{
|
3132
|
-
"path": "<define:process.env>",
|
3133
|
-
"kind": "import-statement",
|
3134
|
-
"external": true
|
3135
|
-
},
|
3136
|
-
{
|
3137
|
-
"path": "<runtime>",
|
3138
|
-
"kind": "import-statement",
|
3139
|
-
"external": true
|
3140
|
-
}
|
3141
|
-
],
|
3142
|
-
"format": "esm"
|
3143
|
-
},
|
3144
|
-
"src/Prebuilt/provider/roomLayoutProvider/index.tsx": {
|
3145
|
-
"bytes": 1857,
|
3146
|
-
"imports": [
|
3147
|
-
{
|
3148
|
-
"path": "react",
|
3149
|
-
"kind": "import-statement",
|
3150
|
-
"external": true
|
3151
|
-
},
|
3152
|
-
{
|
3153
|
-
"path": "../../node_modules/lodash/lodash.js",
|
3154
|
-
"kind": "import-statement",
|
3155
|
-
"original": "lodash"
|
3156
|
-
},
|
3157
|
-
{
|
3158
|
-
"path": "src/Prebuilt/components/AppData/useUISettings.js",
|
3159
|
-
"kind": "import-statement",
|
3160
|
-
"original": "../../components/AppData/useUISettings"
|
3161
|
-
},
|
3162
|
-
{
|
3163
|
-
"path": "src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts",
|
3164
|
-
"kind": "import-statement",
|
3165
|
-
"original": "./hooks/useFetchRoomLayout"
|
3166
|
-
},
|
3167
|
-
{
|
3168
|
-
"path": "<define:process.env>",
|
3169
|
-
"kind": "import-statement",
|
3170
|
-
"external": true
|
3171
|
-
}
|
3172
|
-
],
|
3173
|
-
"format": "esm"
|
3174
|
-
},
|
3175
|
-
"src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts": {
|
3176
|
-
"bytes": 2273,
|
3177
|
-
"imports": [
|
3178
|
-
{
|
3179
|
-
"path": "@100mslive/types-prebuilt",
|
3180
|
-
"kind": "import-statement",
|
3181
|
-
"external": true
|
3182
|
-
},
|
3183
|
-
{
|
3184
|
-
"path": "src/Prebuilt/provider/roomLayoutProvider/index.tsx",
|
3185
|
-
"kind": "import-statement",
|
3186
|
-
"original": ".."
|
3187
|
-
},
|
3188
|
-
{
|
3189
|
-
"path": "<define:process.env>",
|
3190
|
-
"kind": "import-statement",
|
3191
|
-
"external": true
|
3192
|
-
}
|
3193
|
-
],
|
3194
|
-
"format": "esm"
|
3195
|
-
},
|
3196
3211
|
"src/Prebuilt/common/hooks.ts": {
|
3197
3212
|
"bytes": 3796,
|
3198
3213
|
"imports": [
|
@@ -5008,7 +5023,7 @@
|
|
5008
5023
|
"format": "esm"
|
5009
5024
|
},
|
5010
5025
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
|
5011
|
-
"bytes":
|
5026
|
+
"bytes": 11876,
|
5012
5027
|
"imports": [
|
5013
5028
|
{
|
5014
5029
|
"path": "react",
|
@@ -8766,7 +8781,7 @@
|
|
8766
8781
|
"format": "esm"
|
8767
8782
|
},
|
8768
8783
|
"src/Prebuilt/components/VirtualBackground/VBHandler.tsx": {
|
8769
|
-
"bytes":
|
8784
|
+
"bytes": 2687,
|
8770
8785
|
"imports": [
|
8771
8786
|
{
|
8772
8787
|
"path": "@100mslive/hms-virtual-background",
|
@@ -8798,7 +8813,7 @@
|
|
8798
8813
|
"format": "esm"
|
8799
8814
|
},
|
8800
8815
|
"src/Prebuilt/components/VirtualBackground/VBPicker.tsx": {
|
8801
|
-
"bytes":
|
8816
|
+
"bytes": 7273,
|
8802
8817
|
"imports": [
|
8803
8818
|
{
|
8804
8819
|
"path": "react",
|
@@ -9144,7 +9159,7 @@
|
|
9144
9159
|
"format": "esm"
|
9145
9160
|
},
|
9146
9161
|
"src/Prebuilt/components/Preview/PreviewJoin.tsx": {
|
9147
|
-
"bytes":
|
9162
|
+
"bytes": 9985,
|
9148
9163
|
"imports": [
|
9149
9164
|
{
|
9150
9165
|
"path": "react",
|
@@ -9929,7 +9944,7 @@
|
|
9929
9944
|
"format": "esm"
|
9930
9945
|
},
|
9931
9946
|
"src/Prebuilt/components/ScreenshareTile.tsx": {
|
9932
|
-
"bytes":
|
9947
|
+
"bytes": 4479,
|
9933
9948
|
"imports": [
|
9934
9949
|
{
|
9935
9950
|
"path": "react",
|
@@ -10726,7 +10741,7 @@
|
|
10726
10741
|
"format": "esm"
|
10727
10742
|
},
|
10728
10743
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
10729
|
-
"bytes":
|
10744
|
+
"bytes": 18115,
|
10730
10745
|
"imports": [
|
10731
10746
|
{
|
10732
10747
|
"path": "react",
|
@@ -12329,7 +12344,7 @@
|
|
12329
12344
|
"format": "esm"
|
12330
12345
|
},
|
12331
12346
|
"src/Prebuilt/App.tsx": {
|
12332
|
-
"bytes":
|
12347
|
+
"bytes": 10479,
|
12333
12348
|
"imports": [
|
12334
12349
|
{
|
12335
12350
|
"path": "react",
|
@@ -12780,7 +12795,7 @@
|
|
12780
12795
|
"dist/index.js": {
|
12781
12796
|
"imports": [
|
12782
12797
|
{
|
12783
|
-
"path": "dist/chunk-
|
12798
|
+
"path": "dist/chunk-HRUQKLGN.js",
|
12784
12799
|
"kind": "import-statement"
|
12785
12800
|
}
|
12786
12801
|
],
|
@@ -12853,16 +12868,16 @@
|
|
12853
12868
|
"inputs": {},
|
12854
12869
|
"bytes": 1822
|
12855
12870
|
},
|
12856
|
-
"dist/HLSView-
|
12871
|
+
"dist/HLSView-H6Q2FEMZ.js.map": {
|
12857
12872
|
"imports": [],
|
12858
12873
|
"exports": [],
|
12859
12874
|
"inputs": {},
|
12860
|
-
"bytes":
|
12875
|
+
"bytes": 59619
|
12861
12876
|
},
|
12862
|
-
"dist/HLSView-
|
12877
|
+
"dist/HLSView-H6Q2FEMZ.js": {
|
12863
12878
|
"imports": [
|
12864
12879
|
{
|
12865
|
-
"path": "dist/chunk-
|
12880
|
+
"path": "dist/chunk-HRUQKLGN.js",
|
12866
12881
|
"kind": "import-statement"
|
12867
12882
|
},
|
12868
12883
|
{
|
@@ -12982,7 +12997,7 @@
|
|
12982
12997
|
"entryPoint": "src/Prebuilt/layouts/HLSView.jsx",
|
12983
12998
|
"inputs": {
|
12984
12999
|
"src/Prebuilt/layouts/HLSView.jsx": {
|
12985
|
-
"bytesInOutput":
|
13000
|
+
"bytesInOutput": 17725
|
12986
13001
|
},
|
12987
13002
|
"src/Prebuilt/components/HlsStatsOverlay.jsx": {
|
12988
13003
|
"bytesInOutput": 3521
|
@@ -13024,15 +13039,15 @@
|
|
13024
13039
|
"bytesInOutput": 3992
|
13025
13040
|
}
|
13026
13041
|
},
|
13027
|
-
"bytes":
|
13042
|
+
"bytes": 37344
|
13028
13043
|
},
|
13029
|
-
"dist/chunk-
|
13044
|
+
"dist/chunk-HRUQKLGN.js.map": {
|
13030
13045
|
"imports": [],
|
13031
13046
|
"exports": [],
|
13032
13047
|
"inputs": {},
|
13033
|
-
"bytes":
|
13048
|
+
"bytes": 3103727
|
13034
13049
|
},
|
13035
|
-
"dist/chunk-
|
13050
|
+
"dist/chunk-HRUQKLGN.js": {
|
13036
13051
|
"imports": [
|
13037
13052
|
{
|
13038
13053
|
"path": "react",
|
@@ -13324,6 +13339,11 @@
|
|
13324
13339
|
"kind": "import-statement",
|
13325
13340
|
"external": true
|
13326
13341
|
},
|
13342
|
+
{
|
13343
|
+
"path": "react-use",
|
13344
|
+
"kind": "import-statement",
|
13345
|
+
"external": true
|
13346
|
+
},
|
13327
13347
|
{
|
13328
13348
|
"path": "@100mslive/react-sdk",
|
13329
13349
|
"kind": "import-statement",
|
@@ -13374,6 +13394,21 @@
|
|
13374
13394
|
"kind": "import-statement",
|
13375
13395
|
"external": true
|
13376
13396
|
},
|
13397
|
+
{
|
13398
|
+
"path": "react",
|
13399
|
+
"kind": "import-statement",
|
13400
|
+
"external": true
|
13401
|
+
},
|
13402
|
+
{
|
13403
|
+
"path": "@100mslive/types-prebuilt/elements/join_form",
|
13404
|
+
"kind": "import-statement",
|
13405
|
+
"external": true
|
13406
|
+
},
|
13407
|
+
{
|
13408
|
+
"path": "react",
|
13409
|
+
"kind": "import-statement",
|
13410
|
+
"external": true
|
13411
|
+
},
|
13377
13412
|
{
|
13378
13413
|
"path": "@100mslive/react-sdk",
|
13379
13414
|
"kind": "import-statement",
|
@@ -13684,21 +13719,6 @@
|
|
13684
13719
|
"kind": "import-statement",
|
13685
13720
|
"external": true
|
13686
13721
|
},
|
13687
|
-
{
|
13688
|
-
"path": "react",
|
13689
|
-
"kind": "import-statement",
|
13690
|
-
"external": true
|
13691
|
-
},
|
13692
|
-
{
|
13693
|
-
"path": "@100mslive/types-prebuilt/elements/join_form",
|
13694
|
-
"kind": "import-statement",
|
13695
|
-
"external": true
|
13696
|
-
},
|
13697
|
-
{
|
13698
|
-
"path": "react",
|
13699
|
-
"kind": "import-statement",
|
13700
|
-
"external": true
|
13701
|
-
},
|
13702
13722
|
{
|
13703
13723
|
"path": "react-use",
|
13704
13724
|
"kind": "import-statement",
|
@@ -15280,7 +15300,7 @@
|
|
15280
15300
|
"external": true
|
15281
15301
|
},
|
15282
15302
|
{
|
15283
|
-
"path": "dist/HLSView-
|
15303
|
+
"path": "dist/HLSView-H6Q2FEMZ.js",
|
15284
15304
|
"kind": "dynamic-import"
|
15285
15305
|
},
|
15286
15306
|
{
|
@@ -15702,7 +15722,7 @@
|
|
15702
15722
|
],
|
15703
15723
|
"inputs": {
|
15704
15724
|
"<define:process.env>": {
|
15705
|
-
"bytesInOutput":
|
15725
|
+
"bytesInOutput": 18159
|
15706
15726
|
},
|
15707
15727
|
"../../node_modules/lodash/lodash.js": {
|
15708
15728
|
"bytesInOutput": 224267
|
@@ -15750,7 +15770,7 @@
|
|
15750
15770
|
"bytesInOutput": 5061
|
15751
15771
|
},
|
15752
15772
|
"src/Prebuilt/common/constants.ts": {
|
15753
|
-
"bytesInOutput":
|
15773
|
+
"bytesInOutput": 3385
|
15754
15774
|
},
|
15755
15775
|
"src/Theme/ThemeProvider.tsx": {
|
15756
15776
|
"bytesInOutput": 1926
|
@@ -15954,10 +15974,10 @@
|
|
15954
15974
|
"bytesInOutput": 887
|
15955
15975
|
},
|
15956
15976
|
"src/Prebuilt/App.tsx": {
|
15957
|
-
"bytesInOutput":
|
15977
|
+
"bytesInOutput": 7656
|
15958
15978
|
},
|
15959
15979
|
"src/Prebuilt/components/AppData/AppData.tsx": {
|
15960
|
-
"bytesInOutput":
|
15980
|
+
"bytesInOutput": 5312
|
15961
15981
|
},
|
15962
15982
|
"src/Prebuilt/components/Settings/LayoutSettings.tsx": {
|
15963
15983
|
"bytesInOutput": 2705
|
@@ -15974,6 +15994,18 @@
|
|
15974
15994
|
"src/Prebuilt/components/Settings/common.ts": {
|
15975
15995
|
"bytesInOutput": 241
|
15976
15996
|
},
|
15997
|
+
"src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts": {
|
15998
|
+
"bytesInOutput": 1436
|
15999
|
+
},
|
16000
|
+
"src/Prebuilt/provider/roomLayoutProvider/index.tsx": {
|
16001
|
+
"bytesInOutput": 1118
|
16002
|
+
},
|
16003
|
+
"src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts": {
|
16004
|
+
"bytesInOutput": 2254
|
16005
|
+
},
|
16006
|
+
"src/Prebuilt/provider/roomLayoutProvider/constants/index.ts": {
|
16007
|
+
"bytesInOutput": 1486
|
16008
|
+
},
|
15977
16009
|
"src/Prebuilt/components/AppData/useSidepane.js": {
|
15978
16010
|
"bytesInOutput": 1934
|
15979
16011
|
},
|
@@ -15990,10 +16022,10 @@
|
|
15990
16022
|
"bytesInOutput": 6071
|
15991
16023
|
},
|
15992
16024
|
"src/Prebuilt/components/Footer/Footer.tsx": {
|
15993
|
-
"bytesInOutput":
|
16025
|
+
"bytesInOutput": 3350
|
15994
16026
|
},
|
15995
16027
|
"src/Prebuilt/components/AudioVideoToggle.jsx": {
|
15996
|
-
"bytesInOutput":
|
16028
|
+
"bytesInOutput": 5497
|
15997
16029
|
},
|
15998
16030
|
"src/Prebuilt/components/IconButtonWithOptions/IconButtonWithOptions.jsx": {
|
15999
16031
|
"bytesInOutput": 2866
|
@@ -16005,7 +16037,7 @@
|
|
16005
16037
|
"bytesInOutput": 1028
|
16006
16038
|
},
|
16007
16039
|
"src/Prebuilt/components/EmojiReaction.jsx": {
|
16008
|
-
"bytesInOutput":
|
16040
|
+
"bytesInOutput": 2089
|
16009
16041
|
},
|
16010
16042
|
"src/Prebuilt/components/Footer/EmojiCard.jsx": {
|
16011
16043
|
"bytesInOutput": 972
|
@@ -16050,7 +16082,7 @@
|
|
16050
16082
|
"bytesInOutput": 178
|
16051
16083
|
},
|
16052
16084
|
"src/Prebuilt/components/PIP/PIPComponent.jsx": {
|
16053
|
-
"bytesInOutput":
|
16085
|
+
"bytesInOutput": 2338
|
16054
16086
|
},
|
16055
16087
|
"src/Prebuilt/components/PIP/PIPManager.js": {
|
16056
16088
|
"bytesInOutput": 9164
|
@@ -16070,18 +16102,6 @@
|
|
16070
16102
|
"src/Prebuilt/common/hooks.ts": {
|
16071
16103
|
"bytesInOutput": 2675
|
16072
16104
|
},
|
16073
|
-
"src/Prebuilt/provider/roomLayoutProvider/index.tsx": {
|
16074
|
-
"bytesInOutput": 1118
|
16075
|
-
},
|
16076
|
-
"src/Prebuilt/provider/roomLayoutProvider/hooks/useFetchRoomLayout.ts": {
|
16077
|
-
"bytesInOutput": 2256
|
16078
|
-
},
|
16079
|
-
"src/Prebuilt/provider/roomLayoutProvider/constants/index.ts": {
|
16080
|
-
"bytesInOutput": 1486
|
16081
|
-
},
|
16082
|
-
"src/Prebuilt/provider/roomLayoutProvider/hooks/useRoomLayoutScreen.ts": {
|
16083
|
-
"bytesInOutput": 1436
|
16084
|
-
},
|
16085
16105
|
"src/Prebuilt/components/Settings/SettingsModal.jsx": {
|
16086
16106
|
"bytesInOutput": 8963
|
16087
16107
|
},
|
@@ -16125,7 +16145,7 @@
|
|
16125
16145
|
"bytesInOutput": 1948
|
16126
16146
|
},
|
16127
16147
|
"src/Prebuilt/components/MoreSettings/SplitComponents/MwebOptions.tsx": {
|
16128
|
-
"bytesInOutput":
|
16148
|
+
"bytesInOutput": 10037
|
16129
16149
|
},
|
16130
16150
|
"src/Prebuilt/components/Header/StreamActions.tsx": {
|
16131
16151
|
"bytesInOutput": 10019
|
@@ -16227,7 +16247,7 @@
|
|
16227
16247
|
"bytesInOutput": 823
|
16228
16248
|
},
|
16229
16249
|
"src/Prebuilt/components/VirtualBackground/VBToggle.tsx": {
|
16230
|
-
"bytesInOutput":
|
16250
|
+
"bytesInOutput": 958
|
16231
16251
|
},
|
16232
16252
|
"src/Prebuilt/components/Footer/ChatToggle.tsx": {
|
16233
16253
|
"bytesInOutput": 1404
|
@@ -16263,7 +16283,7 @@
|
|
16263
16283
|
"bytesInOutput": 3077
|
16264
16284
|
},
|
16265
16285
|
"src/Prebuilt/components/Preview/PreviewJoin.tsx": {
|
16266
|
-
"bytesInOutput":
|
16286
|
+
"bytesInOutput": 9632
|
16267
16287
|
},
|
16268
16288
|
"src/Prebuilt/layouts/SidePane.tsx": {
|
16269
16289
|
"bytesInOutput": 4579
|
@@ -16422,7 +16442,7 @@
|
|
16422
16442
|
"bytesInOutput": 1050
|
16423
16443
|
},
|
16424
16444
|
"src/Prebuilt/components/VirtualBackground/VBPicker.tsx": {
|
16425
|
-
"bytesInOutput":
|
16445
|
+
"bytesInOutput": 7244
|
16426
16446
|
},
|
16427
16447
|
"src/Prebuilt/components/VirtualBackground/VBCollection.tsx": {
|
16428
16448
|
"bytesInOutput": 1157
|
@@ -16431,7 +16451,7 @@
|
|
16431
16451
|
"bytesInOutput": 1161
|
16432
16452
|
},
|
16433
16453
|
"src/Prebuilt/components/VirtualBackground/VBHandler.tsx": {
|
16434
|
-
"bytesInOutput":
|
16454
|
+
"bytesInOutput": 3427
|
16435
16455
|
},
|
16436
16456
|
"src/Prebuilt/components/VirtualBackground/constants.ts": {
|
16437
16457
|
"bytesInOutput": 714
|
@@ -16491,7 +16511,7 @@
|
|
16491
16511
|
"bytesInOutput": 2664
|
16492
16512
|
},
|
16493
16513
|
"src/Prebuilt/components/ScreenshareTile.tsx": {
|
16494
|
-
"bytesInOutput":
|
16514
|
+
"bytesInOutput": 4447
|
16495
16515
|
},
|
16496
16516
|
"src/Prebuilt/components/LayoutModeSelector.tsx": {
|
16497
16517
|
"bytesInOutput": 3093
|
@@ -16629,7 +16649,7 @@
|
|
16629
16649
|
"bytesInOutput": 651
|
16630
16650
|
}
|
16631
16651
|
},
|
16632
|
-
"bytes":
|
16652
|
+
"bytes": 1266239
|
16633
16653
|
}
|
16634
16654
|
}
|
16635
16655
|
}
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.2.6-alpha.
|
13
|
+
"version": "0.2.6-alpha.4",
|
14
14
|
"author": "100ms",
|
15
15
|
"license": "MIT",
|
16
16
|
"repository": {
|
@@ -82,10 +82,10 @@
|
|
82
82
|
"react": ">=17.0.2 <19.0.0"
|
83
83
|
},
|
84
84
|
"dependencies": {
|
85
|
-
"@100mslive/hls-player": "0.2.6-alpha.
|
86
|
-
"@100mslive/hms-virtual-background": "1.12.6-alpha.
|
87
|
-
"@100mslive/react-icons": "0.9.6-alpha.
|
88
|
-
"@100mslive/react-sdk": "0.9.6-alpha.
|
85
|
+
"@100mslive/hls-player": "0.2.6-alpha.4",
|
86
|
+
"@100mslive/hms-virtual-background": "1.12.6-alpha.4",
|
87
|
+
"@100mslive/react-icons": "0.9.6-alpha.4",
|
88
|
+
"@100mslive/react-sdk": "0.9.6-alpha.4",
|
89
89
|
"@100mslive/types-prebuilt": "0.12.6",
|
90
90
|
"@emoji-mart/data": "^1.0.6",
|
91
91
|
"@emoji-mart/react": "^1.0.1",
|
@@ -120,5 +120,5 @@
|
|
120
120
|
"uuid": "^8.3.2",
|
121
121
|
"worker-timers": "^7.0.40"
|
122
122
|
},
|
123
|
-
"gitHead": "
|
123
|
+
"gitHead": "9e13e59f926c73e5f32c7537a8ab4e292b8d2806"
|
124
124
|
}
|
package/src/Prebuilt/App.tsx
CHANGED
@@ -96,8 +96,8 @@ export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps
|
|
96
96
|
ref,
|
97
97
|
) => {
|
98
98
|
const reactiveStore = useRef<HMSPrebuiltRefType>();
|
99
|
-
|
100
99
|
const [hydrated, setHydrated] = React.useState(false);
|
100
|
+
|
101
101
|
useEffect(() => {
|
102
102
|
setHydrated(true);
|
103
103
|
const hms = new HMSReactiveStore();
|
@@ -122,14 +122,13 @@ export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps
|
|
122
122
|
(ref as MutableRefObject<HMSPrebuiltRefType>).current = { ...reactiveStore.current };
|
123
123
|
}, [ref]);
|
124
124
|
|
125
|
-
|
126
|
-
|
127
|
-
|
125
|
+
useEffect(() => {
|
126
|
+
// leave room when component unmounts
|
127
|
+
return () => {
|
128
128
|
VBHandler.reset();
|
129
129
|
reactiveStore?.current?.hmsActions.leave();
|
130
|
-
}
|
131
|
-
|
132
|
-
);
|
130
|
+
};
|
131
|
+
}, []);
|
133
132
|
|
134
133
|
const endpointsObj = endpoints as
|
135
134
|
| {
|
@@ -214,7 +213,6 @@ export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps
|
|
214
213
|
},
|
215
214
|
}}
|
216
215
|
>
|
217
|
-
<AppData />
|
218
216
|
<Init />
|
219
217
|
<DialogContainerProvider dialogContainerSelector={containerSelector}>
|
220
218
|
<Box
|
@@ -291,6 +289,7 @@ function AppRoutes({
|
|
291
289
|
return (
|
292
290
|
<AppStateContext.Provider value={{ rejoin }}>
|
293
291
|
<>
|
292
|
+
{activeState !== PrebuiltStates.LEAVE && <AppData />}
|
294
293
|
<ToastContainer />
|
295
294
|
<Notifications />
|
296
295
|
<MwebLandscapePrompt />
|