@effect-app/vue 4.0.0-beta.187 → 4.0.0-beta.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 +22 -0
- package/dist/commander.d.ts +24 -83
- package/dist/commander.d.ts.map +1 -1
- package/dist/commander.js +42 -115
- package/dist/makeClient.d.ts +5 -59
- package/dist/makeClient.d.ts.map +1 -1
- package/dist/makeClient.js +4 -59
- package/dist/makeUseCommand.d.ts +1 -1
- package/dist/mutate.d.ts +5 -11
- package/dist/mutate.d.ts.map +1 -1
- package/dist/mutate.js +5 -53
- package/dist/withToast.d.ts.map +1 -1
- package/dist/withToast.js +9 -4
- package/examples/streamMutation.ts +4 -23
- package/package.json +3 -3
- package/src/commander.ts +167 -230
- package/src/makeClient.ts +6 -167
- package/src/makeUseCommand.ts +1 -1
- package/src/mutate.ts +4 -80
- package/src/withToast.ts +14 -5
- package/test/Mutation.test.ts +0 -26
- package/test/dist/stubs.d.ts +2 -151
- package/test/dist/stubs.d.ts.map +1 -1
- package/test/makeClient.test.ts +2 -24
- package/test/streamFinal.test.ts +2 -49
- package/test/streamFn.test.ts +219 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @effect-app/vue
|
|
2
2
|
|
|
3
|
+
## 4.0.0-beta.189
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d23e3f6: Delay the in-progress (waiting) toast by 1 second in `withToast` and `withDefaultToastStream`. Fast operations that produce a success/failure (or, for streams, a progress event or terminal state) within the delay window never show a waiting toast at all. Any subsequent waiting/progress/success/failure toast aborts the pending delayed toast so it never flashes after the terminal state.
|
|
8
|
+
- f44800c: In-progress toasts (`withToast` waiting toast and `withDefaultToastStream` waiting/progress toasts) now persist indefinitely (`timeout: Infinity`) until replaced by the success/failure toast or dismissed. Previously they used the underlying toast adapter's default duration and could disappear before the operation finished.
|
|
9
|
+
- Updated dependencies [ea32222]
|
|
10
|
+
- effect-app@4.0.0-beta.189
|
|
11
|
+
|
|
12
|
+
## 4.0.0-beta.188
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- f16e766: Remove legacy `mutateToResult` stream mutation factory, `wrapStream` command builder, and standard command progress reporting (`running`/`progress` from the old stream factory path). Keep only the `mutate` path for use with `streamFn` combinators. Remove obsolete types (`StreamMutationWithExtensions`, `StreamCommandWithExtensions`, `StreamFnExtension`, `MutateStreamCallOptions`) and the internal `makeStreamMutation` function. Rename `mutate.wrapStream` shorthand to `mutate.wrap` to match the non-stream convention.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- ed1b8a9: `mutate.wrap` on stream handlers now works the same as on command/query handlers: it can be called without arguments or with only combinators, with the underlying stream handler pre-baked in.
|
|
21
|
+
- b2e438f: Remove Operations service and repo
|
|
22
|
+
- Updated dependencies [b2e438f]
|
|
23
|
+
- effect-app@4.0.0-beta.188
|
|
24
|
+
|
|
3
25
|
## 4.0.0-beta.187
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|