@xmachines/play-xstate 1.0.0-beta.55 → 1.0.0-beta.57

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 CHANGED
@@ -14,7 +14,7 @@ Part of the [XMachines Play](../../README.md) monorepo.
14
14
  ## Installation
15
15
 
16
16
  ```bash
17
- npm install @xmachines/play-xstate xstate
17
+ pnpm add @xmachines/play-xstate xstate
18
18
  ```
19
19
 
20
20
  `xstate ^5.31.0` is a peer dependency and must be installed alongside this package.
@@ -281,10 +281,10 @@ All error classes extend `PlayError` from `@xmachines/play` and carry typed deta
281
281
 
282
282
  ```bash
283
283
  # Run tests for this package in isolation
284
- npm test -w packages/play-xstate
284
+ pnpm --filter @xmachines/play-xstate test
285
285
 
286
286
  # Watch mode
287
- npm run test:watch -w packages/play-xstate
287
+ pnpm --filter @xmachines/play-xstate run test:watch
288
288
  ```
289
289
 
290
290
  Tests use [Vitest](https://vitest.dev/) and live in `packages/play-xstate/test/`.
@@ -152,7 +152,7 @@ export declare class PlayerActor<TMachine extends AnyStateMachine> extends Abstr
152
152
  * const view = actor.currentView.get();
153
153
  * if (view) {
154
154
  * console.log(view.root); // e.g. "root"
155
- * console.log(view.elements); // @json-render/core Spec elements
155
+ * console.log(view.elements); // @xmachines/json-render-core Spec elements
156
156
  * }
157
157
  * ```
158
158
  */
@@ -395,7 +395,7 @@ export class PlayerActor extends AbstractActor {
395
395
  * const view = actor.currentView.get();
396
396
  * if (view) {
397
397
  * console.log(view.root); // e.g. "root"
398
- * console.log(view.elements); // @json-render/core Spec elements
398
+ * console.log(view.elements); // @xmachines/json-render-core Spec elements
399
399
  * }
400
400
  * ```
401
401
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmachines/play-xstate",
3
- "version": "1.0.0-beta.55",
3
+ "version": "1.0.0-beta.57",
4
4
  "description": "XState v5 adapter for Play Architecture",
5
5
  "keywords": [
6
6
  "actor-model",
@@ -48,16 +48,16 @@
48
48
  "prepublishOnly": "npm run build"
49
49
  },
50
50
  "dependencies": {
51
- "@xmachines/play": "1.0.0-beta.55",
52
- "@xmachines/play-actor": "1.0.0-beta.55",
53
- "@xmachines/play-signals": "1.0.0-beta.55",
51
+ "@xmachines/play": "1.0.0-beta.57",
52
+ "@xmachines/play-actor": "1.0.0-beta.57",
53
+ "@xmachines/play-signals": "1.0.0-beta.57",
54
54
  "dequal": "^2.0.3"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@testing-library/jest-dom": "^6.9.1",
58
58
  "@types/node": "^25.6.0",
59
- "@xmachines/play-router": "1.0.0-beta.55",
60
- "@xmachines/shared": "1.0.0-beta.55",
59
+ "@xmachines/play-router": "1.0.0-beta.57",
60
+ "@xmachines/shared": "1.0.0-beta.57",
61
61
  "oxfmt": "^0.47.0",
62
62
  "oxlint": "^1.62.0",
63
63
  "typescript": "^5.9.3 || ^6.0.3",