xstate 5.32.0 → 5.32.1

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.
@@ -6,7 +6,7 @@ var dist_xstateActors = require('./xstate-actors.cjs.js');
6
6
  var dist_xstateGuards = require('./raise-7c948725.cjs.js');
7
7
  var StateMachine = require('./StateMachine-e6732977.cjs.js');
8
8
  var assign = require('./assign-e8f2bd75.cjs.js');
9
- var log = require('./log-fedf0966.cjs.js');
9
+ var log = require('./log-7776fcf2.cjs.js');
10
10
  require('./xstate-dev.cjs.js');
11
11
 
12
12
  /**
@@ -201,6 +201,10 @@ function getNextSnapshot(actorLogic, snapshot, event) {
201
201
  // used to keep only StateSchema relevant keys
202
202
  // this helps with type serialization as it makes the inferred type much shorter when dealing with huge configs
203
203
 
204
+ // Extract { [invokeId]: src } mappings from a machine config's invoke entries.
205
+ // This allows createMachine to infer TChildrenMap from the invoke config
206
+ // when types.children is not explicitly provided.
207
+
204
208
  function setup({
205
209
  schemas,
206
210
  actors,
@@ -6,7 +6,7 @@ var dist_xstateActors = require('./xstate-actors.development.cjs.js');
6
6
  var dist_xstateGuards = require('./raise-964cd4e9.development.cjs.js');
7
7
  var StateMachine = require('./StateMachine-be2e51a3.development.cjs.js');
8
8
  var assign = require('./assign-927227d6.development.cjs.js');
9
- var log = require('./log-029f180b.development.cjs.js');
9
+ var log = require('./log-c2e11c01.development.cjs.js');
10
10
  require('./xstate-dev.development.cjs.js');
11
11
 
12
12
  /**
@@ -201,6 +201,10 @@ function getNextSnapshot(actorLogic, snapshot, event) {
201
201
  // used to keep only StateSchema relevant keys
202
202
  // this helps with type serialization as it makes the inferred type much shorter when dealing with huge configs
203
203
 
204
+ // Extract { [invokeId]: src } mappings from a machine config's invoke entries.
205
+ // This allows createMachine to infer TChildrenMap from the invoke config
206
+ // when types.children is not explicitly provided.
207
+
204
208
  function setup({
205
209
  schemas,
206
210
  actors,
@@ -5,8 +5,8 @@ import { S as StateMachine } from './StateMachine-e0178d48.development.esm.js';
5
5
  export { S as StateMachine, a as StateNode } from './StateMachine-e0178d48.development.esm.js';
6
6
  import { a as assign } from './assign-f338cee3.development.esm.js';
7
7
  export { a as assign } from './assign-f338cee3.development.esm.js';
8
- import { s as sendTo, l as log, e as enqueueActions, a as emit } from './log-5a37e0ee.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-5a37e0ee.development.esm.js';
8
+ import { s as sendTo, l as log, e as enqueueActions, a as emit } from './log-410e5e55.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-410e5e55.development.esm.js';
10
10
  import './xstate-dev.development.esm.js';
11
11
 
12
12
  /**
@@ -201,6 +201,10 @@ function getNextSnapshot(actorLogic, snapshot, event) {
201
201
  // used to keep only StateSchema relevant keys
202
202
  // this helps with type serialization as it makes the inferred type much shorter when dealing with huge configs
203
203
 
204
+ // Extract { [invokeId]: src } mappings from a machine config's invoke entries.
205
+ // This allows createMachine to infer TChildrenMap from the invoke config
206
+ // when types.children is not explicitly provided.
207
+
204
208
  function setup({
205
209
  schemas,
206
210
  actors,
@@ -5,8 +5,8 @@ import { S as StateMachine } from './StateMachine-45e79c35.esm.js';
5
5
  export { S as StateMachine, a as StateNode } from './StateMachine-45e79c35.esm.js';
6
6
  import { a as assign } from './assign-2aa58daa.esm.js';
7
7
  export { a as assign } from './assign-2aa58daa.esm.js';
8
- import { s as sendTo, l as log, e as enqueueActions, a as emit } from './log-605ef461.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-605ef461.esm.js';
8
+ import { s as sendTo, l as log, e as enqueueActions, a as emit } from './log-fa75ec2d.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-fa75ec2d.esm.js';
10
10
  import './xstate-dev.esm.js';
11
11
 
12
12
  /**
@@ -201,6 +201,10 @@ function getNextSnapshot(actorLogic, snapshot, event) {
201
201
  // used to keep only StateSchema relevant keys
202
202
  // this helps with type serialization as it makes the inferred type much shorter when dealing with huge configs
203
203
 
204
+ // Extract { [invokeId]: src } mappings from a machine config's invoke entries.
205
+ // This allows createMachine to infer TChildrenMap from the invoke config
206
+ // when types.children is not explicitly provided.
207
+
204
208
  function setup({
205
209
  schemas,
206
210
  actors,