@stream-io/video-client 1.55.1 → 1.55.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,12 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.55.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.55.1...@stream-io/video-client-1.55.2) (2026-07-17)
6
+
7
+ ### Bug Fixes
8
+
9
+ - use speakerLayoutSortPreset in RN spotlight view ([#2332](https://github.com/GetStream/stream-video-js/issues/2332)) ([910a5de](https://github.com/GetStream/stream-video-js/commit/910a5de6160cc34de99ea1615ef40bb034c57078))
10
+
5
11
  ## [1.55.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.55.0...@stream-io/video-client-1.55.1) (2026-07-02)
6
12
 
7
13
  ### Bug Fixes
@@ -4926,7 +4926,7 @@ const toIceCandidate = (iceTrickle) => {
4926
4926
  }
4927
4927
  };
4928
4928
 
4929
- const version = "1.55.1";
4929
+ const version = "1.55.2";
4930
4930
  const [major, minor, patch] = version.split('.');
4931
4931
  let sdkInfo = {
4932
4932
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -6281,6 +6281,12 @@ class CallState {
6281
6281
  // trigger re-sorting of participants
6282
6282
  this.setCurrentValue(this.participantsSubject, (ps) => ps);
6283
6283
  };
6284
+ /**
6285
+ * Returns the comparator currently used to sort the participants.
6286
+ */
6287
+ getSortParticipantsBy = () => {
6288
+ return this.sortParticipantsBy;
6289
+ };
6284
6290
  /**
6285
6291
  * Gets the current value of an observable, or undefined if the observable has
6286
6292
  * not emitted a value yet.
@@ -16349,6 +16355,12 @@ class Call {
16349
16355
  setSortParticipantsBy = (criteria) => {
16350
16356
  return this.state.setSortParticipantsBy(criteria);
16351
16357
  };
16358
+ /**
16359
+ * Returns the comparator currently used to sort the participants.
16360
+ */
16361
+ getSortParticipantsBy = () => {
16362
+ return this.state.getSortParticipantsBy();
16363
+ };
16352
16364
  /**
16353
16365
  * Sends a reaction to the other call participants.
16354
16366
  *
@@ -18418,11 +18430,11 @@ class StreamClient {
18418
18430
  return await this.wsConnection.connect(this.defaultWSTimeout);
18419
18431
  };
18420
18432
  getSdkVersion = () => this.options.clientAppIdentifier?.sdkVersion ||
18421
- "1.55.1";
18433
+ "1.55.2";
18422
18434
  getUserAgent = () => {
18423
18435
  if (!this.cachedUserAgent) {
18424
18436
  const { clientAppIdentifier = {} } = this.options;
18425
- const { sdkName = 'js', sdkVersion = "1.55.1", ...extras } = clientAppIdentifier;
18437
+ const { sdkName = 'js', sdkVersion = "1.55.2", ...extras } = clientAppIdentifier;
18426
18438
  this.cachedUserAgent = [
18427
18439
  `stream-video-${sdkName}-v${sdkVersion}`,
18428
18440
  ...Object.entries(extras).map(([key, value]) => `${key}=${value}`),