@xmachines/play-actor 1.0.0-beta.17 → 1.0.0-beta.19
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 +1 -1
- package/dist/abstract-actor.d.ts +1 -1
- package/dist/abstract-actor.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +6 -7
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Foundation for all actor implementations, enforcing XState compatibility and rea
|
|
|
8
8
|
|
|
9
9
|
`@xmachines/play-actor` provides `AbstractActor`, a base class that extends XState's `Actor` while enforcing the Play Architecture's signal protocol. It maintains XState ecosystem compatibility (inspection tools, devtools) while exposing reactive signals for infrastructure layer communication.
|
|
10
10
|
|
|
11
|
-
Per [
|
|
11
|
+
Per [Play RFC](../docs/rfc/play.md), this package implements:
|
|
12
12
|
|
|
13
13
|
- **Actor Authority (INV-01):** Actor is sole source of truth for state transitions
|
|
14
14
|
- **Signal-Only Reactivity (INV-05):** Infrastructure observes via TC39 Signals, never directly queries
|
package/dist/abstract-actor.d.ts
CHANGED
|
@@ -218,7 +218,7 @@ export interface Viewable {
|
|
|
218
218
|
* }
|
|
219
219
|
* ```
|
|
220
220
|
*
|
|
221
|
-
* @see
|
|
221
|
+
* @see [Play RFC](../../docs/rfc/play.md)
|
|
222
222
|
* @see {@link Routable} for routing capability
|
|
223
223
|
* @see {@link Viewable} for view rendering capability
|
|
224
224
|
*/
|
package/dist/abstract-actor.js
CHANGED
|
@@ -74,7 +74,7 @@ import { Actor } from "xstate";
|
|
|
74
74
|
* }
|
|
75
75
|
* ```
|
|
76
76
|
*
|
|
77
|
-
* @see
|
|
77
|
+
* @see [Play RFC](../../docs/rfc/play.md)
|
|
78
78
|
* @see {@link Routable} for routing capability
|
|
79
79
|
* @see {@link Viewable} for view rendering capability
|
|
80
80
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* reactive signals for Infrastructure layer communication.
|
|
14
14
|
*
|
|
15
15
|
* @packageDocumentation
|
|
16
|
-
* @see
|
|
16
|
+
* @see [Play RFC](../../docs/rfc/play.md)
|
|
17
17
|
*/
|
|
18
18
|
export { AbstractActor, type Routable, type Viewable, type ViewMetadata, type PlaySpec, } from "./abstract-actor.js";
|
|
19
19
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* reactive signals for Infrastructure layer communication.
|
|
14
14
|
*
|
|
15
15
|
* @packageDocumentation
|
|
16
|
-
* @see
|
|
16
|
+
* @see [Play RFC](../../docs/rfc/play.md)
|
|
17
17
|
*/
|
|
18
18
|
export { AbstractActor, } from "./abstract-actor.js";
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
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.19",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Abstract Actor base class for XMachines Play Architecture",
|
|
6
6
|
"keywords": [
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"type": "module",
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
23
|
+
"source": "./src/index.ts",
|
|
23
24
|
"types": "./dist/index.d.ts",
|
|
24
25
|
"import": "./dist/index.js"
|
|
25
26
|
}
|
|
@@ -29,9 +30,7 @@
|
|
|
29
30
|
},
|
|
30
31
|
"scripts": {
|
|
31
32
|
"build": "tsc --build",
|
|
32
|
-
"clean": "rm -rf dist *.tsbuildinfo
|
|
33
|
-
"typecheck": "tsc --noEmit",
|
|
34
|
-
"typecheck:test": "tsc --noEmit -p tsconfig.test.json",
|
|
33
|
+
"clean": "rm -rf dist *.tsbuildinfo coverage",
|
|
35
34
|
"test": "vitest",
|
|
36
35
|
"lint": "oxlint .",
|
|
37
36
|
"lint:fix": "oxlint --fix .",
|
|
@@ -44,13 +43,13 @@
|
|
|
44
43
|
},
|
|
45
44
|
"devDependencies": {
|
|
46
45
|
"@types/node": "^25.5.0",
|
|
47
|
-
"@xmachines/shared": "1.0.0-beta.
|
|
46
|
+
"@xmachines/shared": "1.0.0-beta.19",
|
|
48
47
|
"vitest": "^4.1.2",
|
|
49
48
|
"xstate": "^5.30.0"
|
|
50
49
|
},
|
|
51
50
|
"peerDependencies": {
|
|
52
|
-
"@xmachines/play": "1.0.0-beta.
|
|
53
|
-
"@xmachines/play-signals": "1.0.0-beta.
|
|
51
|
+
"@xmachines/play": "1.0.0-beta.19",
|
|
52
|
+
"@xmachines/play-signals": "1.0.0-beta.19",
|
|
54
53
|
"xstate": "^5.30.0"
|
|
55
54
|
},
|
|
56
55
|
"engines": {
|