@voicenter-team/opensips-js 1.0.129 → 1.0.130

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.
@@ -27953,7 +27953,7 @@ class tR extends n0 {
27953
27953
  const { width: N, height: C } = this.getAspectRatioDimensions(e, t);
27954
27954
  i = N, f = C, v.width = N, v.height = C, v.style.width = `${N}px`, v.style.height = `${C}px`, T.style.width = `${N}px`, T.style.height = `${C}px`, r.style.height = `${C}px`, y.width = N, y.height = C;
27955
27955
  };
27956
- A(), window.addEventListener("resize", () => {
27956
+ A(), window && window.addEventListener && typeof window.addEventListener == "function" && window.addEventListener("resize", () => {
27957
27957
  A(), this.screenShareKonvaDrawer.addWakeupLine(d);
27958
27958
  });
27959
27959
  const R = this.video, O = () => {