@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.
- package/dist/api.cjs.development.js +3 -1
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +3 -2
- package/dist/api.esm.js.map +1 -1
- package/dist/utils/location.d.ts +1 -0
- package/package.json +2 -2
|
@@ -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;
|