@absolutejs/beacon 0.7.0-beta.16 → 0.7.0-beta.18
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 +12 -0
- package/changelog.json +27 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +11 -3
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,18 @@ This file is generated by `absolute-changelog` from the entries in
|
|
|
6
6
|
`changelog/`. Edit an entry, not this file — and add new ones under
|
|
7
7
|
`changelog/unreleased/`.
|
|
8
8
|
|
|
9
|
+
## 0.7.0-beta.18 — 2026-10-24
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **Ignore predominantly horizontal wheel gestures when detecting blocked vertical scrolling, while retaining vertical failures and wheel-axis diagnostics.** (`createBeacon`, `BEACON_SDK_VERSION`)
|
|
14
|
+
|
|
15
|
+
## 0.7.0-beta.17 — 2026-10-24
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- **Keep loading and mobile-focus issue fingerprints stable when wait durations, deadlines and keyboard viewport measurements vary.** (`BEACON_SDK_VERSION`)
|
|
20
|
+
|
|
9
21
|
## 0.7.0-beta.16 — 2026-10-24
|
|
10
22
|
|
|
11
23
|
### Added
|
package/changelog.json
CHANGED
|
@@ -2,6 +2,33 @@
|
|
|
2
2
|
"contract": 1,
|
|
3
3
|
"name": "@absolutejs/beacon",
|
|
4
4
|
"releases": [
|
|
5
|
+
{
|
|
6
|
+
"changes": [
|
|
7
|
+
{
|
|
8
|
+
"kind": "fixed",
|
|
9
|
+
"summary": "Ignore predominantly horizontal wheel gestures when detecting blocked vertical scrolling, while retaining vertical failures and wheel-axis diagnostics.",
|
|
10
|
+
"symbols": [
|
|
11
|
+
"createBeacon",
|
|
12
|
+
"BEACON_SDK_VERSION"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"date": "2026-10-24",
|
|
17
|
+
"version": "0.7.0-beta.18"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"changes": [
|
|
21
|
+
{
|
|
22
|
+
"kind": "fixed",
|
|
23
|
+
"summary": "Keep loading and mobile-focus issue fingerprints stable when wait durations, deadlines and keyboard viewport measurements vary.",
|
|
24
|
+
"symbols": [
|
|
25
|
+
"BEACON_SDK_VERSION"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"date": "2026-10-24",
|
|
30
|
+
"version": "0.7.0-beta.17"
|
|
31
|
+
},
|
|
5
32
|
{
|
|
6
33
|
"changes": [
|
|
7
34
|
{
|
package/dist/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export type BeaconLevel = "fatal" | "error" | "warning" | "info";
|
|
|
25
25
|
/** Response header used to correlate a browser signal with its server request. */
|
|
26
26
|
export declare const BEACON_TRACE_HEADER = "x-absolute-trace-id";
|
|
27
27
|
/** Beacon package version retained with every captured event. */
|
|
28
|
-
export declare const BEACON_SDK_VERSION = "0.7.0-beta.
|
|
28
|
+
export declare const BEACON_SDK_VERSION = "0.7.0-beta.18";
|
|
29
29
|
/** Arbitrary event tags, with Beacon's reserved `signal` tag type-checked. */
|
|
30
30
|
export type BeaconTags = Record<string, string> & {
|
|
31
31
|
signal?: BeaconSignal;
|
package/dist/index.js
CHANGED
|
@@ -192,7 +192,7 @@ var consumeEarlyLayoutShiftBuffer = () => {
|
|
|
192
192
|
|
|
193
193
|
// src/index.ts
|
|
194
194
|
var BEACON_TRACE_HEADER = "x-absolute-trace-id";
|
|
195
|
-
var BEACON_SDK_VERSION = "0.7.0-beta.
|
|
195
|
+
var BEACON_SDK_VERSION = "0.7.0-beta.18";
|
|
196
196
|
var inBrowser = () => typeof window !== "undefined";
|
|
197
197
|
var newId = () => {
|
|
198
198
|
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
@@ -622,6 +622,11 @@ var VOLATILE_SIGNAL_TAGS = new Set([
|
|
|
622
622
|
"durationMs",
|
|
623
623
|
"documentReadyState",
|
|
624
624
|
"elapsedMs",
|
|
625
|
+
"visibleMs",
|
|
626
|
+
"deadlineMs",
|
|
627
|
+
"layoutViewportHeight",
|
|
628
|
+
"visualViewportHeight",
|
|
629
|
+
"visualViewportOffsetTop",
|
|
625
630
|
"errorCount",
|
|
626
631
|
"focusEventTrusted",
|
|
627
632
|
"inputDelayMs",
|
|
@@ -3662,7 +3667,7 @@ var createBeacon = (options) => {
|
|
|
3662
3667
|
};
|
|
3663
3668
|
const onWheel = (event) => {
|
|
3664
3669
|
clearJailSettle();
|
|
3665
|
-
if (event.ctrlKey || event.defaultPrevented || event.deltaY === 0) {
|
|
3670
|
+
if (event.ctrlKey || event.defaultPrevented || event.deltaY === 0 || Math.abs(event.deltaX) > Math.abs(event.deltaY)) {
|
|
3666
3671
|
jailBurst = [];
|
|
3667
3672
|
return;
|
|
3668
3673
|
}
|
|
@@ -3723,6 +3728,9 @@ var createBeacon = (options) => {
|
|
|
3723
3728
|
scroller: descriptor,
|
|
3724
3729
|
direction: scrollingDown ? "down" : "up",
|
|
3725
3730
|
wheelCount: confirmedBurst.length,
|
|
3731
|
+
deltaX: event.deltaX,
|
|
3732
|
+
deltaY: event.deltaY,
|
|
3733
|
+
deltaMode: event.deltaMode,
|
|
3726
3734
|
burstDurationMs: now - (confirmedBurst[0]?.at ?? now),
|
|
3727
3735
|
scrollTop: scroller.scrollTop,
|
|
3728
3736
|
scrollHeight: scroller.scrollHeight,
|
|
@@ -5031,5 +5039,5 @@ export {
|
|
|
5031
5039
|
redactBeaconEvent
|
|
5032
5040
|
};
|
|
5033
5041
|
|
|
5034
|
-
//# debugId=
|
|
5042
|
+
//# debugId=FB2A7E6729F1F12264756E2164756E21
|
|
5035
5043
|
//# sourceMappingURL=index.js.map
|