@absolutejs/beacon 0.6.27 → 0.6.28
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/dist/index.js +2 -2
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3605,7 +3605,7 @@ var createBeacon = (options) => {
|
|
|
3605
3605
|
const navigation = performance.getEntriesByType("navigation")[0];
|
|
3606
3606
|
if (navigation?.type !== "back_forward") {
|
|
3607
3607
|
const now = Date.now();
|
|
3608
|
-
const route =
|
|
3608
|
+
const route = shortUrl(location.href);
|
|
3609
3609
|
const raw = sessionStorage.getItem(RELOAD_LOOP_STORAGE_KEY);
|
|
3610
3610
|
const parsed = raw === null ? [] : JSON.parse(raw);
|
|
3611
3611
|
const history2 = (Array.isArray(parsed) ? parsed : []).filter((entry) => entry !== null && typeof entry === "object" && typeof entry.at === "number" && typeof entry.route === "string" && now - entry.at < RELOAD_LOOP_WINDOW_MS);
|
|
@@ -3929,5 +3929,5 @@ export {
|
|
|
3929
3929
|
BEACON_ATTRIBUTE
|
|
3930
3930
|
};
|
|
3931
3931
|
|
|
3932
|
-
//# debugId=
|
|
3932
|
+
//# debugId=7A92BA6CC955EDCF64756E2164756E21
|
|
3933
3933
|
//# sourceMappingURL=index.js.map
|