sigurd-startup 2.2.5 → 2.2.7
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.
|
@@ -24383,23 +24383,25 @@ const KN = !1, QN = () => {
|
|
|
24383
24383
|
try {
|
|
24384
24384
|
const c = document.querySelectorAll('script[src*="sigurd-startup"]');
|
|
24385
24385
|
if (c.length > 0) {
|
|
24386
|
-
const
|
|
24387
|
-
|
|
24388
|
-
|
|
24389
|
-
|
|
24390
|
-
|
|
24391
|
-
|
|
24392
|
-
}
|
|
24393
|
-
const
|
|
24394
|
-
if (
|
|
24395
|
-
const h =
|
|
24396
|
-
|
|
24397
|
-
|
|
24398
|
-
|
|
24399
|
-
|
|
24400
|
-
|
|
24401
|
-
|
|
24402
|
-
|
|
24386
|
+
const f = c[0].src, h = f.substring(0, f.lastIndexOf("/"));
|
|
24387
|
+
if (console.log("Found package via script src:", h), h.includes("/dist")) {
|
|
24388
|
+
const v = `${h.substring(0, h.lastIndexOf("/dist"))}/node_modules/sigurd-startup/dist`;
|
|
24389
|
+
return console.log("Constructed node_modules path from Vite dist:", v), v;
|
|
24390
|
+
}
|
|
24391
|
+
return h;
|
|
24392
|
+
}
|
|
24393
|
+
const a = window.location.href, l = window.location.pathname;
|
|
24394
|
+
if (a.includes("localhost") && l.includes("/game")) {
|
|
24395
|
+
const h = `${window.location.origin}/node_modules/sigurd-startup/dist`;
|
|
24396
|
+
return console.log("Constructed package path for Vite dev server:", h), h;
|
|
24397
|
+
}
|
|
24398
|
+
if (l.includes("node_modules")) {
|
|
24399
|
+
const f = l.indexOf("node_modules"), h = l.indexOf("sigurd-startup", f);
|
|
24400
|
+
if (h !== -1) {
|
|
24401
|
+
const y = l.substring(0, h + 14);
|
|
24402
|
+
return console.log("Found package via path analysis:", y), y + "/dist";
|
|
24403
|
+
}
|
|
24404
|
+
}
|
|
24403
24405
|
} catch {
|
|
24404
24406
|
console.warn("Could not determine package location, using fallback paths");
|
|
24405
24407
|
}
|
|
@@ -32295,11 +32297,11 @@ const HP = () => {
|
|
|
32295
32297
|
}, Al = {
|
|
32296
32298
|
major: 2,
|
|
32297
32299
|
minor: 2,
|
|
32298
|
-
patch:
|
|
32300
|
+
patch: 7,
|
|
32299
32301
|
build: 0,
|
|
32300
|
-
timestamp:
|
|
32301
|
-
hash: "
|
|
32302
|
-
full: "2.2.
|
|
32302
|
+
timestamp: 1755082468456,
|
|
32303
|
+
hash: "NMFY3A",
|
|
32304
|
+
full: "2.2.7"
|
|
32303
32305
|
}, Hb = Al.full, Xd = () => ({
|
|
32304
32306
|
version: Hb,
|
|
32305
32307
|
major: Al.major,
|