@mappedin/viewer 0.25.1-e5a0b7d.0 → 0.25.2-9032794.0

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 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
@@ -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.0", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy-staging.mappedin.net" };
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_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy-staging.mappedin.net" };
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);
@@ -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.0";
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) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mappedin/viewer",
3
- "version": "0.25.1-e5a0b7d.0",
3
+ "version": "0.25.2-9032794.0",
4
4
  "type": "module",
5
5
  "browser": "./dist/index.js",
6
6
  "license": "UNLICENSED",