@syntrologie/adapt-faq 2.8.0-canary.621 → 2.8.0-canary.623

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.
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  dispatchDiveDeeper,
3
+ emitOnBus,
3
4
  resolveColorScheme,
4
5
  stripMountPlumbing
5
- } from "./chunk-72RKX2MI.js";
6
+ } from "./chunk-DV23USAJ.js";
6
7
  import {
7
8
  getAnswerText,
8
9
  purple,
@@ -663,11 +664,7 @@ function measureRenderHealth(root) {
663
664
  }
664
665
  function synEmit(name, props) {
665
666
  if (typeof window === "undefined") return;
666
- try {
667
- const emit = window.SynOS?.runtime?.events?.emit;
668
- if (typeof emit === "function") emit(name, props);
669
- } catch {
670
- }
667
+ emitOnBus(window.SynOS?.runtime?.events, name, props);
671
668
  }
672
669
  var CLEAN = { clips: [], blank: false };
673
670
  function reportRenderHealth(root, opts) {
@@ -1667,4 +1664,4 @@ export {
1667
1664
  runtime,
1668
1665
  runtime_default
1669
1666
  };
1670
- //# sourceMappingURL=chunk-3K343VT3.js.map
1667
+ //# sourceMappingURL=chunk-YXJ4IXAQ.js.map