@stream-io/video-react-sdk 1.7.16 → 1.7.17
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,15 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.7.17](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.7.16...@stream-io/video-react-sdk-1.7.17) (2024-11-14)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `@stream-io/video-client` updated to version `1.11.2`
|
|
10
|
+
* `@stream-io/video-react-bindings` updated to version `1.1.19`
|
|
11
|
+
|
|
12
|
+
* add reason for cancel call click button ([#1577](https://github.com/GetStream/stream-video-js/issues/1577)) ([bcac386](https://github.com/GetStream/stream-video-js/commit/bcac386b6baa039b23f2281a1f7df0c633af035f))
|
|
13
|
+
|
|
5
14
|
## [1.7.16](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.7.15...@stream-io/video-react-sdk-1.7.16) (2024-11-14)
|
|
6
15
|
|
|
7
16
|
### Dependency Updates
|
package/dist/index.cjs.js
CHANGED
|
@@ -1864,7 +1864,10 @@ const RingingCallControls = () => {
|
|
|
1864
1864
|
if (!call)
|
|
1865
1865
|
return null;
|
|
1866
1866
|
const buttonsDisabled = callCallingState !== videoClient.CallingState.RINGING;
|
|
1867
|
-
return (jsxRuntime.jsx("div", { className: "str-video__pending-call-controls", children: call.isCreatedByMe ? (jsxRuntime.jsx(CancelCallButton, { disabled: buttonsDisabled })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(AcceptCallButton, { disabled: buttonsDisabled }), jsxRuntime.jsx(CancelCallButton, { onClick: () =>
|
|
1867
|
+
return (jsxRuntime.jsx("div", { className: "str-video__pending-call-controls", children: call.isCreatedByMe ? (jsxRuntime.jsx(CancelCallButton, { disabled: buttonsDisabled })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx(AcceptCallButton, { disabled: buttonsDisabled }), jsxRuntime.jsx(CancelCallButton, { onClick: () => {
|
|
1868
|
+
const reason = call.isCreatedByMe ? 'cancel' : 'decline';
|
|
1869
|
+
call.leave({ reject: true, reason });
|
|
1870
|
+
}, disabled: buttonsDisabled })] })) }));
|
|
1868
1871
|
};
|
|
1869
1872
|
|
|
1870
1873
|
const CALLING_STATE_TO_LABEL = {
|
|
@@ -2551,7 +2554,7 @@ const LivestreamPlayer = (props) => {
|
|
|
2551
2554
|
return (jsxRuntime.jsx(StreamCall, { call: call, children: jsxRuntime.jsx(LivestreamLayout, { ...layoutProps }) }));
|
|
2552
2555
|
};
|
|
2553
2556
|
|
|
2554
|
-
const [major, minor, patch] = ("1.7.
|
|
2557
|
+
const [major, minor, patch] = ("1.7.17").split('.');
|
|
2555
2558
|
videoClient.setSdkInfo({
|
|
2556
2559
|
type: videoClient.SfuModels.SdkType.REACT,
|
|
2557
2560
|
major,
|