@typeonce/effect-machine-devtools 0.41.0 → 0.42.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.
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <meta name="description" content="Interactive statechart visualization for Effect Machine" />
7
7
  <title>Effect Machine · Statechart</title>
8
- <script type="module" crossorigin src="./assets/index-Cp-0lvK5.js"></script>
8
+ <script type="module" crossorigin src="./assets/index-CVtleuI-.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="./assets/index-DkC3PbTy.css">
10
10
  </head>
11
11
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typeonce/effect-machine-devtools",
3
- "version": "0.41.0",
3
+ "version": "0.42.0",
4
4
  "description": "Local development tools for Effect Machine",
5
5
  "author": "Sandro Maglione",
6
6
  "repository": {
@@ -27,21 +27,21 @@
27
27
  "./internal/*": null
28
28
  },
29
29
  "dependencies": {
30
- "@effect/platform-browser": "^4.0.5",
31
- "@effect/platform-node": "^4.0.5",
32
- "@effect/platform-node-shared": "^4.0.5",
30
+ "@effect/platform-browser": "^4.0.0",
31
+ "@effect/platform-node": "^4.0.0",
32
+ "@effect/platform-node-shared": "^4.0.0",
33
33
  "chokidar": "4.0.3",
34
34
  "elkjs": "0.12.0",
35
35
  "typescript": "6.0.3",
36
36
  "vite": "8.1.5",
37
- "@typeonce/effect-machine": "^0.41.0"
37
+ "@typeonce/effect-machine": "^0.42.0"
38
38
  },
39
39
  "peerDependencies": {
40
- "effect": "^4.0.5"
40
+ "effect": "^4.0.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "25.7.0",
44
- "effect": "4.0.5",
44
+ "effect": "4.0.0",
45
45
  "tsx": "4.21.0"
46
46
  },
47
47
  "files": [
@@ -105,16 +105,14 @@ export const parallelOwnerRoutingMachine = Machine.make({
105
105
  states: {
106
106
  Print: {
107
107
  initial: { Options: ({}) => ({}), Operation: ({}) => ({}) },
108
- invoke: {
109
- src: "source1",
110
- onFailure: { target: "Print.Operation.Active", decoded: true, data: () => (new Active({})) }
111
- },
108
+ invoke: { src: "source1" },
112
109
  on: {
113
110
  PrintRequested: {
114
111
  target: "Print.Operation.Printing",
115
112
  decoded: true,
116
113
  data: () => (new Printing({}))
117
- }
114
+ },
115
+ ChildSignal: { target: "Print.Operation.Active", decoded: true, data: () => (new Active({})) }
118
116
  },
119
117
  states: {
120
118
  Options: {
@@ -192,11 +192,6 @@ export const parentProtocolMachine = Machine.make({
192
192
  target: "Complete",
193
193
  decoded: true,
194
194
  data: ({ output }) => (new ParentComplete({ result: output }))
195
- },
196
- onFailure: {
197
- target: "Failed",
198
- decoded: true,
199
- data: ({ error }) => (new ParentFailed({ message: String(error) }))
200
195
  }
201
196
  },
202
197
  on: {