@xmachines/play-solid 1.0.0-beta.25 → 1.0.0-beta.26

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -92,8 +92,8 @@ const machine = setup({
92
92
  context: {} as {
93
93
  isAuthenticated: boolean;
94
94
  username: string | null;
95
- routeParams: Record<string, string>;
96
- queryParams: Record<string, string>;
95
+ params: Record<string, string>;
96
+ query: Record<string, string>;
97
97
  },
98
98
  events: {} as
99
99
  | { type: "auth.login"; username: string }
@@ -104,7 +104,7 @@ const machine = setup({
104
104
  formatPlayRouteTransitions({
105
105
  id: "app",
106
106
  initial: "login",
107
- context: { isAuthenticated: false, username: null, routeParams: {}, queryParams: {} },
107
+ context: { isAuthenticated: false, username: null, params: {}, query: {} },
108
108
  states: {
109
109
  login: {
110
110
  id: "login",
@@ -257,7 +257,7 @@ When using `formatPlayRouteTransitions`, URL path parameters flow automatically
257
257
 
258
258
  ```ts
259
259
  // spec: { section: undefined, user: "alice" }
260
- // After play.route to /settings/profile → context.routeParams = { section: "profile" }
260
+ // After play.route to /settings/profile → context.params = { section: "profile" }
261
261
  // Component receives: { section: "profile", user: "alice" }
262
262
  ```
263
263
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xmachines/play-solid",
3
- "version": "1.0.0-beta.25",
3
+ "version": "1.0.0-beta.26",
4
4
  "description": "SolidJS renderer for XMachines Play architecture",
5
5
  "keywords": [
6
6
  "catalog",
@@ -39,8 +39,8 @@
39
39
  "prepublishOnly": "npm run build"
40
40
  },
41
41
  "dependencies": {
42
- "@xmachines/play-actor": "1.0.0-beta.25",
43
- "@xmachines/play-signals": "1.0.0-beta.25"
42
+ "@xmachines/play-actor": "1.0.0-beta.26",
43
+ "@xmachines/play-signals": "1.0.0-beta.26"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@json-render/core": "^0.16.0",
@@ -49,7 +49,7 @@
49
49
  "@solidjs/testing-library": "^0.8.10",
50
50
  "@testing-library/jest-dom": "^6.9.1",
51
51
  "@types/node": "^25.5.0",
52
- "@xmachines/shared": "1.0.0-beta.25",
52
+ "@xmachines/shared": "1.0.0-beta.26",
53
53
  "@xstate/store": ">=3.17.0",
54
54
  "jsdom": "^29.0.1",
55
55
  "oxfmt": "^0.43.0",