@mappedin/viewer 0.22.0 → 0.22.1-c0a798f.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -63294,7 +63294,7 @@ const fdt = [
63294
63294
  "ventilation/exhaust_fan_pressurized.svg": new URL(zft, import.meta.url),
63295
63295
  "ventilation/explosion_relief_wall.svg": new URL(Bft, import.meta.url)
63296
63296
  };
63297
- var Fft = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.22.0", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy.mappedin.com" };
63297
+ var Fft = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.22.0", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy-staging.mappedin.com" };
63298
63298
  const Nft = async (i, e, t) => {
63299
63299
  const r = `${e ?? Fft.FETCH_MVF_AZURE_FUNCTION_HOST}?venue=${i}&version=2.0.0`, { url: n } = await fetch(r).then((h) => h.json()), a = await fetch(n).then((h) => h.arrayBuffer()), o = new Uint8Array(a), s = await cG(o), l = pG(s);
63300
63300
  return typeof (t == null ? void 0 : t.onMVFParsed) == "function" && t.onMVFParsed(l), ube(l);
@@ -67396,7 +67396,7 @@ const Iyt = (i, e) => (wh != null || (wf == null && globalThis.OffscreenCanvas !
67396
67396
  const r = {
67397
67397
  fit: "fit",
67398
67398
  ...t
67399
- }, n = "https://image-proxy.mappedin.com", a = Dyt[e], o = encodeURIComponent(i);
67399
+ }, n = "https://image-proxy-staging.mappedin.com", a = Dyt[e], o = encodeURIComponent(i);
67400
67400
  return `${n}/resize:${r.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
67401
67401
  }, Ryt = 1;
67402
67402
  class zyt {
@@ -82674,7 +82674,7 @@ const pCe = BP((i) => {
82674
82674
  /* @__PURE__ */ te.jsx(y3e, { children: /* @__PURE__ */ te.jsx(cX, { ...e }) })
82675
82675
  ), t;
82676
82676
  }, mCe = (i = {}) => {
82677
- const e = "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", t = "https://ph-api.mappedin.com";
82677
+ const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", t = "https://ph-api.mappedin.com";
82678
82678
  mrt(i.captureEnabled ?? !0);
82679
82679
  const r = $E();
82680
82680
  if (!r.__loaded && e != null && t != null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mappedin/viewer",
3
- "version": "0.22.0",
3
+ "version": "0.22.1-c0a798f.0",
4
4
  "type": "module",
5
5
  "browser": "./dist/index.js",
6
6
  "license": "UNLICENSED",