@stream-io/video-client 0.3.22 → 0.3.23

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.23](https://github.com/GetStream/stream-video-js/compare/client0.3.22...client0.3.23) (2023-09-26)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * add type check of deviceId before setting sinkId ([#1108](https://github.com/GetStream/stream-video-js/issues/1108)) ([705515e](https://github.com/GetStream/stream-video-js/commit/705515e5f63a35286fdb45725b9e299afe09c9bb))
11
+
5
12
  ### [0.3.22](https://github.com/GetStream/stream-video-js/compare/client0.3.21...client0.3.22) (2023-09-25)
6
13
 
7
14
 
@@ -9641,7 +9641,7 @@ class DynascaleManager {
9641
9641
  const deviceId = ((_a = getSdkInfo()) === null || _a === void 0 ? void 0 : _a.type) === SdkType.REACT
9642
9642
  ? p === null || p === void 0 ? void 0 : p.audioOutputDeviceId
9643
9643
  : selectedDevice;
9644
- if ('setSinkId' in audioElement) {
9644
+ if ('setSinkId' in audioElement && typeof deviceId === 'string') {
9645
9645
  // @ts-expect-error setSinkId is not yet in the lib
9646
9646
  audioElement.setSinkId(deviceId);
9647
9647
  }
@@ -13162,7 +13162,7 @@ class WSConnectionFallback {
13162
13162
  }
13163
13163
  }
13164
13164
 
13165
- const version = '0.3.22';
13165
+ const version = '0.3.23';
13166
13166
 
13167
13167
  const logger = getLogger(['location']);
13168
13168
  const HINT_URL = `https://hint.stream-io-video.com/`;