@aloma.io/integration-sdk 3.7.45 → 3.7.46

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.
@@ -76,6 +76,9 @@ export default class Fetcher {
76
76
  if (local.onResponse) {
77
77
  await local.onResponse(ret);
78
78
  }
79
+ if (status === 204) {
80
+ return { ok: true };
81
+ }
79
82
  return unwrap(ret, options);
80
83
  }
81
84
  catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloma.io/integration-sdk",
3
- "version": "3.7.45",
3
+ "version": "3.7.46",
4
4
  "description": "",
5
5
  "author": "aloma.io",
6
6
  "license": "Apache-2.0",
@@ -111,6 +111,11 @@ export default class Fetcher {
111
111
  if (local.onResponse) {
112
112
  await local.onResponse(ret);
113
113
  }
114
+
115
+ if (status === 204)
116
+ {
117
+ return {ok: true};
118
+ }
114
119
 
115
120
  return unwrap(ret, options);
116
121
  } catch (e: any) {