intelicoreact 2.0.10 → 2.0.11
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.
- package/dist/Classes/RESTAPI/partials/ApiUtils.d.ts +1 -1
- package/dist/classes.cjs +2 -2
- package/dist/classes.cjs.map +2 -2
- package/dist/classes.js +2 -2
- package/dist/classes.js.map +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +2 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1299,7 +1299,7 @@ var ApiUtils = class extends Utils_default {
|
|
|
1299
1299
|
// ? т.к. на разных проектах могут быть разные интерпретации пропы api
|
|
1300
1300
|
// ? Метод не планировался как асинхронный,
|
|
1301
1301
|
// ? однако ввиду того что он может быть перегружен на экземпляре асинхронность предусматривается
|
|
1302
|
-
async getRootPath() {
|
|
1302
|
+
async getRootPath(_apiProp) {
|
|
1303
1303
|
return this.API_PATH;
|
|
1304
1304
|
}
|
|
1305
1305
|
/**
|
|
@@ -2064,7 +2064,7 @@ var RESTAPI = class extends ApiBase_default {
|
|
|
2064
2064
|
};
|
|
2065
2065
|
return {
|
|
2066
2066
|
...rest,
|
|
2067
|
-
path: `${fullPath || await API_CONTEXT.getRootPath() + (typeof path === "string" ? path : "")}`,
|
|
2067
|
+
path: `${fullPath || await API_CONTEXT.getRootPath(api) + (typeof path === "string" ? path : "")}`,
|
|
2068
2068
|
// ? Запускаем самовызывающуюся асинхронную ф-ю, ждем резолва промиса от нее
|
|
2069
2069
|
queryParameters: await (async () => {
|
|
2070
2070
|
const queryParams = query || queryParameters || "";
|