@stream-io/video-client 0.3.7 → 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/dist/index.es.js CHANGED
@@ -10747,6 +10747,13 @@ class Call {
10747
10747
  */
10748
10748
  this.updateSubscriptionsPartial = (kind, changes, type = DebounceType.SLOW) => {
10749
10749
  const participants = this.state.updateParticipants(Object.entries(changes).reduce((acc, [sessionId, change]) => {
10750
+ var _a, _b;
10751
+ if ((_a = change.dimension) === null || _a === void 0 ? void 0 : _a.height) {
10752
+ change.dimension.height = Math.ceil(change.dimension.height);
10753
+ }
10754
+ if ((_b = change.dimension) === null || _b === void 0 ? void 0 : _b.width) {
10755
+ change.dimension.width = Math.ceil(change.dimension.width);
10756
+ }
10750
10757
  const prop = kind === 'video'
10751
10758
  ? 'videoDimension'
10752
10759
  : kind === 'screen'
@@ -12517,7 +12524,7 @@ class WSConnectionFallback {
12517
12524
  }
12518
12525
  }
12519
12526
 
12520
- const version = '0.3.7';
12527
+ const version = '0.3.9';
12521
12528
 
12522
12529
  const logger = getLogger(['location']);
12523
12530
  const HINT_URL = `https://hint.stream-io-video.com/`;