@cellaware/utils 3.2.16 → 3.2.18

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.
@@ -48,6 +48,7 @@ export async function functionStream(url, req, errorBody) {
48
48
  }
49
49
  })
50
50
  .catch(err => {
51
+ console.log(err.message);
51
52
  stream.push(JSON.stringify(errorBody));
52
53
  stream.push(null);
53
54
  });
@@ -85,7 +86,7 @@ export async function functionStreamJson(url, method, key, body, errorBody) {
85
86
  const headers = {
86
87
  'Content-Type': 'application/octet-stream',
87
88
  'Accept': 'application/json',
88
- // 'Transfer-Encoding': 'chunked',
89
+ 'Transfer-Encoding': 'chunked',
89
90
  'x-functions-key': key
90
91
  };
91
92
  let req = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "3.2.16",
3
+ "version": "3.2.18",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",