@stream-io/video-react-sdk 1.2.7 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [1.2.9](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.2.8...@stream-io/video-react-sdk-1.2.9) (2024-06-25)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * in some browsers event.key could be undefined ([#1421](https://github.com/GetStream/stream-video-js/issues/1421)) ([0a01c9f](https://github.com/GetStream/stream-video-js/commit/0a01c9fc6148457f9c9de0f8073f71143b05dc80))
11
+
12
+ ### [1.2.8](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.2.7...@stream-io/video-react-sdk-1.2.8) (2024-06-25)
13
+
14
+ ### Dependency Updates
15
+
16
+ * `@stream-io/video-client` updated to version `1.4.3`
17
+ * `@stream-io/video-react-bindings` updated to version `0.4.47`
5
18
  ### [1.2.7](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.2.6...@stream-io/video-react-sdk-1.2.7) (2024-06-24)
6
19
 
7
20
  ### Dependency Updates
package/dist/index.cjs.js CHANGED
@@ -537,7 +537,8 @@ const MenuToggle = ({ ToggleButton, placement = 'top-start', strategy = 'absolut
537
537
  }
538
538
  };
539
539
  const handleKeyDown = (event) => {
540
- if (event.key.toLowerCase() === 'escape' &&
540
+ if (event.key && // key can be undefined in some browsers
541
+ event.key.toLowerCase() === 'escape' &&
541
542
  !event.altKey &&
542
543
  !event.ctrlKey) {
543
544
  setMenuShown(false);
@@ -2612,7 +2613,7 @@ const LivestreamPlayer = (props) => {
2612
2613
  return (jsxRuntime.jsx(StreamCall, { call: call, children: jsxRuntime.jsx(LivestreamLayout, { ...layoutProps }) }));
2613
2614
  };
2614
2615
 
2615
- const [major, minor, patch] = ("1.2.7" ).split('.');
2616
+ const [major, minor, patch] = ("1.2.9" ).split('.');
2616
2617
  videoClient.setSdkInfo({
2617
2618
  type: videoClient.SfuModels.SdkType.REACT,
2618
2619
  major,