@stonecrop/stonecrop 0.12.0 → 0.12.1
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/dist/src/stonecrop.js +1 -1
- package/dist/stonecrop.js.map +1 -1
- package/package.json +6 -6
- package/src/stonecrop.ts +1 -1
- package/src/stores/hst.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stonecrop/stonecrop",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"pinia-shared-state": "^1.0.1",
|
|
35
35
|
"pinia-xstate": "^3.0.0",
|
|
36
36
|
"xstate": "^5.25.0",
|
|
37
|
-
"@stonecrop/schema": "0.12.
|
|
37
|
+
"@stonecrop/schema": "0.12.1"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"pinia": "^3.0.4",
|
|
@@ -60,16 +60,16 @@
|
|
|
60
60
|
"vue-router": "^5.0.6",
|
|
61
61
|
"vite": "^7.3.2",
|
|
62
62
|
"vitest": "^4.1.5",
|
|
63
|
-
"@stonecrop/aform": "0.12.
|
|
64
|
-
"stonecrop
|
|
65
|
-
"
|
|
63
|
+
"@stonecrop/aform": "0.12.1",
|
|
64
|
+
"@stonecrop/atable": "0.12.1",
|
|
65
|
+
"stonecrop-rig": "0.7.0"
|
|
66
66
|
},
|
|
67
67
|
"description": "Schema-driven framework with XState workflows and HST state management",
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=24.0.0"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|
|
75
75
|
"_phase:build": "heft build && vite build && rushx docs",
|
package/src/stonecrop.ts
CHANGED
|
@@ -485,7 +485,7 @@ export class Stonecrop {
|
|
|
485
485
|
initialState =
|
|
486
486
|
typeof (workflow as { initial?: unknown }).initial === 'string'
|
|
487
487
|
? (workflow as { initial: string }).initial
|
|
488
|
-
: Object.keys(workflow.states ?? {})[0] ?? ''
|
|
488
|
+
: (Object.keys(workflow.states ?? {})[0] ?? '')
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
return status || initialState
|
package/src/stores/hst.ts
CHANGED
|
@@ -590,7 +590,7 @@ class HSTProxy implements HSTNode {
|
|
|
590
590
|
|
|
591
591
|
return Boolean(
|
|
592
592
|
(hasGetMethod && hasSetMethod && hasHasMethod && hasImmutableMarkers) ||
|
|
593
|
-
|
|
593
|
+
(hasGetMethod && hasSetMethod && isImmutableConstructor)
|
|
594
594
|
)
|
|
595
595
|
}
|
|
596
596
|
|