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 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 === void 0 ? Option.none() : Option.some(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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "effect-cf",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "Effect-native primitives for Cloudflare Workers and bindings.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -187,7 +187,7 @@ export const makeClient = <
187
187
  return {
188
188
  status: status.status,
189
189
  output,
190
- error: status.error === undefined ? Option.none() : Option.some(status.error),
190
+ error: status.error == null ? Option.none() : Option.some(status.error),
191
191
  };
192
192
  }),
193
193
  ),