@spotlightjs/overlay 2.2.0 → 2.2.1

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.
@@ -3846,12 +3846,10 @@ function s2(n, a, s, o) {
3846
3846
  const d = (T) => {
3847
3847
  vt(`Received new ${u} event`);
3848
3848
  for (const S of R) {
3849
- if (!S.processEvent)
3850
- return;
3851
- const N = S.processEvent({
3849
+ const N = S.processEvent ? S.processEvent({
3852
3850
  contentType: u,
3853
3851
  data: T.data
3854
- });
3852
+ }) : { event: T };
3855
3853
  N && s((m) => {
3856
3854
  const v = S.name;
3857
3855
  return {
@@ -5042,7 +5040,7 @@ function xS(n) {
5042
5040
  }
5043
5041
  );
5044
5042
  }
5045
- const tw = x.lazy(() => import("./main-d5f617e5.js").then((n) => n.m)), nw = () => {
5043
+ const tw = x.lazy(() => import("./main-74c7f044.js").then((n) => n.m)), nw = () => {
5046
5044
  };
5047
5045
  function Gp({
5048
5046
  data: n,
@@ -36754,4 +36752,4 @@ export {
36754
36752
  Av as t,
36755
36753
  s8 as v
36756
36754
  };
36757
- //# sourceMappingURL=index-2dea620f.js.map
36755
+ //# sourceMappingURL=index-7016b54e.js.map