mftsccs-browser 2.0.18-beta → 2.0.19-beta

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.
@@ -24064,7 +24064,7 @@ function initConceptConnection() {
24064
24064
  */
24065
24065
  function dispatchIdEvent(id, data = {}) {
24066
24066
  // console.log('id event dispatched', id)
24067
- if (serviceWorker) {
24067
+ if (serviceWorker || typeof window != undefined) {
24068
24068
  // let event = new Event(`${id}`);
24069
24069
  let event = new CustomEvent(`${id}`, data);
24070
24070
  dispatchEvent(event);