xstate 5.22.0 → 5.23.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/actions/dist/xstate-actions.cjs.js +3 -3
- package/actions/dist/xstate-actions.development.cjs.js +3 -3
- package/actions/dist/xstate-actions.development.esm.js +3 -3
- package/actions/dist/xstate-actions.esm.js +3 -3
- package/actions/dist/xstate-actions.umd.min.js +1 -1
- package/actions/dist/xstate-actions.umd.min.js.map +1 -1
- package/actors/dist/xstate-actors.cjs.js +1 -1
- package/actors/dist/xstate-actors.development.cjs.js +1 -1
- package/actors/dist/xstate-actors.development.esm.js +1 -1
- package/actors/dist/xstate-actors.esm.js +1 -1
- package/actors/dist/xstate-actors.umd.min.js +1 -1
- package/actors/dist/xstate-actors.umd.min.js.map +1 -1
- package/dist/{StateMachine-865e00e8.cjs.js → StateMachine-30081029.cjs.js} +2 -2
- package/dist/{StateMachine-7ec7dd0e.esm.js → StateMachine-37bc3882.esm.js} +2 -2
- package/dist/{StateMachine-a87228f5.development.cjs.js → StateMachine-4f3286fa.development.cjs.js} +2 -2
- package/dist/{StateMachine-3dedea1e.development.esm.js → StateMachine-d6caf9f3.development.esm.js} +2 -2
- package/dist/{assign-f4c801fe.development.esm.js → assign-445527dc.development.esm.js} +1 -1
- package/dist/{assign-a4be500b.development.cjs.js → assign-9e730107.development.cjs.js} +1 -1
- package/dist/{assign-97c66e50.esm.js → assign-ab9cc19e.esm.js} +1 -1
- package/dist/{assign-381d0341.cjs.js → assign-dea9f7c8.cjs.js} +1 -1
- package/dist/declarations/src/createActor.d.ts +1 -1
- package/dist/declarations/src/system.d.ts +1 -0
- package/dist/{log-2269452a.development.esm.js → log-2aa3642a.development.esm.js} +2 -2
- package/dist/{log-40ed8ff0.esm.js → log-7cbae384.esm.js} +2 -2
- package/dist/{log-ee7045aa.development.cjs.js → log-cbac1abc.development.cjs.js} +2 -2
- package/dist/{log-63c8f21f.cjs.js → log-ec8d4df4.cjs.js} +2 -2
- package/dist/{raise-77377ed0.esm.js → raise-9ad1c5c6.esm.js} +8 -5
- package/dist/{raise-b2a9750b.development.esm.js → raise-c096f887.development.esm.js} +8 -5
- package/dist/{raise-b4a670a0.cjs.js → raise-da5b247f.cjs.js} +8 -5
- package/dist/{raise-c94748d0.development.cjs.js → raise-f777a9e8.development.cjs.js} +8 -5
- package/dist/xstate.cjs.js +4 -4
- package/dist/xstate.development.cjs.js +4 -4
- package/dist/xstate.development.esm.js +8 -8
- package/dist/xstate.esm.js +8 -8
- package/dist/xstate.umd.min.js +1 -1
- package/dist/xstate.umd.min.js.map +1 -1
- package/graph/dist/xstate-graph.cjs.js +3 -3
- package/graph/dist/xstate-graph.development.cjs.js +3 -3
- package/graph/dist/xstate-graph.development.esm.js +3 -3
- package/graph/dist/xstate-graph.esm.js +3 -3
- package/graph/dist/xstate-graph.umd.min.js +1 -1
- package/graph/dist/xstate-graph.umd.min.js.map +1 -1
- package/guards/dist/xstate-guards.cjs.js +1 -1
- package/guards/dist/xstate-guards.development.cjs.js +1 -1
- package/guards/dist/xstate-guards.development.esm.js +1 -1
- package/guards/dist/xstate-guards.esm.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as STATE_DELIMITER, l as mapValues, t as toArray, q as formatTransitions, u as toTransitionConfigArray, v as formatTransition, N as NULL_EVENT, w as evaluateGuard, x as createInvokeId, y as getDelayedTransitions, z as formatInitialTransition, B as getCandidates, C as resolveStateValue, D as getAllStateNodes, g as getStateNodes, E as createMachineSnapshot, F as isInFinalState, G as macrostep, H as transitionNode, I as resolveActionsAndContext, J as createInitEvent, K as microstep, L as getInitialStateNodes, M as toStatePath, O as isStateId, P as getStateNodeByPath, Q as getPersistedSnapshot, R as resolveReferencedActor, c as createActor, $ as $$ACTOR_TYPE } from './raise-
|
|
2
|
-
import { a as assign } from './assign-
|
|
1
|
+
import { S as STATE_DELIMITER, l as mapValues, t as toArray, q as formatTransitions, u as toTransitionConfigArray, v as formatTransition, N as NULL_EVENT, w as evaluateGuard, x as createInvokeId, y as getDelayedTransitions, z as formatInitialTransition, B as getCandidates, C as resolveStateValue, D as getAllStateNodes, g as getStateNodes, E as createMachineSnapshot, F as isInFinalState, G as macrostep, H as transitionNode, I as resolveActionsAndContext, J as createInitEvent, K as microstep, L as getInitialStateNodes, M as toStatePath, O as isStateId, P as getStateNodeByPath, Q as getPersistedSnapshot, R as resolveReferencedActor, c as createActor, $ as $$ACTOR_TYPE } from './raise-9ad1c5c6.esm.js';
|
|
2
|
+
import { a as assign } from './assign-ab9cc19e.esm.js';
|
|
3
3
|
|
|
4
4
|
const cache = new WeakMap();
|
|
5
5
|
function memo(object, key, fn) {
|
package/dist/{StateMachine-a87228f5.development.cjs.js → StateMachine-4f3286fa.development.cjs.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var guards_dist_xstateGuards = require('./raise-
|
|
4
|
-
var assign = require('./assign-
|
|
3
|
+
var guards_dist_xstateGuards = require('./raise-f777a9e8.development.cjs.js');
|
|
4
|
+
var assign = require('./assign-9e730107.development.cjs.js');
|
|
5
5
|
|
|
6
6
|
const cache = new WeakMap();
|
|
7
7
|
function memo(object, key, fn) {
|
package/dist/{StateMachine-3dedea1e.development.esm.js → StateMachine-d6caf9f3.development.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as STATE_DELIMITER, l as mapValues, t as toArray, q as formatTransitions, u as toTransitionConfigArray, v as formatTransition, N as NULL_EVENT, w as evaluateGuard, x as createInvokeId, y as getDelayedTransitions, z as formatInitialTransition, B as getCandidates, C as resolveStateValue, D as getAllStateNodes, g as getStateNodes, E as createMachineSnapshot, F as isInFinalState, G as macrostep, H as transitionNode, I as resolveActionsAndContext, J as createInitEvent, K as microstep, L as getInitialStateNodes, M as toStatePath, O as isStateId, P as getStateNodeByPath, Q as getPersistedSnapshot, R as resolveReferencedActor, c as createActor, $ as $$ACTOR_TYPE } from './raise-
|
|
2
|
-
import { a as assign } from './assign-
|
|
1
|
+
import { S as STATE_DELIMITER, l as mapValues, t as toArray, q as formatTransitions, u as toTransitionConfigArray, v as formatTransition, N as NULL_EVENT, w as evaluateGuard, x as createInvokeId, y as getDelayedTransitions, z as formatInitialTransition, B as getCandidates, C as resolveStateValue, D as getAllStateNodes, g as getStateNodes, E as createMachineSnapshot, F as isInFinalState, G as macrostep, H as transitionNode, I as resolveActionsAndContext, J as createInitEvent, K as microstep, L as getInitialStateNodes, M as toStatePath, O as isStateId, P as getStateNodeByPath, Q as getPersistedSnapshot, R as resolveReferencedActor, c as createActor, $ as $$ACTOR_TYPE } from './raise-c096f887.development.esm.js';
|
|
2
|
+
import { a as assign } from './assign-445527dc.development.esm.js';
|
|
3
3
|
|
|
4
4
|
const cache = new WeakMap();
|
|
5
5
|
function memo(object, key, fn) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as ProcessingStatus, R as resolveReferencedActor, c as createActor, Y as cloneMachineSnapshot, T as executingCustomAction } from './raise-
|
|
1
|
+
import { W as ProcessingStatus, R as resolveReferencedActor, c as createActor, Y as cloneMachineSnapshot, T as executingCustomAction } from './raise-c096f887.development.esm.js';
|
|
2
2
|
|
|
3
3
|
function createSpawner(actorScope, {
|
|
4
4
|
machine,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as ProcessingStatus, R as resolveReferencedActor, c as createActor, W as cloneMachineSnapshot } from './raise-
|
|
1
|
+
import { V as ProcessingStatus, R as resolveReferencedActor, c as createActor, W as cloneMachineSnapshot } from './raise-9ad1c5c6.esm.js';
|
|
2
2
|
|
|
3
3
|
function createSpawner(actorScope, {
|
|
4
4
|
machine,
|
|
@@ -33,7 +33,7 @@ export declare class Actor<TLogic extends AnyActorLogic> implements ActorRef<Sna
|
|
|
33
33
|
_parent?: AnyActorRef;
|
|
34
34
|
ref: ActorRef<SnapshotFrom<TLogic>, EventFromLogic<TLogic>, EmittedFrom<TLogic>>;
|
|
35
35
|
private _actorScope;
|
|
36
|
-
|
|
36
|
+
systemId: string | undefined;
|
|
37
37
|
/** The globally unique process ID for this invocation. */
|
|
38
38
|
sessionId: string;
|
|
39
39
|
/** The system to which this actor belongs. */
|
|
@@ -19,6 +19,7 @@ interface Scheduler {
|
|
|
19
19
|
}
|
|
20
20
|
export interface ActorSystem<T extends ActorSystemInfo> {
|
|
21
21
|
get: <K extends keyof T['actors']>(key: K) => T['actors'][K] | undefined;
|
|
22
|
+
getAll: () => Partial<T['actors']>;
|
|
22
23
|
inspect: (observer: Observer<InspectionEvent> | ((inspectionEvent: InspectionEvent) => void)) => Subscription;
|
|
23
24
|
scheduler: Scheduler;
|
|
24
25
|
getSnapshot: () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as executingCustomAction, U as XSTATE_ERROR, V as createErrorActorEvent, w as evaluateGuard, a as cancel, r as raise, b as spawnChild, s as stopChild } from './raise-
|
|
2
|
-
import { a as assign } from './assign-
|
|
1
|
+
import { T as executingCustomAction, U as XSTATE_ERROR, V as createErrorActorEvent, w as evaluateGuard, a as cancel, r as raise, b as spawnChild, s as stopChild } from './raise-c096f887.development.esm.js';
|
|
2
|
+
import { a as assign } from './assign-445527dc.development.esm.js';
|
|
3
3
|
|
|
4
4
|
function resolveEmit(_, snapshot, args, actionParams, {
|
|
5
5
|
event: eventOrExpr
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as XSTATE_ERROR, U as createErrorActorEvent, w as evaluateGuard, a as cancel, r as raise, b as spawnChild, s as stopChild } from './raise-
|
|
2
|
-
import { a as assign } from './assign-
|
|
1
|
+
import { T as XSTATE_ERROR, U as createErrorActorEvent, w as evaluateGuard, a as cancel, r as raise, b as spawnChild, s as stopChild } from './raise-9ad1c5c6.esm.js';
|
|
2
|
+
import { a as assign } from './assign-ab9cc19e.esm.js';
|
|
3
3
|
|
|
4
4
|
function resolveEmit(_, snapshot, args, actionParams, {
|
|
5
5
|
event: eventOrExpr
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var guards_dist_xstateGuards = require('./raise-
|
|
4
|
-
var assign = require('./assign-
|
|
3
|
+
var guards_dist_xstateGuards = require('./raise-f777a9e8.development.cjs.js');
|
|
4
|
+
var assign = require('./assign-9e730107.development.cjs.js');
|
|
5
5
|
|
|
6
6
|
function resolveEmit(_, snapshot, args, actionParams, {
|
|
7
7
|
event: eventOrExpr
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var guards_dist_xstateGuards = require('./raise-
|
|
4
|
-
var assign = require('./assign-
|
|
3
|
+
var guards_dist_xstateGuards = require('./raise-da5b247f.cjs.js');
|
|
4
|
+
var assign = require('./assign-dea9f7c8.cjs.js');
|
|
5
5
|
|
|
6
6
|
function resolveEmit(_, snapshot, args, actionParams, {
|
|
7
7
|
event: eventOrExpr
|
|
@@ -364,6 +364,9 @@ function createSystem(rootActor, options) {
|
|
|
364
364
|
get: systemId => {
|
|
365
365
|
return keyedActors.get(systemId);
|
|
366
366
|
},
|
|
367
|
+
getAll: () => {
|
|
368
|
+
return Object.fromEntries(keyedActors.entries());
|
|
369
|
+
},
|
|
367
370
|
_set: (systemId, actorRef) => {
|
|
368
371
|
const existing = keyedActors.get(systemId);
|
|
369
372
|
if (existing && existing !== actorRef) {
|
|
@@ -482,7 +485,7 @@ class Actor {
|
|
|
482
485
|
this.ref = void 0;
|
|
483
486
|
// TODO: add typings for system
|
|
484
487
|
this._actorScope = void 0;
|
|
485
|
-
this.
|
|
488
|
+
this.systemId = void 0;
|
|
486
489
|
/** The globally unique process ID for this invocation. */
|
|
487
490
|
this.sessionId = void 0;
|
|
488
491
|
/** The system to which this actor belongs. */
|
|
@@ -588,7 +591,7 @@ class Actor {
|
|
|
588
591
|
actorRef: this
|
|
589
592
|
});
|
|
590
593
|
if (systemId) {
|
|
591
|
-
this.
|
|
594
|
+
this.systemId = systemId;
|
|
592
595
|
this.system._set(systemId, this);
|
|
593
596
|
}
|
|
594
597
|
this._initState(options?.snapshot ?? options?.state);
|
|
@@ -806,8 +809,8 @@ class Actor {
|
|
|
806
809
|
});
|
|
807
810
|
}
|
|
808
811
|
this.system._register(this.sessionId, this);
|
|
809
|
-
if (this.
|
|
810
|
-
this.system._set(this.
|
|
812
|
+
if (this.systemId) {
|
|
813
|
+
this.system._set(this.systemId, this);
|
|
811
814
|
}
|
|
812
815
|
this._processingStatus = ProcessingStatus.Running;
|
|
813
816
|
|
|
@@ -2546,7 +2549,7 @@ function getPersistedSnapshot(snapshot, options) {
|
|
|
2546
2549
|
childrenJson[id] = {
|
|
2547
2550
|
snapshot: child.getPersistedSnapshot(options),
|
|
2548
2551
|
src: child.src,
|
|
2549
|
-
systemId: child.
|
|
2552
|
+
systemId: child.systemId,
|
|
2550
2553
|
syncSnapshot: child._syncSnapshot
|
|
2551
2554
|
};
|
|
2552
2555
|
}
|
|
@@ -367,6 +367,9 @@ function createSystem(rootActor, options) {
|
|
|
367
367
|
get: systemId => {
|
|
368
368
|
return keyedActors.get(systemId);
|
|
369
369
|
},
|
|
370
|
+
getAll: () => {
|
|
371
|
+
return Object.fromEntries(keyedActors.entries());
|
|
372
|
+
},
|
|
370
373
|
_set: (systemId, actorRef) => {
|
|
371
374
|
const existing = keyedActors.get(systemId);
|
|
372
375
|
if (existing && existing !== actorRef) {
|
|
@@ -485,7 +488,7 @@ class Actor {
|
|
|
485
488
|
this.ref = void 0;
|
|
486
489
|
// TODO: add typings for system
|
|
487
490
|
this._actorScope = void 0;
|
|
488
|
-
this.
|
|
491
|
+
this.systemId = void 0;
|
|
489
492
|
/** The globally unique process ID for this invocation. */
|
|
490
493
|
this.sessionId = void 0;
|
|
491
494
|
/** The system to which this actor belongs. */
|
|
@@ -591,7 +594,7 @@ class Actor {
|
|
|
591
594
|
actorRef: this
|
|
592
595
|
});
|
|
593
596
|
if (systemId) {
|
|
594
|
-
this.
|
|
597
|
+
this.systemId = systemId;
|
|
595
598
|
this.system._set(systemId, this);
|
|
596
599
|
}
|
|
597
600
|
this._initState(options?.snapshot ?? options?.state);
|
|
@@ -809,8 +812,8 @@ class Actor {
|
|
|
809
812
|
});
|
|
810
813
|
}
|
|
811
814
|
this.system._register(this.sessionId, this);
|
|
812
|
-
if (this.
|
|
813
|
-
this.system._set(this.
|
|
815
|
+
if (this.systemId) {
|
|
816
|
+
this.system._set(this.systemId, this);
|
|
814
817
|
}
|
|
815
818
|
this._processingStatus = ProcessingStatus.Running;
|
|
816
819
|
|
|
@@ -2602,7 +2605,7 @@ function getPersistedSnapshot(snapshot, options) {
|
|
|
2602
2605
|
childrenJson[id] = {
|
|
2603
2606
|
snapshot: child.getPersistedSnapshot(options),
|
|
2604
2607
|
src: child.src,
|
|
2605
|
-
systemId: child.
|
|
2608
|
+
systemId: child.systemId,
|
|
2606
2609
|
syncSnapshot: child._syncSnapshot
|
|
2607
2610
|
};
|
|
2608
2611
|
}
|
|
@@ -366,6 +366,9 @@ function createSystem(rootActor, options) {
|
|
|
366
366
|
get: systemId => {
|
|
367
367
|
return keyedActors.get(systemId);
|
|
368
368
|
},
|
|
369
|
+
getAll: () => {
|
|
370
|
+
return Object.fromEntries(keyedActors.entries());
|
|
371
|
+
},
|
|
369
372
|
_set: (systemId, actorRef) => {
|
|
370
373
|
const existing = keyedActors.get(systemId);
|
|
371
374
|
if (existing && existing !== actorRef) {
|
|
@@ -484,7 +487,7 @@ class Actor {
|
|
|
484
487
|
this.ref = void 0;
|
|
485
488
|
// TODO: add typings for system
|
|
486
489
|
this._actorScope = void 0;
|
|
487
|
-
this.
|
|
490
|
+
this.systemId = void 0;
|
|
488
491
|
/** The globally unique process ID for this invocation. */
|
|
489
492
|
this.sessionId = void 0;
|
|
490
493
|
/** The system to which this actor belongs. */
|
|
@@ -590,7 +593,7 @@ class Actor {
|
|
|
590
593
|
actorRef: this
|
|
591
594
|
});
|
|
592
595
|
if (systemId) {
|
|
593
|
-
this.
|
|
596
|
+
this.systemId = systemId;
|
|
594
597
|
this.system._set(systemId, this);
|
|
595
598
|
}
|
|
596
599
|
this._initState(options?.snapshot ?? options?.state);
|
|
@@ -808,8 +811,8 @@ class Actor {
|
|
|
808
811
|
});
|
|
809
812
|
}
|
|
810
813
|
this.system._register(this.sessionId, this);
|
|
811
|
-
if (this.
|
|
812
|
-
this.system._set(this.
|
|
814
|
+
if (this.systemId) {
|
|
815
|
+
this.system._set(this.systemId, this);
|
|
813
816
|
}
|
|
814
817
|
this._processingStatus = ProcessingStatus.Running;
|
|
815
818
|
|
|
@@ -2548,7 +2551,7 @@ function getPersistedSnapshot(snapshot, options) {
|
|
|
2548
2551
|
childrenJson[id] = {
|
|
2549
2552
|
snapshot: child.getPersistedSnapshot(options),
|
|
2550
2553
|
src: child.src,
|
|
2551
|
-
systemId: child.
|
|
2554
|
+
systemId: child.systemId,
|
|
2552
2555
|
syncSnapshot: child._syncSnapshot
|
|
2553
2556
|
};
|
|
2554
2557
|
}
|
|
@@ -369,6 +369,9 @@ function createSystem(rootActor, options) {
|
|
|
369
369
|
get: systemId => {
|
|
370
370
|
return keyedActors.get(systemId);
|
|
371
371
|
},
|
|
372
|
+
getAll: () => {
|
|
373
|
+
return Object.fromEntries(keyedActors.entries());
|
|
374
|
+
},
|
|
372
375
|
_set: (systemId, actorRef) => {
|
|
373
376
|
const existing = keyedActors.get(systemId);
|
|
374
377
|
if (existing && existing !== actorRef) {
|
|
@@ -487,7 +490,7 @@ class Actor {
|
|
|
487
490
|
this.ref = void 0;
|
|
488
491
|
// TODO: add typings for system
|
|
489
492
|
this._actorScope = void 0;
|
|
490
|
-
this.
|
|
493
|
+
this.systemId = void 0;
|
|
491
494
|
/** The globally unique process ID for this invocation. */
|
|
492
495
|
this.sessionId = void 0;
|
|
493
496
|
/** The system to which this actor belongs. */
|
|
@@ -593,7 +596,7 @@ class Actor {
|
|
|
593
596
|
actorRef: this
|
|
594
597
|
});
|
|
595
598
|
if (systemId) {
|
|
596
|
-
this.
|
|
599
|
+
this.systemId = systemId;
|
|
597
600
|
this.system._set(systemId, this);
|
|
598
601
|
}
|
|
599
602
|
this._initState(options?.snapshot ?? options?.state);
|
|
@@ -811,8 +814,8 @@ class Actor {
|
|
|
811
814
|
});
|
|
812
815
|
}
|
|
813
816
|
this.system._register(this.sessionId, this);
|
|
814
|
-
if (this.
|
|
815
|
-
this.system._set(this.
|
|
817
|
+
if (this.systemId) {
|
|
818
|
+
this.system._set(this.systemId, this);
|
|
816
819
|
}
|
|
817
820
|
this._processingStatus = ProcessingStatus.Running;
|
|
818
821
|
|
|
@@ -2604,7 +2607,7 @@ function getPersistedSnapshot(snapshot, options) {
|
|
|
2604
2607
|
childrenJson[id] = {
|
|
2605
2608
|
snapshot: child.getPersistedSnapshot(options),
|
|
2606
2609
|
src: child.src,
|
|
2607
|
-
systemId: child.
|
|
2610
|
+
systemId: child.systemId,
|
|
2608
2611
|
syncSnapshot: child._syncSnapshot
|
|
2609
2612
|
};
|
|
2610
2613
|
}
|
package/dist/xstate.cjs.js
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var actors_dist_xstateActors = require('../actors/dist/xstate-actors.cjs.js');
|
|
6
|
-
var guards_dist_xstateGuards = require('./raise-
|
|
7
|
-
var StateMachine = require('./StateMachine-
|
|
8
|
-
var assign = require('./assign-
|
|
9
|
-
var log = require('./log-
|
|
6
|
+
var guards_dist_xstateGuards = require('./raise-da5b247f.cjs.js');
|
|
7
|
+
var StateMachine = require('./StateMachine-30081029.cjs.js');
|
|
8
|
+
var assign = require('./assign-dea9f7c8.cjs.js');
|
|
9
|
+
var log = require('./log-ec8d4df4.cjs.js');
|
|
10
10
|
require('../dev/dist/xstate-dev.cjs.js');
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var actors_dist_xstateActors = require('../actors/dist/xstate-actors.development.cjs.js');
|
|
6
|
-
var guards_dist_xstateGuards = require('./raise-
|
|
7
|
-
var StateMachine = require('./StateMachine-
|
|
8
|
-
var assign = require('./assign-
|
|
9
|
-
var log = require('./log-
|
|
6
|
+
var guards_dist_xstateGuards = require('./raise-f777a9e8.development.cjs.js');
|
|
7
|
+
var StateMachine = require('./StateMachine-4f3286fa.development.cjs.js');
|
|
8
|
+
var assign = require('./assign-9e730107.development.cjs.js');
|
|
9
|
+
var log = require('./log-cbac1abc.development.cjs.js');
|
|
10
10
|
require('../dev/dist/xstate-dev.development.cjs.js');
|
|
11
11
|
|
|
12
12
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { createEmptyActor, fromCallback, fromEventObservable, fromObservable, fromPromise, fromTransition } from '../actors/dist/xstate-actors.development.esm.js';
|
|
2
|
-
import { t as toArray, c as createActor, r as raise, a as cancel, s as stopChild, b as spawnChild } from './raise-
|
|
3
|
-
export { A as Actor, h as __unsafe_getAllOwnEventDescriptors, d as and, a as cancel, c as createActor, g as getStateNodes, i as interpret, f as isMachineSnapshot, m as matchesState, n as not, o as or, p as pathToStateValue, r as raise, b as spawnChild, e as stateIn, k as stop, s as stopChild, j as toObserver } from './raise-
|
|
4
|
-
import { S as StateMachine } from './StateMachine-
|
|
5
|
-
export { S as StateMachine, a as StateNode } from './StateMachine-
|
|
6
|
-
import { a as assign } from './assign-
|
|
7
|
-
export { a as assign } from './assign-
|
|
8
|
-
import { s as sendTo, l as log, e as enqueueActions, a as emit } from './log-
|
|
9
|
-
export { S as SpecialTargets, a as emit, e as enqueueActions, f as forwardTo, l as log, b as sendParent, s as sendTo } from './log-
|
|
2
|
+
import { t as toArray, c as createActor, r as raise, a as cancel, s as stopChild, b as spawnChild } from './raise-c096f887.development.esm.js';
|
|
3
|
+
export { A as Actor, h as __unsafe_getAllOwnEventDescriptors, d as and, a as cancel, c as createActor, g as getStateNodes, i as interpret, f as isMachineSnapshot, m as matchesState, n as not, o as or, p as pathToStateValue, r as raise, b as spawnChild, e as stateIn, k as stop, s as stopChild, j as toObserver } from './raise-c096f887.development.esm.js';
|
|
4
|
+
import { S as StateMachine } from './StateMachine-d6caf9f3.development.esm.js';
|
|
5
|
+
export { S as StateMachine, a as StateNode } from './StateMachine-d6caf9f3.development.esm.js';
|
|
6
|
+
import { a as assign } from './assign-445527dc.development.esm.js';
|
|
7
|
+
export { a as assign } from './assign-445527dc.development.esm.js';
|
|
8
|
+
import { s as sendTo, l as log, e as enqueueActions, a as emit } from './log-2aa3642a.development.esm.js';
|
|
9
|
+
export { S as SpecialTargets, a as emit, e as enqueueActions, f as forwardTo, l as log, b as sendParent, s as sendTo } from './log-2aa3642a.development.esm.js';
|
|
10
10
|
import '../dev/dist/xstate-dev.development.esm.js';
|
|
11
11
|
|
|
12
12
|
/**
|
package/dist/xstate.esm.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { createEmptyActor, fromCallback, fromEventObservable, fromObservable, fromPromise, fromTransition } from '../actors/dist/xstate-actors.esm.js';
|
|
2
|
-
import { t as toArray, c as createActor, r as raise, a as cancel, s as stopChild, b as spawnChild } from './raise-
|
|
3
|
-
export { A as Actor, h as __unsafe_getAllOwnEventDescriptors, d as and, a as cancel, c as createActor, g as getStateNodes, i as interpret, f as isMachineSnapshot, m as matchesState, n as not, o as or, p as pathToStateValue, r as raise, b as spawnChild, e as stateIn, k as stop, s as stopChild, j as toObserver } from './raise-
|
|
4
|
-
import { S as StateMachine } from './StateMachine-
|
|
5
|
-
export { S as StateMachine, a as StateNode } from './StateMachine-
|
|
6
|
-
import { a as assign } from './assign-
|
|
7
|
-
export { a as assign } from './assign-
|
|
8
|
-
import { s as sendTo, l as log, e as enqueueActions, a as emit } from './log-
|
|
9
|
-
export { S as SpecialTargets, a as emit, e as enqueueActions, f as forwardTo, l as log, b as sendParent, s as sendTo } from './log-
|
|
2
|
+
import { t as toArray, c as createActor, r as raise, a as cancel, s as stopChild, b as spawnChild } from './raise-9ad1c5c6.esm.js';
|
|
3
|
+
export { A as Actor, h as __unsafe_getAllOwnEventDescriptors, d as and, a as cancel, c as createActor, g as getStateNodes, i as interpret, f as isMachineSnapshot, m as matchesState, n as not, o as or, p as pathToStateValue, r as raise, b as spawnChild, e as stateIn, k as stop, s as stopChild, j as toObserver } from './raise-9ad1c5c6.esm.js';
|
|
4
|
+
import { S as StateMachine } from './StateMachine-37bc3882.esm.js';
|
|
5
|
+
export { S as StateMachine, a as StateNode } from './StateMachine-37bc3882.esm.js';
|
|
6
|
+
import { a as assign } from './assign-ab9cc19e.esm.js';
|
|
7
|
+
export { a as assign } from './assign-ab9cc19e.esm.js';
|
|
8
|
+
import { s as sendTo, l as log, e as enqueueActions, a as emit } from './log-7cbae384.esm.js';
|
|
9
|
+
export { S as SpecialTargets, a as emit, e as enqueueActions, f as forwardTo, l as log, b as sendParent, s as sendTo } from './log-7cbae384.esm.js';
|
|
10
10
|
import '../dev/dist/xstate-dev.esm.js';
|
|
11
11
|
|
|
12
12
|
/**
|