@100mslive/roomkit-react 0.1.20-alpha.0 → 0.1.20-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -61,7 +61,7 @@ import {
61
61
  theme,
62
62
  useBorderAudioLevel,
63
63
  useTheme
64
- } from "./chunk-SYBH2G3R.js";
64
+ } from "./chunk-QENB2CO7.js";
65
65
  export {
66
66
  Accordion,
67
67
  AudioLevel,
@@ -4434,7 +4434,7 @@
4434
4434
  "format": "cjs"
4435
4435
  },
4436
4436
  "../hms-video-web/dist/index.js": {
4437
- "bytes": 263156,
4437
+ "bytes": 263278,
4438
4438
  "imports": [
4439
4439
  {
4440
4440
  "path": "uuid",
@@ -12064,7 +12064,7 @@
12064
12064
  "format": "esm"
12065
12065
  },
12066
12066
  "src/Prebuilt/App.tsx": {
12067
- "bytes": 10446,
12067
+ "bytes": 10349,
12068
12068
  "imports": [
12069
12069
  {
12070
12070
  "path": "react",
@@ -12141,11 +12141,6 @@
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
- },
12149
12144
  {
12150
12145
  "path": "src/Prebuilt/provider/roomLayoutProvider/index.tsx",
12151
12146
  "kind": "import-statement",
@@ -12473,7 +12468,7 @@
12473
12468
  "imports": [],
12474
12469
  "exports": [],
12475
12470
  "inputs": {},
12476
- "bytes": 3097427
12471
+ "bytes": 3098157
12477
12472
  },
12478
12473
  "dist/index.cjs.js": {
12479
12474
  "imports": [
@@ -15122,7 +15117,7 @@
15122
15117
  "entryPoint": "src/index.ts",
15123
15118
  "inputs": {
15124
15119
  "<define:process.env>": {
15125
- "bytesInOutput": 18644
15120
+ "bytesInOutput": 18657
15126
15121
  },
15127
15122
  "src/Theme/base.config.ts": {
15128
15123
  "bytesInOutput": 6104
@@ -15593,7 +15588,7 @@
15593
15588
  "bytesInOutput": 615
15594
15589
  },
15595
15590
  "../hms-video-web/dist/index.js": {
15596
- "bytesInOutput": 35324
15591
+ "bytesInOutput": 35455
15597
15592
  },
15598
15593
  "src/Prebuilt/common/utils.js": {
15599
15594
  "bytesInOutput": 4395
@@ -15629,7 +15624,7 @@
15629
15624
  "bytesInOutput": 2639
15630
15625
  },
15631
15626
  "../hms-video-store/dist/index.js": {
15632
- "bytesInOutput": 22065
15627
+ "bytesInOutput": 22064
15633
15628
  },
15634
15629
  "src/Prebuilt/components/hooks/useUnreadPollQuizPresent.tsx": {
15635
15630
  "bytesInOutput": 1005
@@ -15860,7 +15855,7 @@
15860
15855
  "bytesInOutput": 908
15861
15856
  },
15862
15857
  "src/Prebuilt/components/VirtualBackground/VBPicker.tsx": {
15863
- "bytesInOutput": 6755
15858
+ "bytesInOutput": 6756
15864
15859
  },
15865
15860
  "src/Prebuilt/layouts/SidePane.tsx": {
15866
15861
  "bytesInOutput": 5399
@@ -16094,7 +16089,7 @@
16094
16089
  "bytesInOutput": 2225
16095
16090
  },
16096
16091
  "src/Prebuilt/App.tsx": {
16097
- "bytesInOutput": 9532
16092
+ "bytesInOutput": 9479
16098
16093
  },
16099
16094
  "src/Prebuilt/index.ts": {
16100
16095
  "bytesInOutput": 131
@@ -16106,7 +16101,7 @@
16106
16101
  "bytesInOutput": 2930
16107
16102
  }
16108
16103
  },
16109
- "bytes": 1441400
16104
+ "bytes": 1441491
16110
16105
  }
16111
16106
  }
16112
16107
  }
@@ -4434,7 +4434,7 @@
4434
4434
  "format": "cjs"
4435
4435
  },
4436
4436
  "../hms-video-web/dist/index.js": {
4437
- "bytes": 263156,
4437
+ "bytes": 263278,
4438
4438
  "imports": [
4439
4439
  {
4440
4440
  "path": "uuid",
@@ -12064,7 +12064,7 @@
12064
12064
  "format": "esm"
12065
12065
  },
12066
12066
  "src/Prebuilt/App.tsx": {
12067
- "bytes": 10446,
12067
+ "bytes": 10349,
12068
12068
  "imports": [
12069
12069
  {
12070
12070
  "path": "react",
@@ -12141,11 +12141,6 @@
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
- },
12149
12144
  {
12150
12145
  "path": "src/Prebuilt/provider/roomLayoutProvider/index.tsx",
12151
12146
  "kind": "import-statement",
@@ -12478,7 +12473,7 @@
12478
12473
  "dist/index.js": {
12479
12474
  "imports": [
12480
12475
  {
12481
- "path": "dist/chunk-SYBH2G3R.js",
12476
+ "path": "dist/chunk-QENB2CO7.js",
12482
12477
  "kind": "import-statement"
12483
12478
  }
12484
12479
  ],
@@ -12550,16 +12545,16 @@
12550
12545
  "inputs": {},
12551
12546
  "bytes": 1798
12552
12547
  },
12553
- "dist/HLSView-BWR4T6PI.js.map": {
12548
+ "dist/HLSView-PJLISGG4.js.map": {
12554
12549
  "imports": [],
12555
12550
  "exports": [],
12556
12551
  "inputs": {},
12557
12552
  "bytes": 58021
12558
12553
  },
12559
- "dist/HLSView-BWR4T6PI.js": {
12554
+ "dist/HLSView-PJLISGG4.js": {
12560
12555
  "imports": [
12561
12556
  {
12562
- "path": "dist/chunk-SYBH2G3R.js",
12557
+ "path": "dist/chunk-QENB2CO7.js",
12563
12558
  "kind": "import-statement"
12564
12559
  },
12565
12560
  {
@@ -12723,13 +12718,13 @@
12723
12718
  },
12724
12719
  "bytes": 36449
12725
12720
  },
12726
- "dist/chunk-SYBH2G3R.js.map": {
12721
+ "dist/chunk-QENB2CO7.js.map": {
12727
12722
  "imports": [],
12728
12723
  "exports": [],
12729
12724
  "inputs": {},
12730
- "bytes": 3034799
12725
+ "bytes": 3035562
12731
12726
  },
12732
- "dist/chunk-SYBH2G3R.js": {
12727
+ "dist/chunk-QENB2CO7.js": {
12733
12728
  "imports": [
12734
12729
  {
12735
12730
  "path": "react",
@@ -14932,7 +14927,7 @@
14932
14927
  "external": true
14933
14928
  },
14934
14929
  {
14935
- "path": "dist/HLSView-BWR4T6PI.js",
14930
+ "path": "dist/HLSView-PJLISGG4.js",
14936
14931
  "kind": "dynamic-import"
14937
14932
  },
14938
14933
  {
@@ -15343,7 +15338,7 @@
15343
15338
  ],
15344
15339
  "inputs": {
15345
15340
  "<define:process.env>": {
15346
- "bytesInOutput": 18644
15341
+ "bytesInOutput": 18657
15347
15342
  },
15348
15343
  "../../node_modules/lodash/lodash.js": {
15349
15344
  "bytesInOutput": 224380
@@ -15592,7 +15587,7 @@
15592
15587
  "bytesInOutput": 887
15593
15588
  },
15594
15589
  "src/Prebuilt/App.tsx": {
15595
- "bytesInOutput": 7625
15590
+ "bytesInOutput": 7598
15596
15591
  },
15597
15592
  "src/Prebuilt/components/AppData/AppData.tsx": {
15598
15593
  "bytesInOutput": 4365
@@ -15766,7 +15761,7 @@
15766
15761
  "bytesInOutput": 10019
15767
15762
  },
15768
15763
  "../hms-video-web/dist/index.js": {
15769
- "bytesInOutput": 32625
15764
+ "bytesInOutput": 32760
15770
15765
  },
15771
15766
  "../../node_modules/webrtc-adapter/src/js/adapter_core.js": {
15772
15767
  "bytesInOutput": 154
@@ -16051,7 +16046,7 @@
16051
16046
  "bytesInOutput": 1050
16052
16047
  },
16053
16048
  "src/Prebuilt/components/VirtualBackground/VBPicker.tsx": {
16054
- "bytesInOutput": 5520
16049
+ "bytesInOutput": 5521
16055
16050
  },
16056
16051
  "src/Prebuilt/components/VirtualBackground/VBCollection.tsx": {
16057
16052
  "bytesInOutput": 1157
@@ -16246,7 +16241,7 @@
16246
16241
  "bytesInOutput": 418
16247
16242
  }
16248
16243
  },
16249
- "bytes": 1223576
16244
+ "bytes": 1223698
16250
16245
  }
16251
16246
  }
16252
16247
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.1.20-alpha.0",
13
+ "version": "0.1.20-alpha.1",
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.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",
79
+ "@100mslive/hls-player": "0.1.29-alpha.1",
80
+ "@100mslive/hms-virtual-background": "1.11.29-alpha.1",
81
+ "@100mslive/react-icons": "0.8.29-alpha.1",
82
+ "@100mslive/react-sdk": "0.8.29-alpha.1",
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": "50a9752eb57f926467526f5afdc6cb5213886730"
118
+ "gitHead": "19be8b8d757300a9405078f1ceea21ba95e3b9e1"
119
119
  }
@@ -25,7 +25,6 @@ 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';
29
28
  import { RoomLayoutContext, RoomLayoutProvider, useRoomLayout } from './provider/roomLayoutProvider';
30
29
  import { DialogContainerProvider } from '../context/DialogContext';
31
30
  import { Box } from '../Layout';
@@ -125,7 +124,6 @@ export const HMSPrebuilt = React.forwardRef<HMSPrebuiltRefType, HMSPrebuiltProps
125
124
  // leave room when component unmounts
126
125
  useEffect(
127
126
  () => () => {
128
- VBHandler.reset();
129
127
  reactiveStore?.current?.hmsActions.leave();
130
128
  },
131
129
  [],