@reventlessdev/reventless-infra 3.0.0-alpha.187 → 3.0.0-alpha.189
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,21 @@
|
|
|
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.189 (2026-10-10)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* an inbound translation is gated alike on every door, and encodes its commands by schema ([6ec3ce6](https://github.com/ReventlessDev/reventless-core/commit/6ec3ce672e53e2c162c64a90d103be691391be5e))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# 3.0.0-alpha.188 (2026-10-08)
|
|
14
|
+
|
|
15
|
+
**Note:** Version bump only for package @reventlessdev/reventless-infra
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
# 3.0.0-alpha.187 (2026-10-08)
|
|
7
22
|
|
|
8
23
|
**Note:** Version bump only for package @reventlessdev/reventless-infra
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/reventless-infra",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.189",
|
|
4
4
|
"description": "Infrastructure types for Reventless framework",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"jest": {
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"sury": "11.0.0",
|
|
17
17
|
"sury-ppx": "11.0.0",
|
|
18
18
|
"uuid": "^13.0.0",
|
|
19
|
-
"@reventlessdev/rescript-
|
|
19
|
+
"@reventlessdev/rescript-uuid": "2.0.0-alpha.1",
|
|
20
20
|
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.23",
|
|
21
|
-
"@reventlessdev/
|
|
22
|
-
"@reventlessdev/
|
|
21
|
+
"@reventlessdev/rescript-effect": "0.1.0-alpha.34",
|
|
22
|
+
"@reventlessdev/reventless-spec": "3.0.0-alpha.161"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"rescript": "12.3.1",
|
|
@@ -24,15 +24,17 @@ type acceptedResult = {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
A translation that was rejected -- by input parsing, by `translate`, by
|
|
28
|
-
encoding or by the publish itself.
|
|
27
|
+
A translation that was rejected -- by input parsing, by `translate`, by an
|
|
28
|
+
authorization check, by command encoding or by the publish itself.
|
|
29
29
|
|
|
30
30
|
- `requestId` -- the key the audit row is stored under
|
|
31
31
|
- `error` -- the rejection message
|
|
32
|
+
- `errorCode` -- `"Forbidden"` for a refused caller; absent for a failed translation
|
|
32
33
|
*/
|
|
33
34
|
type rejectedResult = {
|
|
34
35
|
requestId: string,
|
|
35
36
|
error: string,
|
|
37
|
+
errorCode?: string,
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
/**
|
|
@@ -45,10 +47,11 @@ type receiveResult = result<acceptedResult, rejectedResult>
|
|
|
45
47
|
/**
|
|
46
48
|
Runtime operations exposed by an `InboundTranslationSlice` component.
|
|
47
49
|
|
|
48
|
-
- `receive` -- accept external input, translate it, and publish
|
|
50
|
+
- `receive` -- accept external input, translate it, and publish its commands.
|
|
51
|
+
`caller` is who sent it; absent means the platform itself.
|
|
49
52
|
*/
|
|
50
53
|
type operations = {
|
|
51
|
-
receive: JSON.t => promise<receiveResult>,
|
|
54
|
+
receive: (JSON.t, ~caller: Reventless.Identity.t=?) => promise<receiveResult>,
|
|
52
55
|
}
|
|
53
56
|
|
|
54
57
|
/**
|