@hubs101/js-api-skd-client 1.0.10450 → 1.0.10451

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.
@@ -652,7 +652,7 @@ const _fetchMediaFileDetails = (basePath, token, accountId, filepath) => __await
652
652
  exports._fetchMediaFileDetails = _fetchMediaFileDetails;
653
653
  const _uploadImageToFolder = (basePath, token, accountId, folderPath, file) => __awaiter(void 0, void 0, void 0, function* () {
654
654
  const base = (0, base_1.getBasePath)(basePath);
655
- const { data } = yield (0, api_1.postFileRequestWE)(`${base.ACCOUNTS}/media/${accountId}/file?path=${folderPath}`, file, "", token);
655
+ const { data } = yield (0, api_1.postFilesAndDataRequest)(`${base.ACCOUNTS}/media/${accountId}/file?path=${folderPath}`, {}, file, token);
656
656
  return (data === null || data === void 0 ? void 0 : data.data) || data;
657
657
  });
658
658
  exports._uploadImageToFolder = _uploadImageToFolder;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubs101/js-api-skd-client",
3
- "version": "1.0.10450",
3
+ "version": "1.0.10451",
4
4
  "author": "Liveware",
5
5
  "scripts": {
6
6
  "test": "jest --config jestconfig.json",