@mappedin/viewer 0.25.1-e5a0b7d.0 → 0.25.1
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.1](https://github.com/MappedIn/viewer/compare/viewer-v0.25.0...viewer-v0.25.1) (2024-08-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **SRV-1570:** bump sdk to fix loading MVFs with empty maps ([#298](https://github.com/MappedIn/viewer/issues/298)) ([e5a0b7d](https://github.com/MappedIn/viewer/commit/e5a0b7da462583d79fa46a9932bd1c78c766f16b))
|
|
9
|
+
|
|
3
10
|
## [0.25.0](https://github.com/MappedIn/viewer/compare/viewer-v0.24.10...viewer-v0.25.0) (2024-08-16)
|
|
4
11
|
|
|
5
12
|
|
package/dist/index.js
CHANGED
|
@@ -16441,7 +16441,7 @@ const ch = { current: qK, captureEnabled: !0 }, uEe = (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
|
cEe(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 iGe(t);
|
|
66903
66903
|
return Fi.log("Hydrated map data in", performance.now() - r, "ms"), n;
|
|
66904
66904
|
};
|
|
66905
|
-
var aGe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.25.
|
|
66905
|
+
var aGe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.25.1", 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 oGe = async (i, e, t) => {
|
|
66907
66907
|
const r = `${e ?? aGe.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);
|
|
@@ -72291,7 +72291,7 @@ const GJe = (i, e) => (Wd != null || (p4 == null && globalThis.OffscreenCanvas !
|
|
|
72291
72291
|
const r = {
|
|
72292
72292
|
fit: "fit",
|
|
72293
72293
|
...t
|
|
72294
|
-
}, n = "https://image-proxy
|
|
72294
|
+
}, n = "https://image-proxy.mappedin.com", a = qJe[e], o = encodeURIComponent(i);
|
|
72295
72295
|
return `${n}/resize:${r.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
|
|
72296
72296
|
}, QF = nd`
|
|
72297
72297
|
cursor: pointer;
|
|
@@ -88256,7 +88256,7 @@ const Xge = Yw((i) => {
|
|
|
88256
88256
|
] });
|
|
88257
88257
|
}), Yge = () => {
|
|
88258
88258
|
let i = document.querySelector("meta[name=app-version]");
|
|
88259
|
-
i == null && (i = document.createElement("meta"), i.name = "app-version", document.head.appendChild(i)), i.content = "0.25.
|
|
88259
|
+
i == null && (i = document.createElement("meta"), i.name = "app-version", document.head.appendChild(i)), i.content = "0.25.1";
|
|
88260
88260
|
let e = document.querySelector("meta[name=viewport]");
|
|
88261
88261
|
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";
|
|
88262
88262
|
}, Kge = (i) => {
|