@plitzi/sdk-interactions 0.35.5 → 0.35.6
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 +25 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @plitzi/sdk-interactions
|
|
2
2
|
|
|
3
|
+
## 0.35.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- A failed server action can give back what it already did.
|
|
8
|
+
|
|
9
|
+
- **`flow.onFailure` ("On Failure") marks where the undo begins.** A run that reaches it has succeeded and ends there.
|
|
10
|
+
A run whose step failed jumps to it and runs the steps after it, in order, each still asking its own `when` — the
|
|
11
|
+
failure may have come before the thing to undo was ever done — with `{{ failure.step }}` and `{{ failure.message }}`
|
|
12
|
+
in scope. The run still ends failed, with the failure it had; an undo step that fails too is added to it.
|
|
13
|
+
- **The undo runs on its own clock and budget:** 5 seconds (or the run's own timeout if shorter) and its own outbound
|
|
14
|
+
request budget, because the run's may be exactly what ran out, and a caller closing the connection does not stop it.
|
|
15
|
+
A run that hit its deadline is undone too.
|
|
16
|
+
- **`defineAction` writes it from `onFailure: [...]`**, after the answer. `validateActionDocument` refuses an output
|
|
17
|
+
step or a second handler after one, warns about a handler with nothing to undo or nothing that undoes, and reserves
|
|
18
|
+
`failure` as a step id. `FAILURE_HANDLER_TASK` is exported from `@plitzi/sdk-shared/actions`.
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
- @plitzi/sdk-auth@0.35.6
|
|
22
|
+
- @plitzi/sdk-dev-tools@0.35.6
|
|
23
|
+
- @plitzi/sdk-event-bridge@0.35.6
|
|
24
|
+
- @plitzi/sdk-navigation@0.35.6
|
|
25
|
+
- @plitzi/sdk-schema@0.35.6
|
|
26
|
+
- @plitzi/sdk-shared@0.35.6
|
|
27
|
+
|
|
3
28
|
## 0.35.5
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/sdk-interactions",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.6",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -166,11 +166,11 @@
|
|
|
166
166
|
},
|
|
167
167
|
"dependencies": {
|
|
168
168
|
"@plitzi/plitzi-ui": "^1.6.21",
|
|
169
|
-
"@plitzi/sdk-auth": "0.35.
|
|
170
|
-
"@plitzi/sdk-dev-tools": "0.35.
|
|
171
|
-
"@plitzi/sdk-event-bridge": "0.35.
|
|
172
|
-
"@plitzi/sdk-navigation": "0.35.
|
|
173
|
-
"@plitzi/sdk-schema": "0.35.
|
|
174
|
-
"@plitzi/sdk-shared": "0.35.
|
|
169
|
+
"@plitzi/sdk-auth": "0.35.6",
|
|
170
|
+
"@plitzi/sdk-dev-tools": "0.35.6",
|
|
171
|
+
"@plitzi/sdk-event-bridge": "0.35.6",
|
|
172
|
+
"@plitzi/sdk-navigation": "0.35.6",
|
|
173
|
+
"@plitzi/sdk-schema": "0.35.6",
|
|
174
|
+
"@plitzi/sdk-shared": "0.35.6"
|
|
175
175
|
}
|
|
176
176
|
}
|