@strav/machine 1.0.0-alpha.22 → 1.0.0-alpha.25

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/package.json +3 -3
  2. 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.0-alpha.22",
3
+ "version": "1.0.0-alpha.25",
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.0-alpha.22",
23
- "@strav/database": "1.0.0-alpha.22"
22
+ "@strav/kernel": "1.0.0-alpha.25",
23
+ "@strav/database": "1.0.0-alpha.25"
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
- * constructor(db: PostgresDatabase, events: EventBus) { super(db, events) }
28
+ * // (No explicit constructor needed Repository's options-bag form is inherited.)
29
29
  * }
30
30
  *
31
31
  * const order = await orderRepo.find('o1')