@100mslive/roomkit-react 0.3.5-alpha.8 → 0.3.6

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-43EHUY5K.js";
65
+ } from "./chunk-7BDKGZUK.js";
66
66
  export {
67
67
  Accordion,
68
68
  AudioLevel,
@@ -4696,7 +4696,7 @@
4696
4696
  "format": "cjs"
4697
4697
  },
4698
4698
  "../hms-video-store/dist/index.js": {
4699
- "bytes": 330632,
4699
+ "bytes": 330624,
4700
4700
  "imports": [
4701
4701
  {
4702
4702
  "path": "../../node_modules/reselect/es/index.js",
@@ -11644,7 +11644,7 @@
11644
11644
  "format": "esm"
11645
11645
  },
11646
11646
  "src/Prebuilt/layouts/VideoStreamingSection.tsx": {
11647
- "bytes": 4499,
11647
+ "bytes": 4556,
11648
11648
  "imports": [
11649
11649
  {
11650
11650
  "path": "react",
@@ -13780,7 +13780,7 @@
13780
13780
  "imports": [],
13781
13781
  "exports": [],
13782
13782
  "inputs": {},
13783
- "bytes": 3302043
13783
+ "bytes": 3302139
13784
13784
  },
13785
13785
  "dist/index.cjs.js": {
13786
13786
  "imports": [
@@ -16729,7 +16729,7 @@
16729
16729
  "entryPoint": "src/index.ts",
16730
16730
  "inputs": {
16731
16731
  "<define:process.env>": {
16732
- "bytesInOutput": 18286
16732
+ "bytesInOutput": 18201
16733
16733
  },
16734
16734
  "src/Theme/base.config.ts": {
16735
16735
  "bytesInOutput": 6104
@@ -17218,7 +17218,7 @@
17218
17218
  "bytesInOutput": 615
17219
17219
  },
17220
17220
  "../hms-video-store/dist/index.js": {
17221
- "bytesInOutput": 53501
17221
+ "bytesInOutput": 53493
17222
17222
  },
17223
17223
  "src/Prebuilt/components/hooks/usePlaylistMusic.js": {
17224
17224
  "bytesInOutput": 1384
@@ -17647,7 +17647,7 @@
17647
17647
  "bytesInOutput": 33518
17648
17648
  },
17649
17649
  "src/Prebuilt/layouts/VideoStreamingSection.tsx": {
17650
- "bytesInOutput": 4514
17650
+ "bytesInOutput": 4586
17651
17651
  },
17652
17652
  "src/Prebuilt/components/Header/RoomDetailsHeader.tsx": {
17653
17653
  "bytesInOutput": 2182
@@ -17782,7 +17782,7 @@
17782
17782
  "bytesInOutput": 2980
17783
17783
  }
17784
17784
  },
17785
- "bytes": 1571007
17785
+ "bytes": 1570986
17786
17786
  }
17787
17787
  }
17788
17788
  }
@@ -4696,7 +4696,7 @@
4696
4696
  "format": "cjs"
4697
4697
  },
4698
4698
  "../hms-video-store/dist/index.js": {
4699
- "bytes": 330632,
4699
+ "bytes": 330624,
4700
4700
  "imports": [
4701
4701
  {
4702
4702
  "path": "../../node_modules/reselect/es/index.js",
@@ -11644,7 +11644,7 @@
11644
11644
  "format": "esm"
11645
11645
  },
11646
11646
  "src/Prebuilt/layouts/VideoStreamingSection.tsx": {
11647
- "bytes": 4499,
11647
+ "bytes": 4556,
11648
11648
  "imports": [
11649
11649
  {
11650
11650
  "path": "react",
@@ -13785,7 +13785,7 @@
13785
13785
  "dist/index.js": {
13786
13786
  "imports": [
13787
13787
  {
13788
- "path": "dist/chunk-43EHUY5K.js",
13788
+ "path": "dist/chunk-7BDKGZUK.js",
13789
13789
  "kind": "import-statement"
13790
13790
  }
13791
13791
  ],
@@ -13858,16 +13858,16 @@
13858
13858
  "inputs": {},
13859
13859
  "bytes": 1822
13860
13860
  },
13861
- "dist/HLSView-PIGBPN6K.js.map": {
13861
+ "dist/HLSView-KQBEDDJG.js.map": {
13862
13862
  "imports": [],
13863
13863
  "exports": [],
13864
13864
  "inputs": {},
13865
13865
  "bytes": 99604
13866
13866
  },
13867
- "dist/HLSView-PIGBPN6K.js": {
13867
+ "dist/HLSView-KQBEDDJG.js": {
13868
13868
  "imports": [
13869
13869
  {
13870
- "path": "dist/chunk-43EHUY5K.js",
13870
+ "path": "dist/chunk-7BDKGZUK.js",
13871
13871
  "kind": "import-statement"
13872
13872
  },
13873
13873
  {
@@ -14103,13 +14103,13 @@
14103
14103
  },
14104
14104
  "bytes": 61412
14105
14105
  },
14106
- "dist/chunk-43EHUY5K.js.map": {
14106
+ "dist/chunk-7BDKGZUK.js.map": {
14107
14107
  "imports": [],
14108
14108
  "exports": [],
14109
14109
  "inputs": {},
14110
- "bytes": 3198109
14110
+ "bytes": 3198205
14111
14111
  },
14112
- "dist/chunk-43EHUY5K.js": {
14112
+ "dist/chunk-7BDKGZUK.js": {
14113
14113
  "imports": [
14114
14114
  {
14115
14115
  "path": "react",
@@ -16497,7 +16497,7 @@
16497
16497
  "external": true
16498
16498
  },
16499
16499
  {
16500
- "path": "dist/HLSView-PIGBPN6K.js",
16500
+ "path": "dist/HLSView-KQBEDDJG.js",
16501
16501
  "kind": "dynamic-import"
16502
16502
  },
16503
16503
  {
@@ -16978,7 +16978,7 @@
16978
16978
  ],
16979
16979
  "inputs": {
16980
16980
  "<define:process.env>": {
16981
- "bytesInOutput": 18286
16981
+ "bytesInOutput": 18201
16982
16982
  },
16983
16983
  "../../node_modules/lodash/lodash.js": {
16984
16984
  "bytesInOutput": 224310
@@ -17416,7 +17416,7 @@
17416
17416
  "bytesInOutput": 10031
17417
17417
  },
17418
17418
  "../hms-video-store/dist/index.js": {
17419
- "bytesInOutput": 48906
17419
+ "bytesInOutput": 48898
17420
17420
  },
17421
17421
  "../../node_modules/reselect/es/index.js": {
17422
17422
  "bytesInOutput": 2537
@@ -17752,7 +17752,7 @@
17752
17752
  "bytesInOutput": 2163
17753
17753
  },
17754
17754
  "src/Prebuilt/layouts/VideoStreamingSection.tsx": {
17755
- "bytesInOutput": 3506
17755
+ "bytesInOutput": 3566
17756
17756
  },
17757
17757
  "src/Prebuilt/components/VideoLayouts/GridLayout.tsx": {
17758
17758
  "bytesInOutput": 4550
@@ -17938,7 +17938,7 @@
17938
17938
  "bytesInOutput": 651
17939
17939
  }
17940
17940
  },
17941
- "bytes": 1309342
17941
+ "bytes": 1309309
17942
17942
  }
17943
17943
  }
17944
17944
  }
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.5-alpha.8",
13
+ "version": "0.3.6",
14
14
  "author": "100ms",
15
15
  "license": "MIT",
16
16
  "repository": {
@@ -82,11 +82,11 @@
82
82
  "react": ">=17.0.2 <19.0.0"
83
83
  },
84
84
  "dependencies": {
85
- "@100mslive/hls-player": "0.3.5-alpha.8",
85
+ "@100mslive/hls-player": "0.3.6",
86
86
  "@100mslive/hms-noise-cancellation": "0.0.1",
87
- "@100mslive/hms-virtual-background": "1.13.5-alpha.8",
88
- "@100mslive/react-icons": "0.10.5-alpha.8",
89
- "@100mslive/react-sdk": "0.10.5-alpha.8",
87
+ "@100mslive/hms-virtual-background": "1.13.6",
88
+ "@100mslive/react-icons": "0.10.6",
89
+ "@100mslive/react-sdk": "0.10.6",
90
90
  "@100mslive/types-prebuilt": "0.12.8",
91
91
  "@emoji-mart/data": "^1.0.6",
92
92
  "@emoji-mart/react": "^1.0.1",
@@ -122,5 +122,5 @@
122
122
  "uuid": "^8.3.2",
123
123
  "worker-timers": "^7.0.40"
124
124
  },
125
- "gitHead": "aab313829e1a3e05e139941020f828ef295f6e2d"
125
+ "gitHead": "6f3b3e4306421fa7f563afae416ab97b880642f9"
126
126
  }
@@ -94,7 +94,10 @@ export const VideoStreamingSection = ({
94
94
  ({ localPeerRole }) => localPeerRole === waitingViewerRole,
95
95
  () => <WaitingView />,
96
96
  )
97
- .with({ pdfAnnotatorActive: true }, () => <PDFView />)
97
+ .when(
98
+ ({ pdfAnnotatorActive }) => !!pdfAnnotatorActive,
99
+ () => <PDFView />,
100
+ )
98
101
  .when(
99
102
  ({ urlToIframe }) => !!urlToIframe,
100
103
  () => <EmbedView />,