@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.
- package/dist/{OrbitalServerRuntime-DMRvEfcT.d.ts → OrbitalServerRuntime-CXfyKGAS.d.ts} +7 -5
- package/dist/OrbitalServerRuntime.d.ts +1 -1
- package/dist/OrbitalServerRuntime.js +1 -30
- package/dist/OrbitalServerRuntime.js.map +1 -1
- package/dist/{chunk-XPHQYI5G.js → chunk-WIWVHE3P.js} +3 -8
- package/dist/chunk-WIWVHE3P.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-XPHQYI5G.js.map +0 -1
|
@@ -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/
|
|
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-
|
|
2693
|
-
//# sourceMappingURL=chunk-
|
|
2687
|
+
//# sourceMappingURL=chunk-WIWVHE3P.js.map
|
|
2688
|
+
//# sourceMappingURL=chunk-WIWVHE3P.js.map
|