@100mslive/roomkit-react 0.3.5 → 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-6EGSZGLA.js";
65
+ } from "./chunk-7BDKGZUK.js";
66
66
  export {
67
67
  Accordion,
68
68
  AudioLevel,
@@ -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": 3302032
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": 18228
16732
+ "bytesInOutput": 18201
16733
16733
  },
16734
16734
  "src/Theme/base.config.ts": {
16735
16735
  "bytesInOutput": 6104
@@ -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": 1570941
17785
+ "bytes": 1570986
17786
17786
  }
17787
17787
  }
17788
17788
  }
@@ -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-6EGSZGLA.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-K5AMEE25.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-K5AMEE25.js": {
13867
+ "dist/HLSView-KQBEDDJG.js": {
13868
13868
  "imports": [
13869
13869
  {
13870
- "path": "dist/chunk-6EGSZGLA.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-6EGSZGLA.js.map": {
14106
+ "dist/chunk-7BDKGZUK.js.map": {
14107
14107
  "imports": [],
14108
14108
  "exports": [],
14109
14109
  "inputs": {},
14110
- "bytes": 3198098
14110
+ "bytes": 3198205
14111
14111
  },
14112
- "dist/chunk-6EGSZGLA.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-K5AMEE25.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": 18228
16981
+ "bytesInOutput": 18201
16982
16982
  },
16983
16983
  "../../node_modules/lodash/lodash.js": {
16984
16984
  "bytesInOutput": 224310
@@ -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": 1309276
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",
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",
85
+ "@100mslive/hls-player": "0.3.6",
86
86
  "@100mslive/hms-noise-cancellation": "0.0.1",
87
- "@100mslive/hms-virtual-background": "1.13.5",
88
- "@100mslive/react-icons": "0.10.5",
89
- "@100mslive/react-sdk": "0.10.5",
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": "241ab71aeb92a9c516a30a7c51bc7af2ca80f347"
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 />,