@almadar/runtime 5.8.1 → 5.8.2
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,5 +1,5 @@
|
|
|
1
|
-
import { createLogger, EventBus, createUnifiedLoader, MockPersistenceAdapter, InMemoryPersistence, preprocessSchema, StateMachineManager, createContextFromBindings, validateEventPayload, formatPayloadValidationError, EffectExecutor } from './chunk-
|
|
2
|
-
export { InMemoryPersistence } from './chunk-
|
|
1
|
+
import { createLogger, EventBus, createUnifiedLoader, MockPersistenceAdapter, InMemoryPersistence, preprocessSchema, StateMachineManager, createContextFromBindings, validateEventPayload, formatPayloadValidationError, EffectExecutor } from './chunk-6XUD4OHN.js';
|
|
2
|
+
export { InMemoryPersistence } from './chunk-6XUD4OHN.js';
|
|
3
3
|
import './chunk-PZ5AY32C.js';
|
|
4
4
|
import * as nodeModule from 'module';
|
|
5
5
|
import { evaluateGuard, evaluate } from '@almadar/evaluator';
|
|
@@ -269,6 +269,9 @@ function interpolateArray(value, ctx) {
|
|
|
269
269
|
if (value.length === 0) {
|
|
270
270
|
return value;
|
|
271
271
|
}
|
|
272
|
+
if (Array.isArray(value) && value.length === 3 && value[0] === "fn" && typeof value[1] === "string") {
|
|
273
|
+
return value;
|
|
274
|
+
}
|
|
272
275
|
if (isSExpression(value)) {
|
|
273
276
|
return evaluate(value, ctx);
|
|
274
277
|
}
|
|
@@ -3477,5 +3480,5 @@ var InMemoryPersistence = class {
|
|
|
3477
3480
|
};
|
|
3478
3481
|
|
|
3479
3482
|
export { EffectExecutor, EventBus, HANDLER_MANIFEST, InMemoryPersistence, MockPersistenceAdapter, StateMachineManager, buildEmitsFromTraits, containsBindings, createContextFromBindings, createInitialTraitState, createLogger, createMockPersistence, createTestExecutor, createUnifiedLoader, extractBindings, findInitialState, findTransition, formatPayloadValidationError, getIsolatedCollectionName, getNamespacedEvent, interpolateProps, interpolateValue, isBrowser, isElectron, isNamespacedEvent, isNode, normalizeEventKey, parseNamespacedEvent, preprocessSchema, processEvent, validateEventPayload, validatePayloadShapes };
|
|
3480
|
-
//# sourceMappingURL=chunk-
|
|
3481
|
-
//# sourceMappingURL=chunk-
|
|
3483
|
+
//# sourceMappingURL=chunk-6XUD4OHN.js.map
|
|
3484
|
+
//# sourceMappingURL=chunk-6XUD4OHN.js.map
|