flowforge-client 0.3.3 → 0.3.4

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/dist/index.js CHANGED
@@ -1068,6 +1068,9 @@ function createClient(baseUrl, options = {}) {
1068
1068
  };
1069
1069
  return { data: null, error };
1070
1070
  }
1071
+ if (response.status === 204) {
1072
+ return { data: { success: true, message: "Deleted" }, error: null };
1073
+ }
1071
1074
  const data = await response.json();
1072
1075
  return { data, error: null };
1073
1076
  } catch (err) {
package/dist/index.mjs CHANGED
@@ -1030,6 +1030,9 @@ function createClient(baseUrl, options = {}) {
1030
1030
  };
1031
1031
  return { data: null, error };
1032
1032
  }
1033
+ if (response.status === 204) {
1034
+ return { data: { success: true, message: "Deleted" }, error: null };
1035
+ }
1033
1036
  const data = await response.json();
1034
1037
  return { data, error: null };
1035
1038
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowforge-client",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "TypeScript client for FlowForge workflow orchestration",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",