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/index.js CHANGED
@@ -1036,7 +1036,7 @@ var ApiUtils = class extends Utils_default {
1036
1036
  // ? т.к. на разных проектах могут быть разные интерпретации пропы api
1037
1037
  // ? Метод не планировался как асинхронный,
1038
1038
  // ? однако ввиду того что он может быть перегружен на экземпляре асинхронность предусматривается
1039
- async getRootPath() {
1039
+ async getRootPath(_apiProp) {
1040
1040
  return this.API_PATH;
1041
1041
  }
1042
1042
  /**
@@ -1801,7 +1801,7 @@ var RESTAPI = class extends ApiBase_default {
1801
1801
  };
1802
1802
  return {
1803
1803
  ...rest,
1804
- path: `${fullPath || await API_CONTEXT.getRootPath() + (typeof path === "string" ? path : "")}`,
1804
+ path: `${fullPath || await API_CONTEXT.getRootPath(api) + (typeof path === "string" ? path : "")}`,
1805
1805
  // ? Запускаем самовызывающуюся асинхронную ф-ю, ждем резолва промиса от нее
1806
1806
  queryParameters: await (async () => {
1807
1807
  const queryParams = query || queryParameters || "";