@mappedin/viewer 0.27.1-e5997a2.0 → 0.27.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.27.1](https://github.com/MappedIn/viewer/compare/viewer-v0.27.0...viewer-v0.27.1) (2024-10-01)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **SRV-1705:** properly format share button URL ([#321](https://github.com/MappedIn/viewer/issues/321)) ([e5997a2](https://github.com/MappedIn/viewer/commit/e5997a266a18a76b6194ecfeafda104b1cb1b3fb))
9
+
3
10
  ## [0.27.0](https://github.com/MappedIn/viewer/compare/viewer-v0.26.0...viewer-v0.27.0) (2024-10-01)
4
11
 
5
12
 
package/dist/index.js CHANGED
@@ -16454,7 +16454,7 @@ const m5 = { current: fJ, captureEnabled: !0 }, GE2 = (i) => {
16454
16454
  const e = zd(), [t, r] = i;
16455
16455
  e.capture(t, r);
16456
16456
  }, gJ = (i = {}) => {
16457
- const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", t = "https://ph-api.mappedin.com";
16457
+ const e = "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", t = "https://ph-api.mappedin.com";
16458
16458
  WE2(i.captureEnabled ?? !0);
16459
16459
  const r = zd();
16460
16460
  if (!r.__loaded && e != null && t != null) {
@@ -67105,7 +67105,7 @@ const yf2 = async (i, e) => {
67105
67105
  const r = performance.now(), n = await zG2(t);
67106
67106
  return Pe.log("Hydrated map data in", performance.now() - r, "ms"), n;
67107
67107
  };
67108
- var WG2 = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.27.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" };
67108
+ var WG2 = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.27.1", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy.mappedin.com" };
67109
67109
  const qG2 = async (i, e, t) => {
67110
67110
  const r = `${e ?? WG2.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 Uw(o), l = Zw(s);
67111
67111
  return typeof (t == null ? void 0 : t.onMVFParsed) == "function" && t.onMVFParsed(l), yf2(l, t);
@@ -72780,7 +72780,7 @@ const GQ2 = (i, e) => (K8 != null || (Cc == null && globalThis.OffscreenCanvas !
72780
72780
  const r = {
72781
72781
  fit: "fit",
72782
72782
  ...t
72783
- }, n = "https://image-proxy-staging.mappedin.net", a = qQ2[e], o = encodeURIComponent(i);
72783
+ }, n = "https://image-proxy.mappedin.com", a = qQ2[e], o = encodeURIComponent(i);
72784
72784
  return `${n}/resize:${r.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
72785
72785
  }, Hm2 = l8`
72786
72786
  cursor: pointer;
@@ -89233,7 +89233,7 @@ const FC2 = ob((i) => {
89233
89233
  ] });
89234
89234
  }), kC2 = () => {
89235
89235
  let i = document.querySelector("meta[name=app-version]");
89236
- i == null && (i = document.createElement("meta"), i.name = "app-version", document.head.appendChild(i)), i.content = "0.27.0";
89236
+ i == null && (i = document.createElement("meta"), i.name = "app-version", document.head.appendChild(i)), i.content = "0.27.1";
89237
89237
  let e = document.querySelector("meta[name=viewport]");
89238
89238
  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";
89239
89239
  }, VC2 = (i) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mappedin/viewer",
3
- "version": "0.27.1-e5997a2.0",
3
+ "version": "0.27.1",
4
4
  "type": "module",
5
5
  "browser": "./dist/index.js",
6
6
  "license": "UNLICENSED",