@100mslive/roomkit-react 0.1.19 → 0.1.20-alpha.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{HLSView-4L4OAX2K.js → HLSView-BWR4T6PI.js} +2 -2
- package/dist/{chunk-NHPPOGUF.js → chunk-SYBH2G3R.js} +6 -5
- package/dist/chunk-SYBH2G3R.js.map +7 -0
- package/dist/index.cjs.js +5 -3
- package/dist/index.cjs.js.map +2 -2
- package/dist/index.js +1 -1
- package/dist/meta.cjs.json +14 -9
- package/dist/meta.esbuild.json +21 -16
- package/package.json +6 -6
- package/src/Prebuilt/App.tsx +2 -0
- package/dist/chunk-NHPPOGUF.js.map +0 -7
- /package/dist/{HLSView-4L4OAX2K.js.map → HLSView-BWR4T6PI.js.map} +0 -0
package/dist/index.js
CHANGED
package/dist/meta.cjs.json
CHANGED
@@ -4434,7 +4434,7 @@
|
|
4434
4434
|
"format": "cjs"
|
4435
4435
|
},
|
4436
4436
|
"../hms-video-web/dist/index.js": {
|
4437
|
-
"bytes":
|
4437
|
+
"bytes": 263156,
|
4438
4438
|
"imports": [
|
4439
4439
|
{
|
4440
4440
|
"path": "uuid",
|
@@ -4969,7 +4969,7 @@
|
|
4969
4969
|
"format": "esm"
|
4970
4970
|
},
|
4971
4971
|
"../hms-video-store/dist/index.js": {
|
4972
|
-
"bytes":
|
4972
|
+
"bytes": 68804,
|
4973
4973
|
"imports": [
|
4974
4974
|
{
|
4975
4975
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -12064,7 +12064,7 @@
|
|
12064
12064
|
"format": "esm"
|
12065
12065
|
},
|
12066
12066
|
"src/Prebuilt/App.tsx": {
|
12067
|
-
"bytes":
|
12067
|
+
"bytes": 10446,
|
12068
12068
|
"imports": [
|
12069
12069
|
{
|
12070
12070
|
"path": "react",
|
@@ -12141,6 +12141,11 @@
|
|
12141
12141
|
"kind": "import-statement",
|
12142
12142
|
"original": "./components/Toast/ToastContainer"
|
12143
12143
|
},
|
12144
|
+
{
|
12145
|
+
"path": "src/Prebuilt/components/VirtualBackground/VBHandler.tsx",
|
12146
|
+
"kind": "import-statement",
|
12147
|
+
"original": "./components/VirtualBackground/VBHandler"
|
12148
|
+
},
|
12144
12149
|
{
|
12145
12150
|
"path": "src/Prebuilt/provider/roomLayoutProvider/index.tsx",
|
12146
12151
|
"kind": "import-statement",
|
@@ -12468,7 +12473,7 @@
|
|
12468
12473
|
"imports": [],
|
12469
12474
|
"exports": [],
|
12470
12475
|
"inputs": {},
|
12471
|
-
"bytes":
|
12476
|
+
"bytes": 3097427
|
12472
12477
|
},
|
12473
12478
|
"dist/index.cjs.js": {
|
12474
12479
|
"imports": [
|
@@ -15117,7 +15122,7 @@
|
|
15117
15122
|
"entryPoint": "src/index.ts",
|
15118
15123
|
"inputs": {
|
15119
15124
|
"<define:process.env>": {
|
15120
|
-
"bytesInOutput":
|
15125
|
+
"bytesInOutput": 18644
|
15121
15126
|
},
|
15122
15127
|
"src/Theme/base.config.ts": {
|
15123
15128
|
"bytesInOutput": 6104
|
@@ -15588,7 +15593,7 @@
|
|
15588
15593
|
"bytesInOutput": 615
|
15589
15594
|
},
|
15590
15595
|
"../hms-video-web/dist/index.js": {
|
15591
|
-
"bytesInOutput":
|
15596
|
+
"bytesInOutput": 35324
|
15592
15597
|
},
|
15593
15598
|
"src/Prebuilt/common/utils.js": {
|
15594
15599
|
"bytesInOutput": 4395
|
@@ -15624,7 +15629,7 @@
|
|
15624
15629
|
"bytesInOutput": 2639
|
15625
15630
|
},
|
15626
15631
|
"../hms-video-store/dist/index.js": {
|
15627
|
-
"bytesInOutput":
|
15632
|
+
"bytesInOutput": 22065
|
15628
15633
|
},
|
15629
15634
|
"src/Prebuilt/components/hooks/useUnreadPollQuizPresent.tsx": {
|
15630
15635
|
"bytesInOutput": 1005
|
@@ -16089,7 +16094,7 @@
|
|
16089
16094
|
"bytesInOutput": 2225
|
16090
16095
|
},
|
16091
16096
|
"src/Prebuilt/App.tsx": {
|
16092
|
-
"bytesInOutput":
|
16097
|
+
"bytesInOutput": 9532
|
16093
16098
|
},
|
16094
16099
|
"src/Prebuilt/index.ts": {
|
16095
16100
|
"bytesInOutput": 131
|
@@ -16101,7 +16106,7 @@
|
|
16101
16106
|
"bytesInOutput": 2930
|
16102
16107
|
}
|
16103
16108
|
},
|
16104
|
-
"bytes":
|
16109
|
+
"bytes": 1441400
|
16105
16110
|
}
|
16106
16111
|
}
|
16107
16112
|
}
|
package/dist/meta.esbuild.json
CHANGED
@@ -4434,7 +4434,7 @@
|
|
4434
4434
|
"format": "cjs"
|
4435
4435
|
},
|
4436
4436
|
"../hms-video-web/dist/index.js": {
|
4437
|
-
"bytes":
|
4437
|
+
"bytes": 263156,
|
4438
4438
|
"imports": [
|
4439
4439
|
{
|
4440
4440
|
"path": "uuid",
|
@@ -4969,7 +4969,7 @@
|
|
4969
4969
|
"format": "esm"
|
4970
4970
|
},
|
4971
4971
|
"../hms-video-store/dist/index.js": {
|
4972
|
-
"bytes":
|
4972
|
+
"bytes": 68804,
|
4973
4973
|
"imports": [
|
4974
4974
|
{
|
4975
4975
|
"path": "../../node_modules/reselect/es/index.js",
|
@@ -12064,7 +12064,7 @@
|
|
12064
12064
|
"format": "esm"
|
12065
12065
|
},
|
12066
12066
|
"src/Prebuilt/App.tsx": {
|
12067
|
-
"bytes":
|
12067
|
+
"bytes": 10446,
|
12068
12068
|
"imports": [
|
12069
12069
|
{
|
12070
12070
|
"path": "react",
|
@@ -12141,6 +12141,11 @@
|
|
12141
12141
|
"kind": "import-statement",
|
12142
12142
|
"original": "./components/Toast/ToastContainer"
|
12143
12143
|
},
|
12144
|
+
{
|
12145
|
+
"path": "src/Prebuilt/components/VirtualBackground/VBHandler.tsx",
|
12146
|
+
"kind": "import-statement",
|
12147
|
+
"original": "./components/VirtualBackground/VBHandler"
|
12148
|
+
},
|
12144
12149
|
{
|
12145
12150
|
"path": "src/Prebuilt/provider/roomLayoutProvider/index.tsx",
|
12146
12151
|
"kind": "import-statement",
|
@@ -12473,7 +12478,7 @@
|
|
12473
12478
|
"dist/index.js": {
|
12474
12479
|
"imports": [
|
12475
12480
|
{
|
12476
|
-
"path": "dist/chunk-
|
12481
|
+
"path": "dist/chunk-SYBH2G3R.js",
|
12477
12482
|
"kind": "import-statement"
|
12478
12483
|
}
|
12479
12484
|
],
|
@@ -12545,16 +12550,16 @@
|
|
12545
12550
|
"inputs": {},
|
12546
12551
|
"bytes": 1798
|
12547
12552
|
},
|
12548
|
-
"dist/HLSView-
|
12553
|
+
"dist/HLSView-BWR4T6PI.js.map": {
|
12549
12554
|
"imports": [],
|
12550
12555
|
"exports": [],
|
12551
12556
|
"inputs": {},
|
12552
12557
|
"bytes": 58021
|
12553
12558
|
},
|
12554
|
-
"dist/HLSView-
|
12559
|
+
"dist/HLSView-BWR4T6PI.js": {
|
12555
12560
|
"imports": [
|
12556
12561
|
{
|
12557
|
-
"path": "dist/chunk-
|
12562
|
+
"path": "dist/chunk-SYBH2G3R.js",
|
12558
12563
|
"kind": "import-statement"
|
12559
12564
|
},
|
12560
12565
|
{
|
@@ -12718,13 +12723,13 @@
|
|
12718
12723
|
},
|
12719
12724
|
"bytes": 36449
|
12720
12725
|
},
|
12721
|
-
"dist/chunk-
|
12726
|
+
"dist/chunk-SYBH2G3R.js.map": {
|
12722
12727
|
"imports": [],
|
12723
12728
|
"exports": [],
|
12724
12729
|
"inputs": {},
|
12725
|
-
"bytes":
|
12730
|
+
"bytes": 3034799
|
12726
12731
|
},
|
12727
|
-
"dist/chunk-
|
12732
|
+
"dist/chunk-SYBH2G3R.js": {
|
12728
12733
|
"imports": [
|
12729
12734
|
{
|
12730
12735
|
"path": "react",
|
@@ -14927,7 +14932,7 @@
|
|
14927
14932
|
"external": true
|
14928
14933
|
},
|
14929
14934
|
{
|
14930
|
-
"path": "dist/HLSView-
|
14935
|
+
"path": "dist/HLSView-BWR4T6PI.js",
|
14931
14936
|
"kind": "dynamic-import"
|
14932
14937
|
},
|
14933
14938
|
{
|
@@ -15338,7 +15343,7 @@
|
|
15338
15343
|
],
|
15339
15344
|
"inputs": {
|
15340
15345
|
"<define:process.env>": {
|
15341
|
-
"bytesInOutput":
|
15346
|
+
"bytesInOutput": 18644
|
15342
15347
|
},
|
15343
15348
|
"../../node_modules/lodash/lodash.js": {
|
15344
15349
|
"bytesInOutput": 224380
|
@@ -15587,7 +15592,7 @@
|
|
15587
15592
|
"bytesInOutput": 887
|
15588
15593
|
},
|
15589
15594
|
"src/Prebuilt/App.tsx": {
|
15590
|
-
"bytesInOutput":
|
15595
|
+
"bytesInOutput": 7625
|
15591
15596
|
},
|
15592
15597
|
"src/Prebuilt/components/AppData/AppData.tsx": {
|
15593
15598
|
"bytesInOutput": 4365
|
@@ -15761,7 +15766,7 @@
|
|
15761
15766
|
"bytesInOutput": 10019
|
15762
15767
|
},
|
15763
15768
|
"../hms-video-web/dist/index.js": {
|
15764
|
-
"bytesInOutput":
|
15769
|
+
"bytesInOutput": 32625
|
15765
15770
|
},
|
15766
15771
|
"../../node_modules/webrtc-adapter/src/js/adapter_core.js": {
|
15767
15772
|
"bytesInOutput": 154
|
@@ -15827,7 +15832,7 @@
|
|
15827
15832
|
"bytesInOutput": 712
|
15828
15833
|
},
|
15829
15834
|
"../hms-video-store/dist/index.js": {
|
15830
|
-
"bytesInOutput":
|
15835
|
+
"bytesInOutput": 19867
|
15831
15836
|
},
|
15832
15837
|
"../../node_modules/reselect/es/index.js": {
|
15833
15838
|
"bytesInOutput": 2537
|
@@ -16241,7 +16246,7 @@
|
|
16241
16246
|
"bytesInOutput": 418
|
16242
16247
|
}
|
16243
16248
|
},
|
16244
|
-
"bytes":
|
16249
|
+
"bytes": 1223576
|
16245
16250
|
}
|
16246
16251
|
}
|
16247
16252
|
}
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"prebuilt",
|
11
11
|
"roomkit"
|
12
12
|
],
|
13
|
-
"version": "0.1.
|
13
|
+
"version": "0.1.20-alpha.0",
|
14
14
|
"author": "100ms",
|
15
15
|
"license": "MIT",
|
16
16
|
"files": [
|
@@ -76,10 +76,10 @@
|
|
76
76
|
"react": ">=17.0.2 <19.0.0"
|
77
77
|
},
|
78
78
|
"dependencies": {
|
79
|
-
"@100mslive/hls-player": "0.1.
|
80
|
-
"@100mslive/hms-virtual-background": "1.11.
|
81
|
-
"@100mslive/react-icons": "0.8.
|
82
|
-
"@100mslive/react-sdk": "0.8.
|
79
|
+
"@100mslive/hls-player": "0.1.29-alpha.0",
|
80
|
+
"@100mslive/hms-virtual-background": "1.11.29-alpha.0",
|
81
|
+
"@100mslive/react-icons": "0.8.29-alpha.0",
|
82
|
+
"@100mslive/react-sdk": "0.8.29-alpha.0",
|
83
83
|
"@100mslive/types-prebuilt": "0.12.5",
|
84
84
|
"@emoji-mart/data": "^1.0.6",
|
85
85
|
"@emoji-mart/react": "^1.0.1",
|
@@ -115,5 +115,5 @@
|
|
115
115
|
"uuid": "^8.3.2",
|
116
116
|
"worker-timers": "^7.0.40"
|
117
117
|
},
|
118
|
-
"gitHead": "
|
118
|
+
"gitHead": "50a9752eb57f926467526f5afdc6cb5213886730"
|
119
119
|
}
|
package/src/Prebuilt/App.tsx
CHANGED
@@ -25,6 +25,7 @@ import { Notifications } from './components/Notifications';
|
|
25
25
|
import { PreviewScreen } from './components/Preview/PreviewScreen';
|
26
26
|
// @ts-ignore: No implicit Any
|
27
27
|
import { ToastContainer } from './components/Toast/ToastContainer';
|
28
|
+
import { VBHandler } from './components/VirtualBackground/VBHandler';
|
28
29
|
import { RoomLayoutContext, RoomLayoutProvider, useRoomLayout } from './provider/roomLayoutProvider';
|
29
30
|
import { DialogContainerProvider } from '../context/DialogContext';
|
30
31
|
import { Box } from '../Layout';
|
@@ -124,6 +125,7 @@ export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps
|
|
124
125
|
// leave room when component unmounts
|
125
126
|
useEffect(
|
126
127
|
() => () => {
|
128
|
+
VBHandler.reset();
|
127
129
|
reactiveStore?.current?.hmsActions.leave();
|
128
130
|
},
|
129
131
|
[],
|