@mappedin/viewer 0.30.2-9aaa2af.0 → 0.30.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.30.2](https://github.com/MappedIn/viewer/compare/viewer-v0.30.1...viewer-v0.30.2) (2024-11-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **SRV-1776:** add analytics to watermark ([#347](https://github.com/MappedIn/viewer/issues/347)) ([9aaa2af](https://github.com/MappedIn/viewer/commit/9aaa2affa7ba4ced0515e22b4bd9270a2e1566cb))
|
|
9
|
+
|
|
3
10
|
## [0.30.1](https://github.com/MappedIn/viewer/compare/viewer-v0.30.0...viewer-v0.30.1) (2024-10-30)
|
|
4
11
|
|
|
5
12
|
|
package/dist/index.js
CHANGED
|
@@ -15874,7 +15874,7 @@ const g8 = { current: Ke2, captureEnabled: !0 }, cF2 = (i) => {
|
|
|
15874
15874
|
const e = mf(), [t, r] = i;
|
|
15875
15875
|
e.capture(t, r);
|
|
15876
15876
|
}, Qe2 = (i = {}) => {
|
|
15877
|
-
const e = "
|
|
15877
|
+
const e = "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", t = "https://ph-api.mappedin.com";
|
|
15878
15878
|
hF2(i.captureEnabled ?? !0);
|
|
15879
15879
|
const r = mf();
|
|
15880
15880
|
if (!r.__loaded && e != null && t != null) {
|
|
@@ -72119,7 +72119,7 @@ const Kne = (i, e) => (i7 != null || (Th == null && globalThis.OffscreenCanvas !
|
|
|
72119
72119
|
const r = {
|
|
72120
72120
|
fit: "fit",
|
|
72121
72121
|
...t
|
|
72122
|
-
}, n = "https://image-proxy
|
|
72122
|
+
}, n = "https://image-proxy.mappedin.com", a = Qne[e], o = encodeURIComponent(i);
|
|
72123
72123
|
return `${n}/resize:${r.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
|
|
72124
72124
|
}, KX = pe.div`
|
|
72125
72125
|
display: flex;
|
|
@@ -73526,7 +73526,7 @@ class wae {
|
|
|
73526
73526
|
}
|
|
73527
73527
|
async init(e) {
|
|
73528
73528
|
this.container = e;
|
|
73529
|
-
const t = this.rootStore.startupOptions.outdoorMapsKey ?? "
|
|
73529
|
+
const t = this.rootStore.startupOptions.outdoorMapsKey ?? "zixaliyV5cGjHU", r = {
|
|
73530
73530
|
auto: !1,
|
|
73531
73531
|
initialFloor: this.rootStore.currentFloor,
|
|
73532
73532
|
watermark: this.getWatermarkOptions(),
|
|
@@ -88235,7 +88235,7 @@ const mb2 = gg(() => {
|
|
|
88235
88235
|
] });
|
|
88236
88236
|
}), Cb2 = () => {
|
|
88237
88237
|
let i = document.querySelector("meta[name=app-version]");
|
|
88238
|
-
i == null && (i = document.createElement("meta"), i.name = "app-version", document.head.appendChild(i)), i.content = "0.30.
|
|
88238
|
+
i == null && (i = document.createElement("meta"), i.name = "app-version", document.head.appendChild(i)), i.content = "0.30.2";
|
|
88239
88239
|
let e = document.querySelector("meta[name=viewport]");
|
|
88240
88240
|
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";
|
|
88241
88241
|
}, yb2 = (i) => {
|