@webex/calling 3.12.0-next.85 → 3.12.0-next.86

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.
@@ -1910,7 +1910,7 @@ export class Call extends Eventing {
1910
1910
  registerEffectListener = (addedEffect) => {
1911
1911
  if (this.localAudioStream) {
1912
1912
  const effect = this.localAudioStream.getEffectByKind(NOISE_REDUCTION_EFFECT);
1913
- if (effect === addedEffect) {
1913
+ if (effect && effect === addedEffect) {
1914
1914
  effect.on(EffectEvent.Enabled, this.onEffectEnabled);
1915
1915
  effect.on(EffectEvent.Disabled, this.onEffectDisabled);
1916
1916
  }
package/package.json CHANGED
@@ -31,6 +31,7 @@
31
31
  "prebuild": "rimraf dist",
32
32
  "build": "tsc",
33
33
  "build:src": "tsc",
34
+ "compile": "yarn workspaces foreach -tR --from @webex/calling run build:src",
34
35
  "test:unit": "jest --config=jest.config.js --runInBand",
35
36
  "test:style": "eslint 'src/**/*.ts'",
36
37
  "fix:lint": "eslint 'src/**/*.ts' --fix",
@@ -147,5 +148,5 @@
147
148
  "staticpath": "docs",
148
149
  "noprompt": true
149
150
  },
150
- "version": "3.12.0-next.85"
151
+ "version": "3.12.0-next.86"
151
152
  }