xstate 6.0.0-alpha.22 → 6.0.0-alpha.23

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,43 +1,16 @@
1
- import { M as resolveReferencedActor, N as setSnapshotActorRef, O as getSnapshotActorRef, P as createSnapshotSystem, q as isMachineSnapshot, h as createActor, S as STATE_DELIMITER, Q as mapValues, t as toArray, R as createInvokeId, U as getDelayedTransitions, V as evaluateCandidate, W as formatTransition, Y as NULL_EVENT, Z as toTransitionConfigArray, _ as createInvokeTimeoutEvent, $ as getCandidates, a0 as formatRouteTransitions, a1 as resolveStateValue, a2 as getAllStateNodes, s as getStateNodes, a3 as createMachineSnapshot, a4 as isInFinalState, j as macrostep, a5 as cloneMachineSnapshot, a6 as transitionNode, e as XSTATE_TIMER, m as matchesEventDescriptor, a7 as getTransitionResult, a8 as hasEffect, a9 as createErrorPlatformEvent, r as resolveActionsWithContext, k as createInitEvent, l as createSpawnEffect, n as initialMicrostep, aa as toStatePath, ab as isStateId, ac as getStateNodeByPath, ad as getPersistedSnapshot, ae as $$ACTOR_TYPE } from './index-2fe11873.esm.js';
1
+ import { M as setSnapshotActorRef, N as getSnapshotActorRef, O as createSnapshotSystem, q as isMachineSnapshot, h as createActor, S as STATE_DELIMITER, P as mapValues, t as toArray, Q as createInvokeId, R as getDelayedTransitions, U as evaluateCandidate, V as formatTransition, W as NULL_EVENT, Y as toTransitionConfigArray, Z as createInvokeTimeoutEvent, _ as getCandidates, $ as formatRouteTransitions, a0 as resolveStateValue, a1 as getAllStateNodes, s as getStateNodes, a2 as createMachineSnapshot, a3 as isInFinalState, j as macrostep, a4 as cloneMachineSnapshot, a5 as transitionNode, e as XSTATE_TIMER, m as matchesEventDescriptor, a6 as getTransitionResult, a7 as hasEffect, a8 as createErrorPlatformEvent, r as resolveActionsWithContext, k as createInitEvent, l as createSpawnEffect, n as initialMicrostep, a9 as toStatePath, aa as isStateId, ab as getStateNodeByPath, ac as getPersistedSnapshot, ad as resolveReferencedActor, ae as $$ACTOR_TYPE } from './index-3609e096.esm.js';
2
2
 
3
- function createSpawner(actorScope, {
4
- machine,
5
- context
6
- }, event, spawnedChildren) {
7
- const spawn = (src, options) => {
8
- if (typeof src === 'string') {
9
- const logic = resolveReferencedActor(machine, src);
10
- if (!logic) {
11
- throw new Error(`Actor logic '${src}' not implemented in machine '${machine.id}'`);
12
- }
13
- const actor = actorScope.system.createActorRef(logic, {
14
- id: options?.id,
15
- parent: actorScope.self,
16
- syncSnapshot: options?.syncSnapshot,
17
- input: typeof options?.input === 'function' ? options.input({
18
- context,
19
- event,
20
- self: actorScope.self
21
- }) : options?.input,
22
- src,
23
- registryKey: options?.registryKey
24
- });
25
- spawnedChildren[actor.id] = actor;
26
- return actor;
27
- } else {
28
- const actor = actorScope.system.createActorRef(src, {
29
- id: options?.id,
30
- parent: actorScope.self,
31
- syncSnapshot: options?.syncSnapshot,
32
- input: options?.input,
33
- src,
34
- registryKey: options?.registryKey
35
- });
36
- return actor;
37
- }
38
- };
3
+ function createSpawner(actorScope, actorSources, spawnedChildren) {
39
4
  return (src, options) => {
40
- const actor = spawn(src, options); // TODO: fix types
5
+ const referencedSrc = Object.entries(actorSources).find(([, logic]) => logic === src)?.[0];
6
+ const actor = actorScope.system.createActorRef(src, {
7
+ id: options?.id,
8
+ parent: actorScope.self,
9
+ syncSnapshot: options?.syncSnapshot,
10
+ input: options?.input,
11
+ src: referencedSrc ?? src,
12
+ registryKey: options?.registryKey
13
+ });
41
14
  spawnedChildren[actor.id] = actor;
42
15
  return actor;
43
16
  };
@@ -802,7 +775,7 @@ class StateMachine {
802
775
  }, this, actorScope.self);
803
776
  if (typeof context === 'function') {
804
777
  const children = {};
805
- const spawn = createSpawner(actorScope, preInitial, initEvent, children);
778
+ const spawn = createSpawner(actorScope, this.implementations.actorSources, children);
806
779
  const resolvedContext = context({
807
780
  spawn,
808
781
  input: initEvent.input,
@@ -2,44 +2,17 @@
2
2
 
3
3
  var dist_xstateActors = require('./index-41c0375c.development.cjs.js');
4
4
 
5
- function createSpawner(actorScope, {
6
- machine,
7
- context
8
- }, event, spawnedChildren) {
9
- const spawn = (src, options) => {
10
- if (typeof src === 'string') {
11
- const logic = dist_xstateActors.resolveReferencedActor(machine, src);
12
- if (!logic) {
13
- throw new Error(`Actor logic '${src}' not implemented in machine '${machine.id}'`);
14
- }
15
- const actor = actorScope.system.createActorRef(logic, {
16
- id: options?.id,
17
- parent: actorScope.self,
18
- syncSnapshot: options?.syncSnapshot,
19
- input: typeof options?.input === 'function' ? options.input({
20
- context,
21
- event,
22
- self: actorScope.self
23
- }) : options?.input,
24
- src,
25
- registryKey: options?.registryKey
26
- });
27
- spawnedChildren[actor.id] = actor;
28
- return actor;
29
- } else {
30
- const actor = actorScope.system.createActorRef(src, {
31
- id: options?.id,
32
- parent: actorScope.self,
33
- syncSnapshot: options?.syncSnapshot,
34
- input: options?.input,
35
- src,
36
- registryKey: options?.registryKey
37
- });
38
- return actor;
39
- }
40
- };
5
+ function createSpawner(actorScope, actorSources, spawnedChildren) {
41
6
  return (src, options) => {
42
- const actor = spawn(src, options); // TODO: fix types
7
+ const referencedSrc = Object.entries(actorSources).find(([, logic]) => logic === src)?.[0];
8
+ const actor = actorScope.system.createActorRef(src, {
9
+ id: options?.id,
10
+ parent: actorScope.self,
11
+ syncSnapshot: options?.syncSnapshot,
12
+ input: options?.input,
13
+ src: referencedSrc ?? src,
14
+ registryKey: options?.registryKey
15
+ });
43
16
  spawnedChildren[actor.id] = actor;
44
17
  return actor;
45
18
  };
@@ -833,7 +806,7 @@ class StateMachine {
833
806
  }, this, actorScope.self);
834
807
  if (typeof context === 'function') {
835
808
  const children = {};
836
- const spawn = createSpawner(actorScope, preInitial, initEvent, children);
809
+ const spawn = createSpawner(actorScope, this.implementations.actorSources, children);
837
810
  const resolvedContext = context({
838
811
  spawn,
839
812
  input: initEvent.input,
@@ -2,44 +2,17 @@
2
2
 
3
3
  var dist_xstateActors = require('./index-434fac23.cjs.js');
4
4
 
5
- function createSpawner(actorScope, {
6
- machine,
7
- context
8
- }, event, spawnedChildren) {
9
- const spawn = (src, options) => {
10
- if (typeof src === 'string') {
11
- const logic = dist_xstateActors.resolveReferencedActor(machine, src);
12
- if (!logic) {
13
- throw new Error(`Actor logic '${src}' not implemented in machine '${machine.id}'`);
14
- }
15
- const actor = actorScope.system.createActorRef(logic, {
16
- id: options?.id,
17
- parent: actorScope.self,
18
- syncSnapshot: options?.syncSnapshot,
19
- input: typeof options?.input === 'function' ? options.input({
20
- context,
21
- event,
22
- self: actorScope.self
23
- }) : options?.input,
24
- src,
25
- registryKey: options?.registryKey
26
- });
27
- spawnedChildren[actor.id] = actor;
28
- return actor;
29
- } else {
30
- const actor = actorScope.system.createActorRef(src, {
31
- id: options?.id,
32
- parent: actorScope.self,
33
- syncSnapshot: options?.syncSnapshot,
34
- input: options?.input,
35
- src,
36
- registryKey: options?.registryKey
37
- });
38
- return actor;
39
- }
40
- };
5
+ function createSpawner(actorScope, actorSources, spawnedChildren) {
41
6
  return (src, options) => {
42
- const actor = spawn(src, options); // TODO: fix types
7
+ const referencedSrc = Object.entries(actorSources).find(([, logic]) => logic === src)?.[0];
8
+ const actor = actorScope.system.createActorRef(src, {
9
+ id: options?.id,
10
+ parent: actorScope.self,
11
+ syncSnapshot: options?.syncSnapshot,
12
+ input: options?.input,
13
+ src: referencedSrc ?? src,
14
+ registryKey: options?.registryKey
15
+ });
43
16
  spawnedChildren[actor.id] = actor;
44
17
  return actor;
45
18
  };
@@ -804,7 +777,7 @@ class StateMachine {
804
777
  }, this, actorScope.self);
805
778
  if (typeof context === 'function') {
806
779
  const children = {};
807
- const spawn = createSpawner(actorScope, preInitial, initEvent, children);
780
+ const spawn = createSpawner(actorScope, this.implementations.actorSources, children);
808
781
  const resolvedContext = context({
809
782
  spawn,
810
783
  input: initEvent.input,
@@ -1,43 +1,16 @@
1
- import { M as resolveReferencedActor, N as setSnapshotActorRef, O as getSnapshotActorRef, P as createSnapshotSystem, q as isMachineSnapshot, h as createActor, S as STATE_DELIMITER, Q as mapValues, t as toArray, R as createInvokeId, U as getDelayedTransitions, V as evaluateCandidate, W as formatTransition, Y as NULL_EVENT, Z as toTransitionConfigArray, _ as createInvokeTimeoutEvent, $ as getCandidates, a0 as formatRouteTransitions, a1 as resolveStateValue, a2 as getAllStateNodes, s as getStateNodes, a3 as createMachineSnapshot, a4 as isInFinalState, j as macrostep, a5 as cloneMachineSnapshot, a6 as transitionNode, e as XSTATE_TIMER, m as matchesEventDescriptor, a7 as getTransitionResult, a8 as hasEffect, a9 as createErrorPlatformEvent, r as resolveActionsWithContext, k as createInitEvent, l as createSpawnEffect, n as initialMicrostep, aa as toStatePath, ab as isStateId, ac as getStateNodeByPath, ad as getPersistedSnapshot, ae as $$ACTOR_TYPE } from './index-44d8c2d1.development.esm.js';
1
+ import { M as setSnapshotActorRef, N as getSnapshotActorRef, O as createSnapshotSystem, q as isMachineSnapshot, h as createActor, S as STATE_DELIMITER, P as mapValues, t as toArray, Q as createInvokeId, R as getDelayedTransitions, U as evaluateCandidate, V as formatTransition, W as NULL_EVENT, Y as toTransitionConfigArray, Z as createInvokeTimeoutEvent, _ as getCandidates, $ as formatRouteTransitions, a0 as resolveStateValue, a1 as getAllStateNodes, s as getStateNodes, a2 as createMachineSnapshot, a3 as isInFinalState, j as macrostep, a4 as cloneMachineSnapshot, a5 as transitionNode, e as XSTATE_TIMER, m as matchesEventDescriptor, a6 as getTransitionResult, a7 as hasEffect, a8 as createErrorPlatformEvent, r as resolveActionsWithContext, k as createInitEvent, l as createSpawnEffect, n as initialMicrostep, a9 as toStatePath, aa as isStateId, ab as getStateNodeByPath, ac as getPersistedSnapshot, ad as resolveReferencedActor, ae as $$ACTOR_TYPE } from './index-f5407323.development.esm.js';
2
2
 
3
- function createSpawner(actorScope, {
4
- machine,
5
- context
6
- }, event, spawnedChildren) {
7
- const spawn = (src, options) => {
8
- if (typeof src === 'string') {
9
- const logic = resolveReferencedActor(machine, src);
10
- if (!logic) {
11
- throw new Error(`Actor logic '${src}' not implemented in machine '${machine.id}'`);
12
- }
13
- const actor = actorScope.system.createActorRef(logic, {
14
- id: options?.id,
15
- parent: actorScope.self,
16
- syncSnapshot: options?.syncSnapshot,
17
- input: typeof options?.input === 'function' ? options.input({
18
- context,
19
- event,
20
- self: actorScope.self
21
- }) : options?.input,
22
- src,
23
- registryKey: options?.registryKey
24
- });
25
- spawnedChildren[actor.id] = actor;
26
- return actor;
27
- } else {
28
- const actor = actorScope.system.createActorRef(src, {
29
- id: options?.id,
30
- parent: actorScope.self,
31
- syncSnapshot: options?.syncSnapshot,
32
- input: options?.input,
33
- src,
34
- registryKey: options?.registryKey
35
- });
36
- return actor;
37
- }
38
- };
3
+ function createSpawner(actorScope, actorSources, spawnedChildren) {
39
4
  return (src, options) => {
40
- const actor = spawn(src, options); // TODO: fix types
5
+ const referencedSrc = Object.entries(actorSources).find(([, logic]) => logic === src)?.[0];
6
+ const actor = actorScope.system.createActorRef(src, {
7
+ id: options?.id,
8
+ parent: actorScope.self,
9
+ syncSnapshot: options?.syncSnapshot,
10
+ input: options?.input,
11
+ src: referencedSrc ?? src,
12
+ registryKey: options?.registryKey
13
+ });
41
14
  spawnedChildren[actor.id] = actor;
42
15
  return actor;
43
16
  };
@@ -831,7 +804,7 @@ class StateMachine {
831
804
  }, this, actorScope.self);
832
805
  if (typeof context === 'function') {
833
806
  const children = {};
834
- const spawn = createSpawner(actorScope, preInitial, initEvent, children);
807
+ const spawn = createSpawner(actorScope, this.implementations.actorSources, children);
835
808
  const resolvedContext = context({
836
809
  spawn,
837
810
  input: initEvent.input,
@@ -1,12 +1,12 @@
1
- import { ActorFromLogic, AnyActorLogic, AnyActorRef, AnyActorScope, AnyEventObject, AnyMachineSnapshot, ConditionalRequired, InputFrom, IsNotNever, RegistryKeyForLogic, SystemRegistry, type RequiredLogicInput } from "./types.js";
1
+ import { ActorFromLogic, AnyActorLogic, AnyActorRef, AnyActorScope, ConditionalRequired, InputFrom, IsNotNever, RegistryKeyForLogic, SystemRegistry, type RequiredLogicInput } from "./types.js";
2
2
  export type Spawner<TSystemRegistry extends SystemRegistry = SystemRegistry> = <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[
3
3
  options?: {
4
4
  id?: string;
5
5
  registryKey?: RegistryKeyForLogic<TLogic, TSystemRegistry>;
6
- input?: TLogic extends string ? unknown : InputFrom<TLogic>;
6
+ input?: InputFrom<TLogic>;
7
7
  syncSnapshot?: boolean;
8
8
  } & {
9
9
  [K in RequiredLogicInput<TLogic>]: unknown;
10
10
  }
11
11
  ], IsNotNever<RequiredLogicInput<TLogic>>>) => ActorFromLogic<TLogic>;
12
- export declare function createSpawner(actorScope: AnyActorScope, { machine, context }: AnyMachineSnapshot, event: AnyEventObject, spawnedChildren: Record<string, AnyActorRef>): Spawner;
12
+ export declare function createSpawner(actorScope: AnyActorScope, actorSources: Record<string, AnyActorLogic>, spawnedChildren: Record<string, AnyActorRef>): Spawner;
@@ -4846,4 +4846,4 @@ function createEmptyActor() {
4846
4846
  return createActor(emptyLogic);
4847
4847
  }
4848
4848
 
4849
- export { getCandidates as $, Actor as A, isBuiltInExecutableAction as B, createEmptyActor as C, createCallbackLogic as D, createObservableLogic as E, createEventObservableLogic as F, createLogic as G, createAsyncLogic as H, createListenerLogic as I, listenerLogic as J, createSubscriptionLogic as K, subscriptionLogic as L, resolveReferencedActor as M, setSnapshotActorRef as N, getSnapshotActorRef as O, createSnapshotSystem as P, mapValues as Q, createInvokeId as R, STATE_DELIMITER as S, TimeoutError as T, getDelayedTransitions as U, evaluateCandidate as V, formatTransition as W, XSTATE_INIT as X, NULL_EVENT as Y, toTransitionConfigArray as Z, createInvokeTimeoutEvent as _, XSTATE_STOP as a, formatRouteTransitions as a0, resolveStateValue as a1, getAllStateNodes as a2, createMachineSnapshot as a3, isInFinalState as a4, cloneMachineSnapshot as a5, transitionNode as a6, getTransitionResult as a7, hasEffect as a8, createErrorPlatformEvent as a9, toStatePath as aa, isStateId as ab, getStateNodeByPath as ac, getPersistedSnapshot as ad, $$ACTOR_TYPE as ae, builtInActions as b, createTransitionEnqueue as c, deriveDeferredStarts as d, XSTATE_TIMER as e, finalizeTransitionResult as f, createSendToEffect as g, createActor as h, isAtomicStateNode as i, macrostep as j, createInitEvent as k, createSpawnEffect as l, matchesEventDescriptor as m, initialMicrostep as n, getProperAncestors as o, parseDelayToMilliseconds as p, isMachineSnapshot as q, resolveActionsWithContext as r, getStateNodes as s, toArray as t, getAllOwnEventDescriptors as u, matchesState as v, checkStateIn as w, pathToStateValue as x, toObserver as y, executeEffects as z };
4849
+ export { formatRouteTransitions as $, Actor as A, isBuiltInExecutableAction as B, createEmptyActor as C, createCallbackLogic as D, createObservableLogic as E, createEventObservableLogic as F, createLogic as G, createAsyncLogic as H, createListenerLogic as I, listenerLogic as J, createSubscriptionLogic as K, subscriptionLogic as L, setSnapshotActorRef as M, getSnapshotActorRef as N, createSnapshotSystem as O, mapValues as P, createInvokeId as Q, getDelayedTransitions as R, STATE_DELIMITER as S, TimeoutError as T, evaluateCandidate as U, formatTransition as V, NULL_EVENT as W, XSTATE_INIT as X, toTransitionConfigArray as Y, createInvokeTimeoutEvent as Z, getCandidates as _, XSTATE_STOP as a, resolveStateValue as a0, getAllStateNodes as a1, createMachineSnapshot as a2, isInFinalState as a3, cloneMachineSnapshot as a4, transitionNode as a5, getTransitionResult as a6, hasEffect as a7, createErrorPlatformEvent as a8, toStatePath as a9, isStateId as aa, getStateNodeByPath as ab, getPersistedSnapshot as ac, resolveReferencedActor as ad, $$ACTOR_TYPE as ae, builtInActions as b, createTransitionEnqueue as c, deriveDeferredStarts as d, XSTATE_TIMER as e, finalizeTransitionResult as f, createSendToEffect as g, createActor as h, isAtomicStateNode as i, macrostep as j, createInitEvent as k, createSpawnEffect as l, matchesEventDescriptor as m, initialMicrostep as n, getProperAncestors as o, parseDelayToMilliseconds as p, isMachineSnapshot as q, resolveActionsWithContext as r, getStateNodes as s, toArray as t, getAllOwnEventDescriptors as u, matchesState as v, checkStateIn as w, pathToStateValue as x, toObserver as y, executeEffects as z };
@@ -4885,4 +4885,4 @@ function createEmptyActor() {
4885
4885
  return createActor(emptyLogic);
4886
4886
  }
4887
4887
 
4888
- export { getCandidates as $, Actor as A, isBuiltInExecutableAction as B, createEmptyActor as C, createCallbackLogic as D, createObservableLogic as E, createEventObservableLogic as F, createLogic as G, createAsyncLogic as H, createListenerLogic as I, listenerLogic as J, createSubscriptionLogic as K, subscriptionLogic as L, resolveReferencedActor as M, setSnapshotActorRef as N, getSnapshotActorRef as O, createSnapshotSystem as P, mapValues as Q, createInvokeId as R, STATE_DELIMITER as S, TimeoutError as T, getDelayedTransitions as U, evaluateCandidate as V, formatTransition as W, XSTATE_INIT as X, NULL_EVENT as Y, toTransitionConfigArray as Z, createInvokeTimeoutEvent as _, XSTATE_STOP as a, formatRouteTransitions as a0, resolveStateValue as a1, getAllStateNodes as a2, createMachineSnapshot as a3, isInFinalState as a4, cloneMachineSnapshot as a5, transitionNode as a6, getTransitionResult as a7, hasEffect as a8, createErrorPlatformEvent as a9, toStatePath as aa, isStateId as ab, getStateNodeByPath as ac, getPersistedSnapshot as ad, $$ACTOR_TYPE as ae, builtInActions as b, createTransitionEnqueue as c, deriveDeferredStarts as d, XSTATE_TIMER as e, finalizeTransitionResult as f, createSendToEffect as g, createActor as h, isAtomicStateNode as i, macrostep as j, createInitEvent as k, createSpawnEffect as l, matchesEventDescriptor as m, initialMicrostep as n, getProperAncestors as o, parseDelayToMilliseconds as p, isMachineSnapshot as q, resolveActionsWithContext as r, getStateNodes as s, toArray as t, getAllOwnEventDescriptors as u, matchesState as v, checkStateIn as w, pathToStateValue as x, toObserver as y, executeEffects as z };
4888
+ export { formatRouteTransitions as $, Actor as A, isBuiltInExecutableAction as B, createEmptyActor as C, createCallbackLogic as D, createObservableLogic as E, createEventObservableLogic as F, createLogic as G, createAsyncLogic as H, createListenerLogic as I, listenerLogic as J, createSubscriptionLogic as K, subscriptionLogic as L, setSnapshotActorRef as M, getSnapshotActorRef as N, createSnapshotSystem as O, mapValues as P, createInvokeId as Q, getDelayedTransitions as R, STATE_DELIMITER as S, TimeoutError as T, evaluateCandidate as U, formatTransition as V, NULL_EVENT as W, XSTATE_INIT as X, toTransitionConfigArray as Y, createInvokeTimeoutEvent as Z, getCandidates as _, XSTATE_STOP as a, resolveStateValue as a0, getAllStateNodes as a1, createMachineSnapshot as a2, isInFinalState as a3, cloneMachineSnapshot as a4, transitionNode as a5, getTransitionResult as a6, hasEffect as a7, createErrorPlatformEvent as a8, toStatePath as a9, isStateId as aa, getStateNodeByPath as ab, getPersistedSnapshot as ac, resolveReferencedActor as ad, $$ACTOR_TYPE as ae, builtInActions as b, createTransitionEnqueue as c, deriveDeferredStarts as d, XSTATE_TIMER as e, finalizeTransitionResult as f, createSendToEffect as g, createActor as h, isAtomicStateNode as i, macrostep as j, createInitEvent as k, createSpawnEffect as l, matchesEventDescriptor as m, initialMicrostep as n, getProperAncestors as o, parseDelayToMilliseconds as p, isMachineSnapshot as q, resolveActionsWithContext as r, getStateNodes as s, toArray as t, getAllOwnEventDescriptors as u, matchesState as v, checkStateIn as w, pathToStateValue as x, toObserver as y, executeEffects as z };
@@ -1 +1 @@
1
- export { T as TimeoutError, H as createAsyncLogic, D as createCallbackLogic, C as createEmptyActor, F as createEventObservableLogic, I as createListenerLogic, G as createLogic, E as createObservableLogic, K as createSubscriptionLogic, J as listenerLogic, L as subscriptionLogic } from './index-44d8c2d1.development.esm.js';
1
+ export { T as TimeoutError, H as createAsyncLogic, D as createCallbackLogic, C as createEmptyActor, F as createEventObservableLogic, I as createListenerLogic, G as createLogic, E as createObservableLogic, K as createSubscriptionLogic, J as listenerLogic, L as subscriptionLogic } from './index-f5407323.development.esm.js';
@@ -1 +1 @@
1
- export { T as TimeoutError, H as createAsyncLogic, D as createCallbackLogic, C as createEmptyActor, F as createEventObservableLogic, I as createListenerLogic, G as createLogic, E as createObservableLogic, K as createSubscriptionLogic, J as listenerLogic, L as subscriptionLogic } from './index-2fe11873.esm.js';
1
+ export { T as TimeoutError, H as createAsyncLogic, D as createCallbackLogic, C as createEmptyActor, F as createEventObservableLogic, I as createListenerLogic, G as createLogic, E as createObservableLogic, K as createSubscriptionLogic, J as listenerLogic, L as subscriptionLogic } from './index-3609e096.esm.js';
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var dist_xstateActors = require('./index-434fac23.cjs.js');
6
- var StateMachine = require('./StateMachine-610fe929.cjs.js');
6
+ var StateMachine = require('./StateMachine-aad57180.cjs.js');
7
7
 
8
8
  function simpleStringify(value) {
9
9
  return JSON.stringify(value);
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var dist_xstateActors = require('./index-41c0375c.development.cjs.js');
6
- var StateMachine = require('./StateMachine-1888d034.development.cjs.js');
6
+ var StateMachine = require('./StateMachine-53114dce.development.cjs.js');
7
7
 
8
8
  function simpleStringify(value) {
9
9
  return JSON.stringify(value);
@@ -1,5 +1,5 @@
1
- import { q as isMachineSnapshot, u as getAllOwnEventDescriptors, C as createEmptyActor, X as XSTATE_INIT } from './index-44d8c2d1.development.esm.js';
2
- import { S as StateMachine } from './StateMachine-9fad7a2b.development.esm.js';
1
+ import { q as isMachineSnapshot, u as getAllOwnEventDescriptors, C as createEmptyActor, X as XSTATE_INIT } from './index-f5407323.development.esm.js';
2
+ import { S as StateMachine } from './StateMachine-d2247245.development.esm.js';
3
3
 
4
4
  function simpleStringify(value) {
5
5
  return JSON.stringify(value);
@@ -1,5 +1,5 @@
1
- import { q as isMachineSnapshot, u as getAllOwnEventDescriptors, C as createEmptyActor, X as XSTATE_INIT } from './index-2fe11873.esm.js';
2
- import { S as StateMachine } from './StateMachine-ddb5d007.esm.js';
1
+ import { q as isMachineSnapshot, u as getAllOwnEventDescriptors, C as createEmptyActor, X as XSTATE_INIT } from './index-3609e096.esm.js';
2
+ import { S as StateMachine } from './StateMachine-022864fd.esm.js';
3
3
 
4
4
  function simpleStringify(value) {
5
5
  return JSON.stringify(value);