@xstate/effect 1.0.0-alpha.10 → 1.0.0-alpha.11

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.
@@ -687,6 +687,8 @@ function createEffectActor(logic, ...[options]) {
687
687
  };
688
688
  })
689
689
  }, {
690
+ // A live actor needs one FIFO for child events, sends and timers.
691
+ captureRootEvents: false,
690
692
  inspect: event => {
691
693
  // The pure step scope re-materializes the root ref per step and
692
694
  // announces it again; observers should see the root once.
@@ -1,8 +1,8 @@
1
1
  import { Cause } from 'effect';
2
2
  import { Atom, AsyncResult } from 'effect/reactivity';
3
3
  import { StateMachine } from 'xstate';
4
- import { c as createEffectActor, a as causeFromError, N as NotReadyError, t as taggedState } from './state-a3f54e06.js';
5
- export { N as NotReadyError } from './state-a3f54e06.js';
4
+ import { c as createEffectActor, a as causeFromError, N as NotReadyError, t as taggedState } from './state-37b37ed4.js';
5
+ export { N as NotReadyError } from './state-37b37ed4.js';
6
6
  import 'xstate/durable';
7
7
 
8
8
  /**
@@ -1,7 +1,7 @@
1
1
  import { Schema, Effect, Stream, Cause, Exit, Queue, Data } from 'effect';
2
2
  import { createStepLogic, setup } from 'xstate';
3
- import { s as startHostedEffect, r as relayToParent, E as EffectFailure, A as ActorStoppedError, a as causeFromError, b as runHostedEffect } from './state-a3f54e06.js';
4
- export { e as ActorScope, A as ActorStoppedError, d as EffectActor, E as EffectFailure, g as EffectInterruptedError, f as EventRejectedError, c as createEffectActor, t as taggedState, w as withActorScope } from './state-a3f54e06.js';
3
+ import { s as startHostedEffect, r as relayToParent, E as EffectFailure, A as ActorStoppedError, a as causeFromError, b as runHostedEffect } from './state-37b37ed4.js';
4
+ export { e as ActorScope, A as ActorStoppedError, d as EffectActor, E as EffectFailure, g as EffectInterruptedError, f as EventRejectedError, c as createEffectActor, t as taggedState, w as withActorScope } from './state-37b37ed4.js';
5
5
  import { dual } from 'effect/Function';
6
6
  import 'xstate/durable';
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xstate/effect",
3
- "version": "1.0.0-alpha.10",
3
+ "version": "1.0.0-alpha.11",
4
4
  "type": "module",
5
5
  "description": "Effect integration for XState",
6
6
  "keywords": [
@@ -33,14 +33,14 @@
33
33
  "peerDependencies": {
34
34
  "@oxlint/plugins": "^1.76.0",
35
35
  "effect": "^4.0.0",
36
- "xstate": "^6.0.0-alpha.71"
36
+ "xstate": "^6.0.0-alpha.72"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@oxlint/plugins": "^1.76.0",
40
40
  "effect": "4.0.6",
41
41
  "fast-check": "4.10.2",
42
42
  "@xstate/test": "^2.0.0-alpha.4",
43
- "xstate": "^6.0.0-alpha.71"
43
+ "xstate": "^6.0.0-alpha.72"
44
44
  },
45
45
  "preconstruct": {
46
46
  "entrypoints": [