@stream-io/video-client 1.9.1 → 1.9.2

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,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.9.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.9.1...@stream-io/video-client-1.9.2) (2024-10-21)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **client:** invoke call.reject only when reject param specified ([#1530](https://github.com/GetStream/stream-video-js/issues/1530)) ([eac4e4e](https://github.com/GetStream/stream-video-js/commit/eac4e4ebd2575f5269f65db7173107d5cafab9bf))
11
+
5
12
  ## [1.9.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.9.0...@stream-io/video-client-1.9.1) (2024-10-18)
6
13
 
7
14
 
@@ -2938,7 +2938,7 @@ const retryable = async (rpc, signal) => {
2938
2938
  return result;
2939
2939
  };
2940
2940
 
2941
- const version = "1.9.1";
2941
+ const version = "1.9.2";
2942
2942
  const [major, minor, patch] = version.split('.');
2943
2943
  let sdkInfo = {
2944
2944
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -9408,7 +9408,7 @@ class Call {
9408
9408
  };
9409
9409
  await waitUntilCallJoined();
9410
9410
  }
9411
- if (this.ringing) {
9411
+ if (reject && this.ringing) {
9412
9412
  // I'm the one who started the call, so I should cancel it.
9413
9413
  const hasOtherParticipants = this.state.remoteParticipants.length > 0;
9414
9414
  if (this.isCreatedByMe &&
@@ -9418,7 +9418,7 @@ class Call {
9418
9418
  // before they accepted it.
9419
9419
  await this.reject();
9420
9420
  }
9421
- else if (reject && callingState === CallingState.RINGING) {
9421
+ else if (callingState === CallingState.RINGING) {
9422
9422
  // Signals other users that I have rejected the incoming call.
9423
9423
  await this.reject();
9424
9424
  }
@@ -12450,7 +12450,7 @@ class StreamClient {
12450
12450
  });
12451
12451
  };
12452
12452
  this.getUserAgent = () => {
12453
- const version = "1.9.1";
12453
+ const version = "1.9.2";
12454
12454
  return (this.userAgent ||
12455
12455
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
12456
12456
  };