mftsccs-browser 3.2.13-beta → 3.2.15-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.
@@ -10569,9 +10569,11 @@ class TypeNode {
10569
10569
  }
10570
10570
  else {
10571
10571
  // If key already exists, insert unique value into the set
10572
- console.log("this is type dispatch already exist", key);
10573
- (0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(key, { detail: value });
10574
- node.value.push(value);
10572
+ if (!node.value.includes(value)) {
10573
+ (0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(key, { detail: value });
10574
+ console.log("this is type dispatch already exist", key);
10575
+ node.value.push(value);
10576
+ }
10575
10577
  return node;
10576
10578
  }
10577
10579
  // Step 2: Update height of this ancestor node
@@ -25819,8 +25821,8 @@ const broadcastActions = {
25819
25821
  }),
25820
25822
  dispatchEvent: (payload) => __awaiter(void 0, void 0, void 0, function* () {
25821
25823
  if (serviceWorker) {
25822
- console.log("this is dispatching the event for test", payload);
25823
25824
  let event = new CustomEvent(payload.id || '', payload.data);
25825
+ console.log("this is the dispatch final");
25824
25826
  dispatchEvent(event);
25825
25827
  }
25826
25828
  // self.clients.matchAll({ includeUncontrolled: true }).then(clients => {
@@ -26004,7 +26006,6 @@ function initConceptConnection() {
26004
26006
  * @param data any
26005
26007
  */
26006
26008
  function dispatchIdEvent(id, data = {}) {
26007
- console.log("this is the dispatch id event", id, data);
26008
26009
  if (serviceWorker || typeof window != "undefined") {
26009
26010
  // let event = new Event(`${id}`);
26010
26011
  console.log("this is the dispatch event in the undefined", id, data);