@xmachines/play-actor 1.0.0-beta.34 → 1.0.0-beta.35
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/README.md +9 -9
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -176,19 +176,19 @@ function connectBrowserNavigation(actor: AbstractActor<any>) {
|
|
|
176
176
|
This base class enforces three architectural invariants:
|
|
177
177
|
|
|
178
178
|
1. **Actor Authority (INV-01):**
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
- Actor decides all state transitions via guards
|
|
180
|
+
- Infrastructure sends events, actor validates and processes
|
|
181
|
+
- Actor's decision is final — no override by infrastructure
|
|
182
182
|
|
|
183
183
|
2. **Signal-Only Reactivity (INV-05):**
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
184
|
+
- All reactive state exposed via TC39 Signals
|
|
185
|
+
- Infrastructure uses `Signal.subtle.Watcher` to observe
|
|
186
|
+
- No direct queries (`getSnapshot()` for internal use only)
|
|
187
187
|
|
|
188
188
|
3. **Passive Infrastructure (INV-04):**
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
189
|
+
- Infrastructure reflects actor state (via signals)
|
|
190
|
+
- Infrastructure never decides transitions
|
|
191
|
+
- Browser/router events sent as commands to actor
|
|
192
192
|
|
|
193
193
|
## XState Compatibility
|
|
194
194
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmachines/play-actor",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.35",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Abstract Actor base class for XMachines Play Architecture",
|
|
6
6
|
"keywords": [
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^25.6.0",
|
|
46
|
-
"@xmachines/shared": "1.0.0-beta.
|
|
46
|
+
"@xmachines/shared": "1.0.0-beta.35",
|
|
47
47
|
"oxfmt": "^0.45.0",
|
|
48
48
|
"oxlint": "^1.60.0",
|
|
49
49
|
"vitest": "^4.1.4",
|
|
50
50
|
"xstate": "^5.30.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@xmachines/play": "1.0.0-beta.
|
|
54
|
-
"@xmachines/play-signals": "1.0.0-beta.
|
|
53
|
+
"@xmachines/play": "1.0.0-beta.35",
|
|
54
|
+
"@xmachines/play-signals": "1.0.0-beta.35",
|
|
55
55
|
"xstate": "^5.30.0"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|