@effect/workflow 0.16.0 → 0.17.0

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 CHANGED
@@ -135,7 +135,7 @@ const WorkflowEngineLayer = ClusterWorkflowEngine.layer.pipe(
135
135
  const EnvLayer = Layer.mergeAll(
136
136
  EmailWorkflowLayer
137
137
  // You can add any other cluster entities or workflow layers here
138
- ).pipe(Layer.provide(WorkflowEngineLayer))
138
+ ).pipe(Layer.provideMerge(WorkflowEngineLayer))
139
139
 
140
140
  // Finally, you can execute a workflow using the `.execute` method.
141
141
  EmailWorkflow.execute({ id: "123", to: "hello@timsmart.co" }).pipe(
@@ -205,7 +205,7 @@ export type Result<A, E> = Complete<A, E> | Suspended;
205
205
  * @category Result
206
206
  */
207
207
  export type ResultEncoded<A, E> = CompleteEncoded<A, E> | typeof Suspended.Encoded;
208
- declare const Complete_base: new <A_1 extends Record<string, any> = {}>(args: import("effect/Types").Equals<A_1, {}> extends true ? void : { readonly [P in keyof A_1 as P extends "_tag" ? never : P]: A_1[P]; }) => Readonly<A_1> & {
208
+ declare const Complete_base: new <A_1 extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A_1 as P extends "_tag" ? never : P]: A_1[P]; }>) => Readonly<A_1> & {
209
209
  readonly _tag: "Complete";
210
210
  };
211
211
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/workflow",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "Durable workflows for Effect",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -11,10 +11,10 @@
11
11
  "sideEffects": [],
12
12
  "homepage": "https://effect.website",
13
13
  "peerDependencies": {
14
- "effect": "^3.19.13",
15
- "@effect/experimental": "^0.58.0",
16
- "@effect/platform": "^0.94.0",
17
- "@effect/rpc": "^0.73.0"
14
+ "effect": "^3.20.0",
15
+ "@effect/experimental": "^0.59.0",
16
+ "@effect/platform": "^0.95.0",
17
+ "@effect/rpc": "^0.74.0"
18
18
  },
19
19
  "publishConfig": {
20
20
  "provenance": true