@almadar/runtime 3.2.6 → 4.0.0

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,6 +1,6 @@
1
1
  import { resolveBinding, evaluate, createMinimalContext, evaluateGuard } from '@almadar/evaluator';
2
2
  export { createMinimalContext } from '@almadar/evaluator';
3
- import { isKnownOperator } from '@almadar/operators';
3
+ import { isKnownOperator } from '@almadar/std';
4
4
  import { OrbitalSchemaSchema, isEntityCall, isEntityReference, parseEntityRef, parseImportedTraitRef, isPageReference, isPageReferenceString, isPageReferenceObject, parsePageRef } from '@almadar/core';
5
5
 
6
6
  // src/EventBus.ts
@@ -290,11 +290,6 @@ function createContextFromBindings(bindings, strictBindings, contextExtensions)
290
290
  if (strictBindings) {
291
291
  ctx.strictBindings = true;
292
292
  }
293
- for (const [key, value] of Object.entries(bindings)) {
294
- if (key !== "entity" && key !== "payload" && key !== "state" && key !== "config" && key !== "user" && value != null) {
295
- ctx.singletons.set(key, value);
296
- }
297
- }
298
293
  if (contextExtensions) {
299
294
  Object.assign(ctx, contextExtensions);
300
295
  }
@@ -2689,5 +2684,5 @@ function parseNamespacedEvent(eventName) {
2689
2684
  }
2690
2685
 
2691
2686
  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 };
2692
- //# sourceMappingURL=chunk-XPHQYI5G.js.map
2693
- //# sourceMappingURL=chunk-XPHQYI5G.js.map
2687
+ //# sourceMappingURL=chunk-WIWVHE3P.js.map
2688
+ //# sourceMappingURL=chunk-WIWVHE3P.js.map