@hubs101/js-api-skd-client 1.0.10290 → 1.0.10292

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.
Files changed (2) hide show
  1. package/lib/utils/api.js +2 -0
  2. package/package.json +1 -1
package/lib/utils/api.js CHANGED
@@ -361,6 +361,8 @@ const postRequestWE = (url, body, token, headers) => __awaiter(void 0, void 0, v
361
361
  else {
362
362
  form = new FormData();
363
363
  }
364
+ console.log("trimmed boy", Object.keys((0, exports.trimUndefined)(body)));
365
+ console.log({ form });
364
366
  Object.keys((0, exports.trimUndefined)(body)).forEach((key) => Array.isArray(body[key])
365
367
  ? form.append(key, JSON.stringify(body[key]))
366
368
  : form.append(key, body[key]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubs101/js-api-skd-client",
3
- "version": "1.0.10290",
3
+ "version": "1.0.10292",
4
4
  "author": "Liveware",
5
5
  "scripts": {
6
6
  "test": "jest --config jestconfig.json",