@stream-io/video-client 1.37.2 → 1.37.3

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,14 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.37.3](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.37.2...@stream-io/video-client-1.37.3) (2025-11-25)
6
+
7
+ - instructions for Claude and other coding agents ([#2012](https://github.com/GetStream/stream-video-js/issues/2012)) ([08a3459](https://github.com/GetStream/stream-video-js/commit/08a345954f7cb5b1fae5a4b39b5b585bf1f631ec))
8
+
9
+ ### Bug Fixes
10
+
11
+ - **noise cancellation:** delay toggling until initialization is finished ([#2014](https://github.com/GetStream/stream-video-js/issues/2014)) ([d28b8ea](https://github.com/GetStream/stream-video-js/commit/d28b8ea282322a25688ff48966b0dc10dd7e60bd))
12
+
5
13
  ## [1.37.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.37.1...@stream-io/video-client-1.37.2) (2025-11-20)
6
14
 
7
15
  ### Bug Fixes
@@ -6000,7 +6000,7 @@ const getSdkVersion = (sdk) => {
6000
6000
  return sdk ? `${sdk.major}.${sdk.minor}.${sdk.patch}` : '0.0.0-development';
6001
6001
  };
6002
6002
 
6003
- const version = "1.37.2";
6003
+ const version = "1.37.3";
6004
6004
  const [major, minor, patch] = version.split('.');
6005
6005
  let sdkInfo = {
6006
6006
  type: SdkType.PLAIN_JAVASCRIPT,
@@ -11265,7 +11265,9 @@ class MicrophoneManager extends AudioDeviceManager {
11265
11265
  })
11266
11266
  .then((canAutoEnable) => {
11267
11267
  if (canAutoEnable) {
11268
- this.noiseCancellation?.enable();
11268
+ this.noiseCancellation?.enable().catch((err) => {
11269
+ this.logger.warn('Failed to enable noise cancellation', err);
11270
+ });
11269
11271
  }
11270
11272
  })
11271
11273
  .catch((err) => {
@@ -11335,7 +11337,9 @@ class MicrophoneManager extends AudioDeviceManager {
11335
11337
  canAutoEnable = await noiseCancellation.canAutoEnable();
11336
11338
  }
11337
11339
  if (canAutoEnable) {
11338
- noiseCancellation.enable();
11340
+ noiseCancellation.enable().catch((err) => {
11341
+ this.logger.warn('Failed to enable noise cancellation', err);
11342
+ });
11339
11343
  }
11340
11344
  }
11341
11345
  }
@@ -11415,10 +11419,14 @@ class MicrophoneManager extends AudioDeviceManager {
11415
11419
  if (this.noiseCancellation) {
11416
11420
  const disableAudioProcessing = profile === AudioBitrateProfile.MUSIC_HIGH_QUALITY;
11417
11421
  if (disableAudioProcessing) {
11418
- this.noiseCancellation.disable(); // disable for high quality music mode
11422
+ this.noiseCancellation.disable().catch((err) => {
11423
+ this.logger.warn('Failed to disable noise cancellation for music mode', err);
11424
+ }); // disable for high quality music mode
11419
11425
  }
11420
11426
  else {
11421
- this.noiseCancellation.enable(); // restore it for other modes if available
11427
+ this.noiseCancellation.enable().catch((err) => {
11428
+ this.logger.warn('Failed to enable noise cancellation', err);
11429
+ }); // restore it for other modes if available
11422
11430
  }
11423
11431
  }
11424
11432
  }
@@ -14910,7 +14918,7 @@ class StreamClient {
14910
14918
  this.getUserAgent = () => {
14911
14919
  if (!this.cachedUserAgent) {
14912
14920
  const { clientAppIdentifier = {} } = this.options;
14913
- const { sdkName = 'js', sdkVersion = "1.37.2", ...extras } = clientAppIdentifier;
14921
+ const { sdkName = 'js', sdkVersion = "1.37.3", ...extras } = clientAppIdentifier;
14914
14922
  this.cachedUserAgent = [
14915
14923
  `stream-video-${sdkName}-v${sdkVersion}`,
14916
14924
  ...Object.entries(extras).map(([key, value]) => `${key}=${value}`),