@stream-io/video-react-sdk 1.7.16 → 1.7.18

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,21 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.7.18](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.7.17...@stream-io/video-react-sdk-1.7.18) (2024-11-20)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `@stream-io/video-client` updated to version `1.11.3`
10
+ * `@stream-io/video-react-bindings` updated to version `1.1.20`
11
+ ## [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)
12
+
13
+ ### Dependency Updates
14
+
15
+ * `@stream-io/video-client` updated to version `1.11.2`
16
+ * `@stream-io/video-react-bindings` updated to version `1.1.19`
17
+
18
+ * 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))
19
+
5
20
  ## [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
21
 
7
22
  ### 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: () => call.leave({ reject: true }), disabled: buttonsDisabled })] })) }));
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.16").split('.');
2557
+ const [major, minor, patch] = ("1.7.18").split('.');
2555
2558
  videoClient.setSdkInfo({
2556
2559
  type: videoClient.SfuModels.SdkType.REACT,
2557
2560
  major,