@stream-io/video-react-sdk 1.2.8 → 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 +7 -0
- package/dist/index.cjs.js +3 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Menu/MenuToggle.tsx +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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
|
+
|
|
5
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)
|
|
6
13
|
|
|
7
14
|
### 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
|
|
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.
|
|
2616
|
+
const [major, minor, patch] = ("1.2.9" ).split('.');
|
|
2616
2617
|
videoClient.setSdkInfo({
|
|
2617
2618
|
type: videoClient.SfuModels.SdkType.REACT,
|
|
2618
2619
|
major,
|