@absolutejs/beacon 0.7.0-beta.10 → 0.7.0-beta.11
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 +47 -33
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +3 -3
- 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.11 — 2026-09-27
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **Do not promote presentation-only Event Timing waits when every overlapping animation frame explicitly reports zero blocking and no scripts. Preserve incidents with positive blocking, script activity, missing attribution, long handlers or meaningful input delay; Web Vitals collection is unchanged.** (`createBeacon`, `BEACON_SDK_VERSION`)
|
|
14
|
+
|
|
9
15
|
## 0.7.0-beta.10 — 2026-09-27
|
|
10
16
|
|
|
11
17
|
### Fixed
|
package/changelog.json
CHANGED
|
@@ -1,35 +1,49 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
2
|
+
"contract": 1,
|
|
3
|
+
"name": "@absolutejs/beacon",
|
|
4
|
+
"releases": [
|
|
5
|
+
{
|
|
6
|
+
"changes": [
|
|
7
|
+
{
|
|
8
|
+
"kind": "fixed",
|
|
9
|
+
"summary": "Do not promote presentation-only Event Timing waits when every overlapping animation frame explicitly reports zero blocking and no scripts. Preserve incidents with positive blocking, script activity, missing attribution, long handlers or meaningful input delay; Web Vitals collection is unchanged.",
|
|
10
|
+
"symbols": [
|
|
11
|
+
"createBeacon",
|
|
12
|
+
"BEACON_SDK_VERSION"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"date": "2026-09-27",
|
|
17
|
+
"version": "0.7.0-beta.11"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"changes": [
|
|
21
|
+
{
|
|
22
|
+
"kind": "fixed",
|
|
23
|
+
"summary": "Ignore wheel events cancelled by later handlers when detecting scroll jail, and capture bounded scroll geometry, overflow policy, direction and modal ownership for genuine immobility without changing issue grouping.",
|
|
24
|
+
"symbols": [
|
|
25
|
+
"createBeacon",
|
|
26
|
+
"BEACON_SDK_VERSION"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"date": "2026-09-27",
|
|
31
|
+
"version": "0.7.0-beta.10"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"changes": [
|
|
35
|
+
{
|
|
36
|
+
"kind": "fixed",
|
|
37
|
+
"summary": "Exclude known 1Password notification covers and retain request origins in network-failure diagnostics without credentials or query strings. Same-origin grouping remains stable across environments. Keep layout pixel measurements out of fingerprints and include geometry and sticky/fixed ancestor context in collision and occlusion reports. Read only browser-exposed XHR response headers to avoid unsafe-header console errors while preserving available trace correlation.",
|
|
38
|
+
"symbols": [
|
|
39
|
+
"createBeacon",
|
|
40
|
+
"BeaconNetworkFailure",
|
|
41
|
+
"BEACON_SDK_VERSION"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"date": "2026-09-27",
|
|
46
|
+
"version": "0.7.0-beta.9"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
35
49
|
}
|
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.11";
|
|
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
|
@@ -199,7 +199,7 @@ var consumeEarlyLayoutShiftBuffer = () => {
|
|
|
199
199
|
|
|
200
200
|
// src/index.ts
|
|
201
201
|
var BEACON_TRACE_HEADER = "x-absolute-trace-id";
|
|
202
|
-
var BEACON_SDK_VERSION = "0.7.0-beta.
|
|
202
|
+
var BEACON_SDK_VERSION = "0.7.0-beta.11";
|
|
203
203
|
var inBrowser = () => typeof window !== "undefined";
|
|
204
204
|
var newId = () => {
|
|
205
205
|
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
@@ -3192,7 +3192,9 @@ var createBeacon = (options) => {
|
|
|
3192
3192
|
recordBlockingFrames(blockingObserver.takeRecords());
|
|
3193
3193
|
}
|
|
3194
3194
|
const interactionEnd = entry.startTime + entry.duration;
|
|
3195
|
-
const
|
|
3195
|
+
const overlappingFrames = blockingFrames.filter((frame) => frame.startTime < interactionEnd && frame.startTime + frame.duration > entry.startTime);
|
|
3196
|
+
const onlyIdleFrames = overlappingFrames.length > 0 && overlappingFrames.every((frame) => frame.entryType === "long-animation-frame" && frame.blockingDuration === 0 && Array.isArray(frame.scripts) && frame.scripts.length === 0);
|
|
3197
|
+
const overlappingFrame = overlappingFrames.sort((left, right) => {
|
|
3196
3198
|
const leftBlocking = left.blockingDuration ?? Math.max(0, left.duration - LONG_TASK_MS);
|
|
3197
3199
|
const rightBlocking = right.blockingDuration ?? Math.max(0, right.duration - LONG_TASK_MS);
|
|
3198
3200
|
return rightBlocking - leftBlocking;
|
|
@@ -3202,7 +3204,7 @@ var createBeacon = (options) => {
|
|
|
3202
3204
|
const processingDurationMs = hasPhaseTiming ? Math.round(Math.max(0, entry.processingEnd - entry.processingStart)) : undefined;
|
|
3203
3205
|
const presentationDelayMs = hasPhaseTiming ? Math.round(Math.max(0, interactionEnd - entry.processingEnd)) : undefined;
|
|
3204
3206
|
const inputDelayMs = hasPhaseTiming ? Math.round(Math.max(0, entry.processingStart - entry.startTime)) : undefined;
|
|
3205
|
-
if (overlappingFrame === undefined && processingDurationMs !== undefined && processingDurationMs <= 16 && presentationDelayMs !== undefined && presentationDelayMs >= minimum)
|
|
3207
|
+
if ((overlappingFrame === undefined || onlyIdleFrames && inputDelayMs !== undefined && inputDelayMs < minimum) && processingDurationMs !== undefined && processingDurationMs <= 16 && presentationDelayMs !== undefined && presentationDelayMs >= minimum)
|
|
3206
3208
|
continue;
|
|
3207
3209
|
if (blockingObserver !== undefined && overlappingFrame === undefined && inputDelayMs !== undefined && inputDelayMs >= minimum && processingDurationMs !== undefined && processingDurationMs <= 16 && presentationDelayMs !== undefined && presentationDelayMs < minimum)
|
|
3208
3210
|
continue;
|
|
@@ -4916,5 +4918,5 @@ export {
|
|
|
4916
4918
|
redactBeaconEvent
|
|
4917
4919
|
};
|
|
4918
4920
|
|
|
4919
|
-
//# debugId=
|
|
4921
|
+
//# debugId=70E392D07533AB9164756E2164756E21
|
|
4920
4922
|
//# sourceMappingURL=index.js.map
|