@mappedin/viewer 0.25.2-afeb96a.0 → 0.25.2
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/CHANGELOG.md +7 -0
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.25.2](https://github.com/MappedIn/viewer/compare/viewer-v0.25.1...viewer-v0.25.2) (2024-08-26)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **SRV-1587:** escape special characters to prevent crash ([#300](https://github.com/MappedIn/viewer/issues/300)) ([baaa6e5](https://github.com/MappedIn/viewer/commit/baaa6e50409855acca28a06e47843c8541f51dca))
|
|
9
|
+
|
|
3
10
|
## [0.25.1](https://github.com/MappedIn/viewer/compare/viewer-v0.25.0...viewer-v0.25.1) (2024-08-22)
|
|
4
11
|
|
|
5
12
|
|
package/dist/index.js
CHANGED
|
@@ -16441,7 +16441,7 @@ const ch = { current: qK, captureEnabled: !0 }, cEe = (i) => {
|
|
|
16441
16441
|
const e = Bf(), [t, r] = i;
|
|
16442
16442
|
e.capture(t, r);
|
|
16443
16443
|
}, YK = (i = {}) => {
|
|
16444
|
-
const e = "
|
|
16444
|
+
const e = "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", t = "https://ph-api.mappedin.com";
|
|
16445
16445
|
hEe(i.captureEnabled ?? !0);
|
|
16446
16446
|
const r = Bf();
|
|
16447
16447
|
if (!r.__loaded && e != null && t != null) {
|
|
@@ -66902,7 +66902,7 @@ const Z9e = async (i, e) => {
|
|
|
66902
66902
|
const r = performance.now(), n = await rGe(t);
|
|
66903
66903
|
return Fi.log("Hydrated map data in", performance.now() - r, "ms"), n;
|
|
66904
66904
|
};
|
|
66905
|
-
var oGe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.25.
|
|
66905
|
+
var oGe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.25.2", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy.mappedin.com" };
|
|
66906
66906
|
const sGe = async (i, e, t) => {
|
|
66907
66907
|
const r = `${e ?? oGe.FETCH_MVF_AZURE_FUNCTION_HOST}?venue=${i}&version=2.0.0`, { url: n } = await fetch(r).then((c) => c.json()), a = await fetch(n).then((c) => c.arrayBuffer()), o = new Uint8Array(a), s = await dF(o), l = hF(s);
|
|
66908
66908
|
return typeof (t == null ? void 0 : t.onMVFParsed) == "function" && t.onMVFParsed(l), Z9e(l, t);
|
|
@@ -72297,7 +72297,7 @@ const WJe = (i, e) => (Wd != null || (p4 == null && globalThis.OffscreenCanvas !
|
|
|
72297
72297
|
const r = {
|
|
72298
72298
|
fit: "fit",
|
|
72299
72299
|
...t
|
|
72300
|
-
}, n = "https://image-proxy
|
|
72300
|
+
}, n = "https://image-proxy.mappedin.com", a = XJe[e], o = encodeURIComponent(i);
|
|
72301
72301
|
return `${n}/resize:${r.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
|
|
72302
72302
|
}, QF = nd`
|
|
72303
72303
|
cursor: pointer;
|
|
@@ -88262,7 +88262,7 @@ const Yge = Yw((i) => {
|
|
|
88262
88262
|
] });
|
|
88263
88263
|
}), Kge = () => {
|
|
88264
88264
|
let i = document.querySelector("meta[name=app-version]");
|
|
88265
|
-
i == null && (i = document.createElement("meta"), i.name = "app-version", document.head.appendChild(i)), i.content = "0.25.
|
|
88265
|
+
i == null && (i = document.createElement("meta"), i.name = "app-version", document.head.appendChild(i)), i.content = "0.25.2";
|
|
88266
88266
|
let e = document.querySelector("meta[name=viewport]");
|
|
88267
88267
|
e == null && (e = document.createElement("meta"), e.name = "viewport", document.head.appendChild(e)), e.content = "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no";
|
|
88268
88268
|
}, Jge = (i) => {
|