@stream-io/video-client 0.3.8 → 0.3.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 CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [0.3.9](https://github.com/GetStream/stream-video-js/compare/client0.3.8...client0.3.9) (2023-08-29)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * round non-int video dimension values ([#1007](https://github.com/GetStream/stream-video-js/issues/1007)) ([baec0b5](https://github.com/GetStream/stream-video-js/commit/baec0b5d4d2242e71c413e93b73897589e31429c))
11
+
5
12
  ### [0.3.8](https://github.com/GetStream/stream-video-js/compare/client0.3.7...client0.3.8) (2023-08-29)
6
13
 
7
14
 
@@ -10744,6 +10744,13 @@ class Call {
10744
10744
  */
10745
10745
  this.updateSubscriptionsPartial = (kind, changes, type = DebounceType.SLOW) => {
10746
10746
  const participants = this.state.updateParticipants(Object.entries(changes).reduce((acc, [sessionId, change]) => {
10747
+ var _a, _b;
10748
+ if ((_a = change.dimension) === null || _a === void 0 ? void 0 : _a.height) {
10749
+ change.dimension.height = Math.ceil(change.dimension.height);
10750
+ }
10751
+ if ((_b = change.dimension) === null || _b === void 0 ? void 0 : _b.width) {
10752
+ change.dimension.width = Math.ceil(change.dimension.width);
10753
+ }
10747
10754
  const prop = kind === 'video'
10748
10755
  ? 'videoDimension'
10749
10756
  : kind === 'screen'
@@ -12513,7 +12520,7 @@ class WSConnectionFallback {
12513
12520
  }
12514
12521
  }
12515
12522
 
12516
- const version = '0.3.8';
12523
+ const version = '0.3.9';
12517
12524
 
12518
12525
  const logger = getLogger(['location']);
12519
12526
  const HINT_URL = `https://hint.stream-io-video.com/`;