@extrahorizon/exh-cli 1.5.1-dev-27-7bdff2e → 1.5.1-feat-29-d6fbdb6

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.
@@ -12,12 +12,12 @@ async function findByName(sdk, name) {
12
12
  }
13
13
  exports.findByName = findByName;
14
14
  async function create(sdk, data) {
15
- const response = await sdk.raw.post('/tasks/v1/functions', data);
15
+ const response = await sdk.raw.post('/tasks/v1/functions', data, { maxBodyLength: Infinity, maxContentLength: Infinity });
16
16
  return response.data;
17
17
  }
18
18
  exports.create = create;
19
19
  async function update(sdk, data) {
20
- const response = await sdk.raw.put(`/tasks/v1/functions/${data.name}`, data);
20
+ const response = await sdk.raw.put(`/tasks/v1/functions/${data.name}`, data, { maxBodyLength: Infinity, maxContentLength: Infinity });
21
21
  return response.data;
22
22
  }
23
23
  exports.update = update;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extrahorizon/exh-cli",
3
- "version": "1.5.1-dev-27-7bdff2e",
3
+ "version": "1.5.1-feat-29-d6fbdb6",
4
4
  "main": "build/index.js",
5
5
  "exports": "./build/index.js",
6
6
  "license": "MIT",