@evergis/api 3.0.212 → 3.0.213

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.
@@ -4850,6 +4850,7 @@ function isString(v) {
4850
4850
  }
4851
4851
 
4852
4852
  const addSubDomainToLocation = subDomain => window.location.protocol + "//" + subDomain + "." + window.location.host;
4853
+ const getFetchingUrlPath = urlPath => urlPath === exports.UrlPath.Presentation ? exports.UrlPath.Base : urlPath;
4853
4854
 
4854
4855
  const parseJwt = token => {
4855
4856
  const base64Url = token.split(".")[1];
@@ -7823,7 +7824,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
7823
7824
 
7824
7825
  if (fetchSettings) {
7825
7826
  await this.clientSettings.fetchClientSettings({
7826
- urlPath: this.urlPath
7827
+ urlPath: getFetchingUrlPath(this.urlPath)
7827
7828
  });
7828
7829
  }
7829
7830
 
@@ -8671,6 +8672,7 @@ exports.addSubDomainToLocation = addSubDomainToLocation;
8671
8672
  exports.errorHandler = errorHandler;
8672
8673
  exports.formDataFromFile = formDataFromFile;
8673
8674
  exports.generateId = generateId;
8675
+ exports.getFetchingUrlPath = getFetchingUrlPath;
8674
8676
  exports.isEvergisDynamicLayer = isEvergisDynamicLayer;
8675
8677
  exports.isEvergisTileLayer = isEvergisTileLayer;
8676
8678
  exports.isFeatureLayer = isFeatureLayer;