effect-cf 0.17.0 → 0.17.1
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 +6 -0
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/WorkflowBinding.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# effect-cf
|
|
2
2
|
|
|
3
|
+
## 0.17.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#56](https://github.com/danieljvdm/effect-cf/pull/56) [`38df8ed`](https://github.com/danieljvdm/effect-cf/commit/38df8ed3153a77df117810e67a34cf039871c08c) Thanks [@danieljvdm](https://github.com/danieljvdm)! - Treat Cloudflare Workflow status responses with a null error as having no error.
|
|
8
|
+
|
|
3
9
|
## 0.17.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/index.mjs
CHANGED
|
@@ -2915,7 +2915,7 @@ const makeClient$1 = (definition) => {
|
|
|
2915
2915
|
return {
|
|
2916
2916
|
status: status.status,
|
|
2917
2917
|
output,
|
|
2918
|
-
error: status.error
|
|
2918
|
+
error: status.error == null ? Option.none() : Option.some(status.error)
|
|
2919
2919
|
};
|
|
2920
2920
|
}))),
|
|
2921
2921
|
sendEvent: (event) => operation("sendEvent", () => raw.sendEvent(event))
|
package/package.json
CHANGED
package/src/WorkflowBinding.ts
CHANGED
|
@@ -187,7 +187,7 @@ export const makeClient = <
|
|
|
187
187
|
return {
|
|
188
188
|
status: status.status,
|
|
189
189
|
output,
|
|
190
|
-
error: status.error
|
|
190
|
+
error: status.error == null ? Option.none() : Option.some(status.error),
|
|
191
191
|
};
|
|
192
192
|
}),
|
|
193
193
|
),
|