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

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 (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +4 -4
  3. package/package.json +5 -5
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Mikael Karon
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
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.27",
4
4
  "description": "SolidJS renderer for XMachines Play architecture",
5
5
  "keywords": [
6
6
  "catalog",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "scripts": {
32
32
  "build": "vite build && tsc --build",
33
- "clean": "rm -rf dist *.tsbuildinfo coverage .vitest-attachments test/browser/__screenshots__ node_modules/.vite*",
33
+ "clean": "rm -rf dist *.tsbuildinfo coverage .vitest-attachments test/browser/__screenshots__ node_modules/.vite* node_modules/.svelte2tsx-*",
34
34
  "lint": "oxlint .",
35
35
  "format": "oxfmt .",
36
36
  "test": "vitest",
@@ -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.27",
43
+ "@xmachines/play-signals": "1.0.0-beta.27"
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.27",
53
53
  "@xstate/store": ">=3.17.0",
54
54
  "jsdom": "^29.0.1",
55
55
  "oxfmt": "^0.43.0",