@absolutejs/beacon 0.7.0-beta.22 → 0.7.0-beta.23
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 +6 -0
- package/changelog.json +13 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +3 -3
- package/dist/outbox.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,12 @@ 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.23 — 2026-10-28
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **Require meaningful accumulated pixel scroll intent before reporting scroll jail, avoiding fractional trackpad inertia false positives while retaining blocked-scroll detection.** (`BEACON_SDK_VERSION`)
|
|
14
|
+
|
|
9
15
|
## 0.7.0-beta.22 — 2026-10-27
|
|
10
16
|
|
|
11
17
|
### Fixed
|
package/changelog.json
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
"contract": 1,
|
|
3
3
|
"name": "@absolutejs/beacon",
|
|
4
4
|
"releases": [
|
|
5
|
+
{
|
|
6
|
+
"changes": [
|
|
7
|
+
{
|
|
8
|
+
"kind": "fixed",
|
|
9
|
+
"summary": "Require meaningful accumulated pixel scroll intent before reporting scroll jail, avoiding fractional trackpad inertia false positives while retaining blocked-scroll detection.",
|
|
10
|
+
"symbols": [
|
|
11
|
+
"BEACON_SDK_VERSION"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"date": "2026-10-28",
|
|
16
|
+
"version": "0.7.0-beta.23"
|
|
17
|
+
},
|
|
5
18
|
{
|
|
6
19
|
"changes": [
|
|
7
20
|
{
|
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.23";
|
|
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.23";
|
|
196
196
|
var inBrowser = () => typeof window !== "undefined";
|
|
197
197
|
var newId = () => {
|
|
198
198
|
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
@@ -971,6 +971,7 @@ var createBeacon = (options) => {
|
|
|
971
971
|
const FONT_FAILURE_CONFIRM_DEFAULT_MS = 5000;
|
|
972
972
|
const KEYBOARD_VIEWPORT_HEIGHT_RATIO_MAX = 0.8;
|
|
973
973
|
const SCROLL_JAIL_EVENT_COUNT = 8;
|
|
974
|
+
const SCROLL_JAIL_MIN_PIXEL_INTENT = 16;
|
|
974
975
|
const SCROLL_JAIL_WINDOW_MS = 2000;
|
|
975
976
|
const SCROLL_JAIL_SETTLE_MS = 500;
|
|
976
977
|
const SCROLL_JAIL_BOUNDARY_TOLERANCE_PX = 2;
|
|
@@ -3736,6 +3737,10 @@ var createBeacon = (options) => {
|
|
|
3736
3737
|
jailBurst = [];
|
|
3737
3738
|
if (confirmedBurst.length < SCROLL_JAIL_EVENT_COUNT)
|
|
3738
3739
|
return;
|
|
3740
|
+
const pixelBurst = confirmedBurst.every(({ event }) => event.deltaMode === undefined || event.deltaMode === 0);
|
|
3741
|
+
const requestedPixels = confirmedBurst.reduce((sum, { event }) => sum + event.deltaY, 0);
|
|
3742
|
+
if (pixelBurst && Math.abs(requestedPixels) < SCROLL_JAIL_MIN_PIXEL_INTENT)
|
|
3743
|
+
return;
|
|
3739
3744
|
if (scrollActivityGeneration !== jailStartingScrollGeneration)
|
|
3740
3745
|
return;
|
|
3741
3746
|
if (!scroller.isConnected || scroller.scrollTop !== startingPosition)
|
|
@@ -3755,6 +3760,7 @@ var createBeacon = (options) => {
|
|
|
3755
3760
|
scroller: descriptor,
|
|
3756
3761
|
direction: scrollingDown ? "down" : "up",
|
|
3757
3762
|
wheelCount: confirmedBurst.length,
|
|
3763
|
+
requestedPixels: pixelBurst ? requestedPixels : undefined,
|
|
3758
3764
|
deltaX: event.deltaX,
|
|
3759
3765
|
deltaY: event.deltaY,
|
|
3760
3766
|
deltaMode: event.deltaMode,
|
|
@@ -5066,5 +5072,5 @@ export {
|
|
|
5066
5072
|
redactBeaconEvent
|
|
5067
5073
|
};
|
|
5068
5074
|
|
|
5069
|
-
//# debugId=
|
|
5075
|
+
//# debugId=B14B49B1244463DE64756E2164756E21
|
|
5070
5076
|
//# sourceMappingURL=index.js.map
|