@reventlessdev/reventless-aws 3.0.0-alpha.413 → 3.0.0-alpha.415

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/CHANGELOG.md CHANGED
@@ -3,6 +3,20 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 3.0.0-alpha.415 (2026-10-30)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **aws:** the aggregate handler's no-op event topic has publishJson ([ad0f35e](https://github.com/ReventlessDev/reventless-core/commit/ad0f35ed0aa36b7447b7869cff85f3ba7e7374b3))
11
+
12
+
13
+ # 3.0.0-alpha.414 (2026-10-30)
14
+
15
+ ### Bug Fixes
16
+
17
+ * **core:** the envelope replay is reachable from the deployed aggregate handler ([4f42ed1](https://github.com/ReventlessDev/reventless-core/commit/4f42ed190482c9f3de90357a1f7509e943ed1a04))
18
+
19
+
6
20
  # 3.0.0-alpha.413 (2026-10-30)
7
21
 
8
22
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-aws",
3
- "version": "3.0.0-alpha.413",
3
+ "version": "3.0.0-alpha.415",
4
4
  "description": "AWS adapters for Reventless",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
@@ -22,18 +22,18 @@
22
22
  "sury": "11.0.0",
23
23
  "uuid": "^13.0.0",
24
24
  "yaml": "^2.8.3",
25
- "@reventlessdev/rescript-aws-sdk": "3.0.0-alpha.37",
26
- "@reventlessdev/rescript-effect": "1.0.0-alpha.1",
27
25
  "@reventlessdev/rescript-jest": "1.0.0-alpha.13",
26
+ "@reventlessdev/rescript-effect": "1.0.0-alpha.1",
28
27
  "@reventlessdev/rescript-node": "2.0.0-alpha.24",
28
+ "@reventlessdev/rescript-aws-sdk": "3.0.0-alpha.37",
29
29
  "@reventlessdev/rescript-pulumi-aws": "3.0.0-alpha.37",
30
- "@reventlessdev/rescript-uuid": "2.0.0-alpha.1",
31
30
  "@reventlessdev/rescript-pulumi-pulumi": "3.0.0-alpha.0",
31
+ "@reventlessdev/rescript-uuid": "2.0.0-alpha.1",
32
32
  "@reventlessdev/rescript-web": "1.0.0-alpha.8",
33
- "@reventlessdev/reventless-core": "3.0.0-alpha.322",
34
- "@reventlessdev/reventless-infra": "3.0.0-alpha.219",
35
- "@reventlessdev/reventless-postgres": "3.0.0-alpha.186",
33
+ "@reventlessdev/reventless-core": "3.0.0-alpha.323",
36
34
  "@reventlessdev/reventless-interop": "3.0.0-alpha.42",
35
+ "@reventlessdev/reventless-infra": "3.0.0-alpha.219",
36
+ "@reventlessdev/reventless-postgres": "3.0.0-alpha.187",
37
37
  "@reventlessdev/reventless-spec": "3.0.0-alpha.190"
38
38
  },
39
39
  "devDependencies": {
@@ -146,9 +146,18 @@ function buildAggregateParts(specModule, decisionModule, eventLogTableName, queu
146
146
  const eventLogOps = eventLogOperationsMake(patchedSpec)({
147
147
  Spec: patchedSpec,
148
148
  EventTopic: { Spec: patchedSpec },
149
- eventTopic: { publish: async () => {} },
149
+ // A no-op topic: on AWS the event log's DynamoDB stream is what publishes.
150
+ // Every operation EventLog_Operations calls must be here, under its field
151
+ // name — append calls `publishJson` since events are sealed at append.
152
+ eventTopic: { publish: async () => {}, publishJson: async () => {} },
150
153
  storage: rawStorageOps,
151
154
  });
155
+ // `eventLogOps` is the compiled MODULE standing in for the `EventLog.operations`
156
+ // RECORD, so each operation must have the same name as an export and as a field.
157
+ // A primed name breaks that: `replayStream'` is exported as `replayStream$p` but
158
+ // read as the field `"replayStream'"`, which is how the Plugin aggregate once
159
+ // died on every command with "replayStream' is not a function". Keep the
160
+ // operations prime-free, or build the record here field by field.
152
161
  const aggregateCallback = aggregateCallbackMake(patchedSpec)(decisionModule)({
153
162
  Spec: patchedSpec,
154
163
  EventLog: { Spec: patchedSpec },