@almadar/runtime 4.4.0 → 4.4.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.
@@ -1,4 +1,4 @@
1
- import { EventBus, createUnifiedLoader, preprocessSchema, StateMachineManager, createContextFromBindings, EffectExecutor } from './chunk-QKH3SGBA.js';
1
+ import { EventBus, createUnifiedLoader, preprocessSchema, StateMachineManager, createContextFromBindings, EffectExecutor } from './chunk-6YIZIJNA.js';
2
2
  import './chunk-PZ5AY32C.js';
3
3
  import { Router } from 'express';
4
4
  import * as fs from 'fs';
@@ -2084,6 +2084,10 @@ function renameEventsInRenderUiConfig(node, rename) {
2084
2084
  next[key] = rename(value) ?? value;
2085
2085
  continue;
2086
2086
  }
2087
+ if (key === "event" && typeof value === "string" && !value.startsWith("@")) {
2088
+ next[key] = rename(value) ?? value;
2089
+ continue;
2090
+ }
2087
2091
  if (/^on[A-Z]/.test(key) && typeof value === "string" && !value.startsWith("@")) {
2088
2092
  next[key] = rename(value) ?? value;
2089
2093
  continue;
@@ -2783,5 +2787,5 @@ function parseNamespacedEvent(eventName) {
2783
2787
  }
2784
2788
 
2785
2789
  export { EffectExecutor, EventBus, HANDLER_MANIFEST, StateMachineManager, containsBindings, createContextFromBindings, createInitialTraitState, createTestExecutor, createUnifiedLoader, extractBindings, findInitialState, findTransition, getIsolatedCollectionName, getNamespacedEvent, interpolateProps, interpolateValue, isBrowser, isElectron, isNamespacedEvent, isNode, normalizeEventKey, parseNamespacedEvent, preprocessSchema, processEvent };
2786
- //# sourceMappingURL=chunk-QKH3SGBA.js.map
2787
- //# sourceMappingURL=chunk-QKH3SGBA.js.map
2790
+ //# sourceMappingURL=chunk-6YIZIJNA.js.map
2791
+ //# sourceMappingURL=chunk-6YIZIJNA.js.map