@strav/machine 1.0.0-alpha.9 → 1.0.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/package.json +3 -3
- package/src/stateful.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strav/machine",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Strav state machines — declarative transitions with guards, effects, events + a stateful() Repository mixin.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@strav/kernel": "1.0.
|
|
23
|
-
"@strav/database": "1.0.
|
|
22
|
+
"@strav/kernel": "1.0.1",
|
|
23
|
+
"@strav/database": "1.0.1"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@types/bun": ">=1.3.14"
|
package/src/stateful.ts
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* class OrderRepository extends stateful(Repository<Order>, orderMachine) {
|
|
26
26
|
* static override readonly schema = orderSchema
|
|
27
27
|
* static override readonly model = Order
|
|
28
|
-
*
|
|
28
|
+
* // (No explicit constructor needed — Repository's options-bag form is inherited.)
|
|
29
29
|
* }
|
|
30
30
|
*
|
|
31
31
|
* const order = await orderRepo.find('o1')
|