@100mslive/roomkit-react 0.3.10-alpha.6 → 0.3.10-alpha.7

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -62,7 +62,7 @@ import {
62
62
  theme,
63
63
  useBorderAudioLevel,
64
64
  useTheme
65
- } from "./chunk-US5K5MP3.js";
65
+ } from "./chunk-GZMPRC3D.js";
66
66
  export {
67
67
  Accordion,
68
68
  AudioLevel,
@@ -3508,7 +3508,7 @@
3508
3508
  "format": "esm"
3509
3509
  },
3510
3510
  "src/Prebuilt/components/RoleChangeModal.tsx": {
3511
- "bytes": 5386,
3511
+ "bytes": 5429,
3512
3512
  "imports": [
3513
3513
  {
3514
3514
  "path": "react",
@@ -13439,7 +13439,7 @@
13439
13439
  "imports": [],
13440
13440
  "exports": [],
13441
13441
  "inputs": {},
13442
- "bytes": 3327627
13442
+ "bytes": 3327693
13443
13443
  },
13444
13444
  "dist/index.cjs.js": {
13445
13445
  "imports": [
@@ -16448,7 +16448,7 @@
16448
16448
  "entryPoint": "src/index.ts",
16449
16449
  "inputs": {
16450
16450
  "<define:process.env>": {
16451
- "bytesInOutput": 17764
16451
+ "bytesInOutput": 17763
16452
16452
  },
16453
16453
  "src/Theme/base.config.ts": {
16454
16454
  "bytesInOutput": 6078
@@ -16847,7 +16847,7 @@
16847
16847
  "bytesInOutput": 369
16848
16848
  },
16849
16849
  "src/Prebuilt/components/RoleChangeModal.tsx": {
16850
- "bytesInOutput": 6883
16850
+ "bytesInOutput": 6933
16851
16851
  },
16852
16852
  "src/Prebuilt/primitives/DialogContent.jsx": {
16853
16853
  "bytesInOutput": 8704
@@ -17513,7 +17513,7 @@
17513
17513
  "bytesInOutput": 2980
17514
17514
  }
17515
17515
  },
17516
- "bytes": 1552161
17516
+ "bytes": 1552210
17517
17517
  }
17518
17518
  }
17519
17519
  }
@@ -3508,7 +3508,7 @@
3508
3508
  "format": "esm"
3509
3509
  },
3510
3510
  "src/Prebuilt/components/RoleChangeModal.tsx": {
3511
- "bytes": 5386,
3511
+ "bytes": 5429,
3512
3512
  "imports": [
3513
3513
  {
3514
3514
  "path": "react",
@@ -13444,7 +13444,7 @@
13444
13444
  "dist/index.js": {
13445
13445
  "imports": [
13446
13446
  {
13447
- "path": "dist/chunk-US5K5MP3.js",
13447
+ "path": "dist/chunk-GZMPRC3D.js",
13448
13448
  "kind": "import-statement"
13449
13449
  }
13450
13450
  ],
@@ -13517,16 +13517,16 @@
13517
13517
  "inputs": {},
13518
13518
  "bytes": 1822
13519
13519
  },
13520
- "dist/HLSView-SBTTOL3J.js.map": {
13520
+ "dist/HLSView-JHTPNQQB.js.map": {
13521
13521
  "imports": [],
13522
13522
  "exports": [],
13523
13523
  "inputs": {},
13524
13524
  "bytes": 100337
13525
13525
  },
13526
- "dist/HLSView-SBTTOL3J.js": {
13526
+ "dist/HLSView-JHTPNQQB.js": {
13527
13527
  "imports": [
13528
13528
  {
13529
- "path": "dist/chunk-US5K5MP3.js",
13529
+ "path": "dist/chunk-GZMPRC3D.js",
13530
13530
  "kind": "import-statement"
13531
13531
  },
13532
13532
  {
@@ -13762,13 +13762,13 @@
13762
13762
  },
13763
13763
  "bytes": 58752
13764
13764
  },
13765
- "dist/chunk-US5K5MP3.js.map": {
13765
+ "dist/chunk-GZMPRC3D.js.map": {
13766
13766
  "imports": [],
13767
13767
  "exports": [],
13768
13768
  "inputs": {},
13769
- "bytes": 3223540
13769
+ "bytes": 3223606
13770
13770
  },
13771
- "dist/chunk-US5K5MP3.js": {
13771
+ "dist/chunk-GZMPRC3D.js": {
13772
13772
  "imports": [
13773
13773
  {
13774
13774
  "path": "react",
@@ -16216,7 +16216,7 @@
16216
16216
  "external": true
16217
16217
  },
16218
16218
  {
16219
- "path": "dist/HLSView-SBTTOL3J.js",
16219
+ "path": "dist/HLSView-JHTPNQQB.js",
16220
16220
  "kind": "dynamic-import"
16221
16221
  },
16222
16222
  {
@@ -16693,7 +16693,7 @@
16693
16693
  ],
16694
16694
  "inputs": {
16695
16695
  "<define:process.env>": {
16696
- "bytesInOutput": 17764
16696
+ "bytesInOutput": 17763
16697
16697
  },
16698
16698
  "../../node_modules/lodash/lodash.js": {
16699
16699
  "bytesInOutput": 224301
@@ -17095,7 +17095,7 @@
17095
17095
  "bytesInOutput": 1870
17096
17096
  },
17097
17097
  "src/Prebuilt/components/RoleChangeModal.tsx": {
17098
- "bytesInOutput": 5457
17098
+ "bytesInOutput": 5499
17099
17099
  },
17100
17100
  "src/Prebuilt/components/Settings/StartRecording.jsx": {
17101
17101
  "bytesInOutput": 3537
@@ -17665,7 +17665,7 @@
17665
17665
  "bytesInOutput": 651
17666
17666
  }
17667
17667
  },
17668
- "bytes": 1290428
17668
+ "bytes": 1290469
17669
17669
  }
17670
17670
  }
17671
17671
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.10-alpha.6",
13
+ "version": "0.3.10-alpha.7",
14
14
  "author": "100ms",
15
15
  "license": "MIT",
16
16
  "repository": {
@@ -73,11 +73,11 @@
73
73
  "react": ">=17.0.2 <19.0.0"
74
74
  },
75
75
  "dependencies": {
76
- "@100mslive/hls-player": "0.3.10-alpha.6",
76
+ "@100mslive/hls-player": "0.3.10-alpha.7",
77
77
  "@100mslive/hms-noise-cancellation": "0.0.1",
78
- "@100mslive/hms-virtual-background": "1.13.10-alpha.6",
79
- "@100mslive/react-icons": "0.10.10-alpha.6",
80
- "@100mslive/react-sdk": "0.10.10-alpha.6",
78
+ "@100mslive/hms-virtual-background": "1.13.10-alpha.7",
79
+ "@100mslive/react-icons": "0.10.10-alpha.7",
80
+ "@100mslive/react-sdk": "0.10.10-alpha.7",
81
81
  "@100mslive/types-prebuilt": "0.12.8",
82
82
  "@emoji-mart/data": "^1.0.6",
83
83
  "@emoji-mart/react": "^1.0.1",
@@ -113,5 +113,5 @@
113
113
  "uuid": "^8.3.2",
114
114
  "worker-timers": "^7.0.40"
115
115
  },
116
- "gitHead": "23975a232d89a2f12d46d313030c6b8ddc6cd89e"
116
+ "gitHead": "7bf3ddd2ce645049b0585f3bf1ccd90c175eb581"
117
117
  }
@@ -39,7 +39,9 @@ const RoleChangeContent = ({
39
39
  onOpenChange: (open: boolean) => void;
40
40
  isMobile?: boolean;
41
41
  }) => {
42
- const roles = useHMSStore(selectAvailableRoleNames).filter(role => role !== peer?.roleName);
42
+ const roles = useHMSStore(selectAvailableRoleNames).filter(
43
+ role => role !== peer?.roleName || role !== '__internal_recorder',
44
+ );
43
45
  const [selectedRole, setRole] = useState(roles.filter(role => role !== peer?.roleName)?.[0] || peer?.roleName);
44
46
  const hmsActions = useHMSActions();
45
47
  const [open, setOpen] = useState(false);