@semiont/event-sourcing 0.5.20 → 0.5.22
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/README.md +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -149,7 +149,7 @@ This split keeps projection-update tests pure (single-digit milliseconds, no fil
|
|
|
149
149
|
|
|
150
150
|
#### Why startup rebuild exists
|
|
151
151
|
|
|
152
|
-
The materialized views directory (`stateDir`) is **ephemeral by design** — it's safe to wipe (container recreation, `semiont
|
|
152
|
+
The materialized views directory (`stateDir`) is **ephemeral by design** — it's safe to wipe (container recreation, `semiont clean`, dev cleanup), and the event log under `.semiont/events/` is the single source of truth. `rebuildAll` is what makes "ephemeral" safe: any time `stateDir` goes empty, the next process start repopulates it from the event log.
|
|
153
153
|
|
|
154
154
|
This makes the views layer the third leg of a symmetric pattern: the three derived read models (graph, vectors, materialized views) each have exactly one explicit rebuild method called from one place at startup:
|
|
155
155
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semiont/event-sourcing",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.22",
|
|
4
4
|
"description": "Event sourcing infrastructure for Semiont - EventLog, EventBus, and ViewManager",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
"vitest": "^4.1.10"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@semiont/core": "0.5.
|
|
61
|
-
"@semiont/http-transport": "0.5.
|
|
62
|
-
"nanoid": "^
|
|
60
|
+
"@semiont/core": "0.5.22",
|
|
61
|
+
"@semiont/http-transport": "0.5.22",
|
|
62
|
+
"nanoid": "^6.0.0",
|
|
63
63
|
"uuid": "^14.0.0"
|
|
64
64
|
}
|
|
65
65
|
}
|