@100mslive/roomkit-react 0.1.11-alpha.2 → 0.1.11

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-I3J4WTJM.js";
64
+ } from "./chunk-PPVYVQ6N.js";
65
65
  export {
66
66
  Accordion,
67
67
  AudioLevel,
@@ -2649,7 +2649,7 @@
2649
2649
  "format": "esm"
2650
2650
  },
2651
2651
  "src/Prebuilt/components/Leave/DesktopLeaveRoom.tsx": {
2652
- "bytes": 6166,
2652
+ "bytes": 6195,
2653
2653
  "imports": [
2654
2654
  {
2655
2655
  "path": "react",
@@ -2792,7 +2792,7 @@
2792
2792
  "format": "esm"
2793
2793
  },
2794
2794
  "src/Prebuilt/components/Leave/MwebLeaveRoom.tsx": {
2795
- "bytes": 4628,
2795
+ "bytes": 4657,
2796
2796
  "imports": [
2797
2797
  {
2798
2798
  "path": "react",
@@ -4409,7 +4409,7 @@
4409
4409
  "format": "cjs"
4410
4410
  },
4411
4411
  "../hms-video-web/dist/index.js": {
4412
- "bytes": 254752,
4412
+ "bytes": 254547,
4413
4413
  "imports": [
4414
4414
  {
4415
4415
  "path": "uuid",
@@ -11094,7 +11094,7 @@
11094
11094
  "imports": [],
11095
11095
  "exports": [],
11096
11096
  "inputs": {},
11097
- "bytes": 2033464
11097
+ "bytes": 2033035
11098
11098
  },
11099
11099
  "dist/index.cjs.js": {
11100
11100
  "imports": [
@@ -13433,7 +13433,7 @@
13433
13433
  "entryPoint": "src/index.ts",
13434
13434
  "inputs": {
13435
13435
  "<define:process.env>": {
13436
- "bytesInOutput": 18611
13436
+ "bytesInOutput": 18484
13437
13437
  },
13438
13438
  "src/Theme/base.config.ts": {
13439
13439
  "bytesInOutput": 6104
@@ -13754,7 +13754,7 @@
13754
13754
  "bytesInOutput": 2361
13755
13755
  },
13756
13756
  "src/Prebuilt/components/Leave/DesktopLeaveRoom.tsx": {
13757
- "bytesInOutput": 7066
13757
+ "bytesInOutput": 7127
13758
13758
  },
13759
13759
  "src/Sheet/Sheet.tsx": {
13760
13760
  "bytesInOutput": 3505
@@ -13763,7 +13763,7 @@
13763
13763
  "bytesInOutput": 128
13764
13764
  },
13765
13765
  "src/Prebuilt/components/Leave/MwebLeaveRoom.tsx": {
13766
- "bytesInOutput": 5293
13766
+ "bytesInOutput": 5354
13767
13767
  },
13768
13768
  "src/Prebuilt/components/Leave/LeaveRoom.tsx": {
13769
13769
  "bytesInOutput": 2672
@@ -13904,7 +13904,7 @@
13904
13904
  "bytesInOutput": 615
13905
13905
  },
13906
13906
  "../hms-video-web/dist/index.js": {
13907
- "bytesInOutput": 35584
13907
+ "bytesInOutput": 35576
13908
13908
  },
13909
13909
  "src/Prebuilt/common/utils.js": {
13910
13910
  "bytesInOutput": 2911
@@ -14339,7 +14339,7 @@
14339
14339
  "bytesInOutput": 2930
14340
14340
  }
14341
14341
  },
14342
- "bytes": 1106040
14342
+ "bytes": 1106027
14343
14343
  }
14344
14344
  }
14345
14345
  }
@@ -2649,7 +2649,7 @@
2649
2649
  "format": "esm"
2650
2650
  },
2651
2651
  "src/Prebuilt/components/Leave/DesktopLeaveRoom.tsx": {
2652
- "bytes": 6166,
2652
+ "bytes": 6195,
2653
2653
  "imports": [
2654
2654
  {
2655
2655
  "path": "react",
@@ -2792,7 +2792,7 @@
2792
2792
  "format": "esm"
2793
2793
  },
2794
2794
  "src/Prebuilt/components/Leave/MwebLeaveRoom.tsx": {
2795
- "bytes": 4628,
2795
+ "bytes": 4657,
2796
2796
  "imports": [
2797
2797
  {
2798
2798
  "path": "react",
@@ -4409,7 +4409,7 @@
4409
4409
  "format": "cjs"
4410
4410
  },
4411
4411
  "../hms-video-web/dist/index.js": {
4412
- "bytes": 254752,
4412
+ "bytes": 254547,
4413
4413
  "imports": [
4414
4414
  {
4415
4415
  "path": "uuid",
@@ -11099,7 +11099,7 @@
11099
11099
  "dist/index.js": {
11100
11100
  "imports": [
11101
11101
  {
11102
- "path": "dist/chunk-I3J4WTJM.js",
11102
+ "path": "dist/chunk-PPVYVQ6N.js",
11103
11103
  "kind": "import-statement"
11104
11104
  }
11105
11105
  ],
@@ -11171,16 +11171,16 @@
11171
11171
  "inputs": {},
11172
11172
  "bytes": 1798
11173
11173
  },
11174
- "dist/HLSView-37K6YKVO.js.map": {
11174
+ "dist/HLSView-IV3GXWDT.js.map": {
11175
11175
  "imports": [],
11176
11176
  "exports": [],
11177
11177
  "inputs": {},
11178
11178
  "bytes": 53187
11179
11179
  },
11180
- "dist/HLSView-37K6YKVO.js": {
11180
+ "dist/HLSView-IV3GXWDT.js": {
11181
11181
  "imports": [
11182
11182
  {
11183
- "path": "dist/chunk-I3J4WTJM.js",
11183
+ "path": "dist/chunk-PPVYVQ6N.js",
11184
11184
  "kind": "import-statement"
11185
11185
  },
11186
11186
  {
@@ -11331,13 +11331,13 @@
11331
11331
  },
11332
11332
  "bytes": 33380
11333
11333
  },
11334
- "dist/chunk-I3J4WTJM.js.map": {
11334
+ "dist/chunk-PPVYVQ6N.js.map": {
11335
11335
  "imports": [],
11336
11336
  "exports": [],
11337
11337
  "inputs": {},
11338
- "bytes": 1974355
11338
+ "bytes": 1973926
11339
11339
  },
11340
- "dist/chunk-I3J4WTJM.js": {
11340
+ "dist/chunk-PPVYVQ6N.js": {
11341
11341
  "imports": [
11342
11342
  {
11343
11343
  "path": "react",
@@ -13285,7 +13285,7 @@
13285
13285
  "external": true
13286
13286
  },
13287
13287
  {
13288
- "path": "dist/HLSView-37K6YKVO.js",
13288
+ "path": "dist/HLSView-IV3GXWDT.js",
13289
13289
  "kind": "dynamic-import"
13290
13290
  },
13291
13291
  {
@@ -13650,7 +13650,7 @@
13650
13650
  ],
13651
13651
  "inputs": {
13652
13652
  "<define:process.env>": {
13653
- "bytesInOutput": 18611
13653
+ "bytesInOutput": 18484
13654
13654
  },
13655
13655
  "../../node_modules/ua-parser-js/src/ua-parser.js": {
13656
13656
  "bytesInOutput": 42427
@@ -13956,7 +13956,7 @@
13956
13956
  "bytesInOutput": 2182
13957
13957
  },
13958
13958
  "src/Prebuilt/components/Leave/DesktopLeaveRoom.tsx": {
13959
- "bytesInOutput": 5679
13959
+ "bytesInOutput": 5740
13960
13960
  },
13961
13961
  "src/Prebuilt/components/Leave/EndSessionContent.tsx": {
13962
13962
  "bytesInOutput": 1947
@@ -13971,7 +13971,7 @@
13971
13971
  "bytesInOutput": 1790
13972
13972
  },
13973
13973
  "src/Prebuilt/components/Leave/MwebLeaveRoom.tsx": {
13974
- "bytesInOutput": 4274
13974
+ "bytesInOutput": 4335
13975
13975
  },
13976
13976
  "src/Sheet/index.ts": {
13977
13977
  "bytesInOutput": 27
@@ -14073,7 +14073,7 @@
14073
14073
  "bytesInOutput": 10019
14074
14074
  },
14075
14075
  "../hms-video-web/dist/index.js": {
14076
- "bytesInOutput": 32883
14076
+ "bytesInOutput": 32875
14077
14077
  },
14078
14078
  "../../node_modules/webrtc-adapter/src/js/adapter_core.js": {
14079
14079
  "bytesInOutput": 154
@@ -14478,7 +14478,7 @@
14478
14478
  "bytesInOutput": 418
14479
14479
  }
14480
14480
  },
14481
- "bytes": 909900
14481
+ "bytes": 909887
14482
14482
  }
14483
14483
  }
14484
14484
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.1.11-alpha.2",
13
+ "version": "0.1.11",
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.20-alpha.2",
80
- "@100mslive/hms-virtual-background": "1.11.20-alpha.2",
81
- "@100mslive/react-icons": "0.8.20-alpha.2",
82
- "@100mslive/react-sdk": "0.8.20-alpha.2",
79
+ "@100mslive/hls-player": "0.1.20",
80
+ "@100mslive/hms-virtual-background": "1.11.20",
81
+ "@100mslive/react-icons": "0.8.20",
82
+ "@100mslive/react-sdk": "0.8.20",
83
83
  "@100mslive/types-prebuilt": "0.12.0",
84
84
  "@emoji-mart/data": "^1.0.6",
85
85
  "@emoji-mart/react": "^1.0.1",
@@ -114,5 +114,5 @@
114
114
  "uuid": "^8.3.2",
115
115
  "worker-timers": "^7.0.40"
116
116
  },
117
- "gitHead": "f5c7e1214f73304f89b181ced53f13669d4194bb"
117
+ "gitHead": "1cf50a967e84ad44b2107c9b27a9e28e61be0c42"
118
118
  }
@@ -30,7 +30,7 @@ export const DesktopLeaveRoom = ({
30
30
  const isConnected = useHMSStore(selectIsConnectedToRoom);
31
31
  const permissions = useHMSStore(selectPermissions);
32
32
  const { isStreamingOn } = useRecordingStreaming();
33
- const showStream = screenType !== 'hls_live_streaming' && isStreamingOn;
33
+ const showStream = screenType !== 'hls_live_streaming' && isStreamingOn && permissions?.hlsStreaming;
34
34
  const showLeaveOptions = (permissions?.hlsStreaming && isStreamingOn) || permissions?.endRoom;
35
35
 
36
36
  useDropdownList({ open: open || showEndStreamAlert || showLeaveRoomAlert, name: 'LeaveRoom' });
@@ -29,7 +29,7 @@ export const MwebLeaveRoom = ({
29
29
  const isConnected = useHMSStore(selectIsConnectedToRoom);
30
30
  const permissions = useHMSStore(selectPermissions);
31
31
  const { isStreamingOn } = useRecordingStreaming();
32
- const showStream = screenType !== 'hls_live_streaming' && isStreamingOn;
32
+ const showStream = screenType !== 'hls_live_streaming' && isStreamingOn && permissions?.hlsStreaming;
33
33
  const showLeaveOptions = (permissions?.hlsStreaming && isStreamingOn) || permissions?.endRoom;
34
34
 
35
35
  useDropdownList({ open, name: 'LeaveRoom' });