@orbe-agro/client-core 5.3.108 → 5.3.109

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.
@@ -1,13 +1,13 @@
1
1
  import t from "../../../@ecme/services/ApiService.js";
2
2
  import "../../configs/index.js";
3
3
  import i from "../../configs/endpoints.config/endpoints.navigation.js";
4
- async function a(o) {
4
+ async function n(o) {
5
5
  return t.fetchDataWithAxios({
6
- url: `${i.objectStorage.minio.download}/${o}`,
6
+ url: `${i.objectStorage.minio.download}?fileName=${o}`,
7
7
  method: "get"
8
8
  });
9
9
  }
10
10
  export {
11
- a as apiObjectStorageDownload
11
+ n as apiObjectStorageDownload
12
12
  };
13
13
  //# sourceMappingURL=ObjectStorageService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectStorageService.js","sources":["../../../../lib/base/services/modules/ObjectStorageService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { endpointsConfig } from '@base/configs'\n\nexport async function apiObjectStorageDownload(fileName: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${endpointsConfig.objectStorage.minio.download}/${fileName}`,\n method: 'get',\n })\n}\n\n\n"],"names":["apiObjectStorageDownload","fileName","ApiService","endpointsConfig"],"mappings":";;;AAGA,eAAsBA,EAAyBC,GAAkB;AAC7D,SAAOC,EAAW,mBAAwB;AAAA,IACtC,KAAK,GAAGC,EAAgB,cAAc,MAAM,QAAQ,IAAIF,CAAQ;AAAA,IAChE,QAAQ;AAAA,EAAA,CACX;AACL;"}
1
+ {"version":3,"file":"ObjectStorageService.js","sources":["../../../../lib/base/services/modules/ObjectStorageService.ts"],"sourcesContent":["import ApiService from \"@/services/ApiService\";\nimport { endpointsConfig } from '@base/configs'\n\nexport async function apiObjectStorageDownload(fileName: string) {\n return ApiService.fetchDataWithAxios<any>({\n url: `${endpointsConfig.objectStorage.minio.download}?fileName=${fileName}`,\n method: 'get',\n })\n}\n\n\n"],"names":["apiObjectStorageDownload","fileName","ApiService","endpointsConfig"],"mappings":";;;AAGA,eAAsBA,EAAyBC,GAAkB;AAC7D,SAAOC,EAAW,mBAAwB;AAAA,IACtC,KAAK,GAAGC,EAAgB,cAAc,MAAM,QAAQ,aAAaF,CAAQ;AAAA,IACzE,QAAQ;AAAA,EAAA,CACX;AACL;"}
@@ -3,7 +3,7 @@ import { endpointsConfig } from '@base/configs'
3
3
 
4
4
  export async function apiObjectStorageDownload(fileName: string) {
5
5
  return ApiService.fetchDataWithAxios<any>({
6
- url: `${endpointsConfig.objectStorage.minio.download}/${fileName}`,
6
+ url: `${endpointsConfig.objectStorage.minio.download}?fileName=${fileName}`,
7
7
  method: 'get',
8
8
  })
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbe-agro/client-core",
3
- "version": "5.3.108",
3
+ "version": "5.3.109",
4
4
  "description": "Biblioteca principal de componentes e utilidades para os microfrontends do Orbe Agro.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",