@absolutejs/beacon 0.7.0-beta.11 → 0.7.0-beta.13
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 +28 -0
- package/dist/contracts.js +1 -9
- package/dist/contracts.js.map +2 -2
- package/dist/early.js +1 -9
- package/dist/early.js.map +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +191 -166
- package/dist/index.js.map +3 -3
- package/dist/manifest.js +1 -9
- package/dist/manifest.js.map +2 -2
- package/dist/policy.js +1 -9
- package/dist/policy.js.map +2 -2
- 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.13 — 2026-09-30
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **Do not report a service worker as a failed installation when a newer release replaced it: one that finished installing and then waited, or one cut off mid-install by a newer worker. A worker that fails its own install still reports.** (`createBeacon`, `BEACON_SDK_VERSION`)
|
|
14
|
+
|
|
15
|
+
## 0.7.0-beta.12 — 2026-09-27
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- **Stop TBT observation after its measurement window and clean up on close; ignore late vital delivery.** (`createBeacon`, `BEACON_SDK_VERSION`)
|
|
20
|
+
|
|
9
21
|
## 0.7.0-beta.11 — 2026-09-27
|
|
10
22
|
|
|
11
23
|
### Fixed
|
package/changelog.json
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
"contract": 1,
|
|
3
3
|
"name": "@absolutejs/beacon",
|
|
4
4
|
"releases": [
|
|
5
|
+
{
|
|
6
|
+
"changes": [
|
|
7
|
+
{
|
|
8
|
+
"kind": "fixed",
|
|
9
|
+
"summary": "Do not report a service worker as a failed installation when a newer release replaced it: one that finished installing and then waited, or one cut off mid-install by a newer worker. A worker that fails its own install still reports.",
|
|
10
|
+
"symbols": [
|
|
11
|
+
"createBeacon",
|
|
12
|
+
"BEACON_SDK_VERSION"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"date": "2026-09-30",
|
|
17
|
+
"version": "0.7.0-beta.13"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"changes": [
|
|
21
|
+
{
|
|
22
|
+
"kind": "fixed",
|
|
23
|
+
"summary": "Stop TBT observation after its measurement window and clean up on close; ignore late vital delivery.",
|
|
24
|
+
"symbols": [
|
|
25
|
+
"createBeacon",
|
|
26
|
+
"BEACON_SDK_VERSION"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"date": "2026-09-27",
|
|
31
|
+
"version": "0.7.0-beta.12"
|
|
32
|
+
},
|
|
5
33
|
{
|
|
6
34
|
"changes": [
|
|
7
35
|
{
|
package/dist/contracts.js
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
2
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
3
|
-
}) : x)(function(x) {
|
|
4
|
-
if (typeof require !== "undefined")
|
|
5
|
-
return require.apply(this, arguments);
|
|
6
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
7
|
-
});
|
|
8
|
-
|
|
9
1
|
// src/contracts.ts
|
|
10
2
|
var BEACON_SIGNAL = {
|
|
11
3
|
AUTH_FAILURE_STORM: "auth_failure_storm",
|
|
@@ -81,5 +73,5 @@ export {
|
|
|
81
73
|
BEACON_SIGNAL
|
|
82
74
|
};
|
|
83
75
|
|
|
84
|
-
//# debugId=
|
|
76
|
+
//# debugId=45FFA00510BD1E0C64756E2164756E21
|
|
85
77
|
//# sourceMappingURL=contracts.js.map
|
package/dist/contracts.js.map
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"sourcesContent": [
|
|
5
5
|
"/** Stable names for Beacon's built-in UX and health signals. */\nexport const BEACON_SIGNAL = {\n AUTH_FAILURE_STORM: \"auth_failure_storm\",\n BROWSER_INTERVENTION: \"browser_intervention\",\n BROWSER_POLICY_VIOLATION: \"browser_policy_violation\",\n BFCACHE_BLOCKED: \"bfcache_blocked\",\n CAPABILITY_FAILURE: \"capability_failure\",\n BLANK_APP_ROOT: \"blank_app_root\",\n CONSOLE_ERROR: \"console_error\",\n CONTROL_COLLISION: \"control_collision\",\n CSP_VIOLATION: \"csp_violation\",\n CLIPBOARD_FAILURE: \"clipboard_failure\",\n DEAD_CLICK: \"dead_click\",\n DISRUPTIVE_LAYOUT_SHIFT: \"disruptive_layout_shift\",\n DOCUMENT_DISCARDED: \"document_discarded\",\n ERROR_CLICK: \"error_click\",\n FETCH_FAILED: \"fetch_failed\",\n FOCUS_LOST: \"focus_lost\",\n FONT_FAILURE: \"font_failure\",\n FORM_FRUSTRATION: \"form_frustration\",\n FORM_ABANDONMENT: \"form_abandonment\",\n FOCUSED_CONTROL_OFFSCREEN: \"focused_control_offscreen\",\n HTTP_5XX: \"http_5xx\",\n HTTP_RESPONSE_FAILURE: \"http_response_failure\",\n INVISIBLE_TEXT: \"invisible_text\",\n EMBEDDED_CONTENT_STALLED: \"embedded_content_stalled\",\n LAYOUT_OVERFLOW: \"layout_overflow\",\n MAIN_THREAD_STALL: \"main_thread_stall\",\n MEDIA_PLAYBACK_FAILED: \"media_playback_failed\",\n MEDIA_PLAYBACK_STALLED: \"media_playback_stalled\",\n MODAL_FOCUS_ESCAPE: \"modal_focus_escape\",\n OCCLUDED_CONTROL: \"occluded_control\",\n RAGE_CLICK: \"rage_click\",\n RATE_LIMITED: \"rate_limited\",\n NAVIGATION_STALLED: \"navigation_stalled\",\n RELOAD_LOOP: \"reload_loop\",\n REQUEST_STORM: \"request_storm\",\n SEMANTIC_RESPONSE_FAILURE: \"semantic_response_failure\",\n SCROLL_JAIL: \"scroll_jail\",\n SLOW_RESPONSE: \"slow_response\",\n SLOW_RESOURCE: \"slow_resource\",\n SLOW_INTERACTION: \"slow_interaction\",\n SOCKET_ABNORMAL_CLOSE: \"socket_abnormal_close\",\n SOCKET_FLAPPING: \"socket_flapping\",\n SSE_FLAPPING: \"sse_flapping\",\n STALE_RELEASE: \"stale_release\",\n STALLED_STREAM: \"stalled_stream\",\n STUCK_LOADING: \"stuck_loading\",\n THEME_MISMATCH: \"theme_mismatch\",\n THRASHED_CURSOR: \"thrashed_cursor\",\n STORAGE_FAILURE: \"storage_failure\",\n WEBGL_CONTEXT_LOST: \"webgl_context_lost\",\n SERVICE_WORKER_FAILURE: \"service_worker_failure\",\n WORKER_FAILURE: \"worker_failure\",\n} as const;\n\nexport type BeaconSignal = (typeof BEACON_SIGNAL)[keyof typeof BEACON_SIGNAL];\n\n/** Stable DOM attributes understood by Beacon's instrumentation. */\nexport const BEACON_ATTRIBUTE = {\n APP_ROOT: \"data-beacon-app-root\",\n CONTROL_GROUP: \"data-beacon-control-group\",\n DEAD_CLICK: \"data-beacon-dead-click\",\n NAME: \"data-beacon-name\",\n EMBED: \"data-beacon-embed\",\n LOADING: \"data-beacon-loading\",\n LOADING_TIMEOUT: \"data-beacon-loading-timeout\",\n FORM: \"data-beacon-form\",\n /** `=\"allow\"` exempts an intentional dynamic subtree from layout-shift issues. */\n LAYOUT_SHIFT: \"data-beacon-layout-shift\",\n MEDIA: \"data-beacon-media\",\n OVERFLOW: \"data-beacon-overflow\",\n SCAN: \"data-beacon-scan\",\n THEME: \"data-beacon-theme\",\n} as const;\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": "
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": ";AACO,IAAM,gBAAgB;AAAA,EAC3B,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,0BAA0B;AAAA,EAC1B,iBAAiB;A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|
9
9
|
"names": []
|
|
10
10
|
}
|
package/dist/early.js
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
2
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
3
|
-
}) : x)(function(x) {
|
|
4
|
-
if (typeof require !== "undefined")
|
|
5
|
-
return require.apply(this, arguments);
|
|
6
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
7
|
-
});
|
|
8
|
-
|
|
9
1
|
// src/early.ts
|
|
10
2
|
var HISTORY_LIMIT = 16;
|
|
11
3
|
var ENTRY_LIMIT = 50;
|
|
@@ -130,5 +122,5 @@ export {
|
|
|
130
122
|
installEarlyLayoutShiftBuffer
|
|
131
123
|
};
|
|
132
124
|
|
|
133
|
-
//# debugId=
|
|
125
|
+
//# debugId=FBC94D8BDFC5AD8064756E2164756E21
|
|
134
126
|
//# sourceMappingURL=early.js.map
|
package/dist/early.js.map
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"sourcesContent": [
|
|
5
5
|
"/** Lightweight pre-hydration layout-shift recorder. */\n\nexport type EarlyLayoutShiftRect = {\n bottom: number;\n height: number;\n left: number;\n right: number;\n top: number;\n width: number;\n x: number;\n y: number;\n};\n\nexport type EarlyLayoutShiftViewport = {\n documentHeight: number;\n documentWidth: number;\n innerHeight: number;\n innerWidth: number;\n visualHeight?: number;\n visualOffsetLeft?: number;\n visualOffsetTop?: number;\n visualScale?: number;\n visualWidth?: number;\n};\n\nexport type EarlyLayoutShiftSource = {\n currentRect?: EarlyLayoutShiftRect;\n node?: Node;\n previousRect?: EarlyLayoutShiftRect;\n target: string;\n};\n\nexport type EarlyLayoutShiftEntry = {\n documentReadyState: DocumentReadyState;\n hadRecentInput: boolean;\n observedAt: number;\n sources: EarlyLayoutShiftSource[];\n startTime: number;\n value: number;\n viewport: EarlyLayoutShiftViewport;\n};\n\nexport type EarlyLayoutShiftBuffer = {\n entries: EarlyLayoutShiftEntry[];\n interactionTimes: number[];\n observerStartedAt: number;\n resizeTimes: number[];\n};\n\ntype LayoutShiftSourceLike = {\n currentRect?: DOMRectReadOnly;\n node?: Node | null;\n previousRect?: DOMRectReadOnly;\n};\ntype LayoutShiftEntryLike = PerformanceEntry & {\n hadRecentInput?: boolean;\n sources?: LayoutShiftSourceLike[];\n value?: number;\n};\ntype InstalledEarlyLayoutShiftBuffer = EarlyLayoutShiftBuffer & {\n cleanup: () => void;\n observer: PerformanceObserver;\n recordEntries: (entries: PerformanceEntry[]) => void;\n};\n\ndeclare global {\n interface Window {\n __absoluteBeaconEarlyLayoutShift?: InstalledEarlyLayoutShiftBuffer;\n }\n}\n\nconst HISTORY_LIMIT = 16;\nconst ENTRY_LIMIT = 50;\nconst now = (): number =>\n typeof performance === \"undefined\" ? 0 : performance.now();\n\nconst describeNode = (node: Node | null | undefined): string => {\n if (!(node instanceof Element)) return \"unknown\";\n const id = node.id === \"\" ? \"\" : `#${node.id}`;\n const classes = [...node.classList]\n .slice(0, 3)\n .map((name) => `.${name}`)\n .join(\"\");\n return `${node.tagName.toLowerCase()}${id}${classes}`;\n};\n\nconst copyRect = (\n rect: DOMRectReadOnly | undefined,\n): EarlyLayoutShiftRect | undefined =>\n rect === undefined\n ? undefined\n : {\n bottom: rect.bottom,\n height: rect.height,\n left: rect.left,\n right: rect.right,\n top: rect.top,\n width: rect.width,\n x: rect.x,\n y: rect.y,\n };\n\nconst viewportSnapshot = (): EarlyLayoutShiftViewport => {\n const visual = window.visualViewport;\n return {\n documentHeight: document.documentElement.scrollHeight,\n documentWidth: document.documentElement.scrollWidth,\n innerHeight: window.innerHeight,\n innerWidth: window.innerWidth,\n ...(visual == null\n ? {}\n : {\n visualHeight: visual.height,\n visualOffsetLeft: visual.offsetLeft,\n visualOffsetTop: visual.offsetTop,\n visualScale: visual.scale,\n visualWidth: visual.width,\n }),\n };\n};\n\nconst appendLimited = (values: number[], value: number): void => {\n values.push(value);\n if (values.length > HISTORY_LIMIT)\n values.splice(0, values.length - HISTORY_LIMIT);\n};\n\n/** Install once from the application's synchronous entry module. SSR-safe. */\nexport const installEarlyLayoutShiftBuffer = (): void => {\n if (\n typeof window === \"undefined\" ||\n typeof document === \"undefined\" ||\n typeof PerformanceObserver === \"undefined\" ||\n window.__absoluteBeaconEarlyLayoutShift !== undefined\n )\n return;\n\n const interactionTimes: number[] = [];\n const resizeTimes: number[] = [];\n const entries: EarlyLayoutShiftEntry[] = [];\n const recordInteraction = (): void => appendLimited(interactionTimes, now());\n const recordResize = (): void => appendLimited(resizeTimes, now());\n const recordEntries = (rawEntries: PerformanceEntry[]): void => {\n for (const raw of rawEntries) {\n const entry = raw as LayoutShiftEntryLike;\n entries.push({\n documentReadyState: document.readyState,\n hadRecentInput: entry.hadRecentInput === true,\n observedAt: now(),\n sources: (entry.sources ?? []).slice(0, 5).map((source) => ({\n ...(source.currentRect === undefined\n ? {}\n : { currentRect: copyRect(source.currentRect) }),\n ...(source.node === undefined || source.node === null\n ? {}\n : { node: source.node }),\n ...(source.previousRect === undefined\n ? {}\n : { previousRect: copyRect(source.previousRect) }),\n target: describeNode(source.node),\n })),\n startTime: entry.startTime,\n value: entry.value ?? 0,\n viewport: viewportSnapshot(),\n });\n }\n if (entries.length > ENTRY_LIMIT)\n entries.splice(0, entries.length - ENTRY_LIMIT);\n };\n\n try {\n const observerStartedAt = now();\n const observer = new PerformanceObserver((list) =>\n recordEntries(list.getEntries()),\n );\n const interactionEvents = [\n \"click\",\n \"keydown\",\n \"pointerdown\",\n \"submit\",\n ] as const;\n observer.observe({ buffered: true, type: \"layout-shift\" });\n for (const event of interactionEvents)\n window.addEventListener(event, recordInteraction, true);\n window.addEventListener(\"resize\", recordResize);\n window.visualViewport?.addEventListener(\"resize\", recordResize);\n const cleanup = (): void => {\n for (const event of interactionEvents)\n window.removeEventListener(event, recordInteraction, true);\n window.removeEventListener(\"resize\", recordResize);\n window.visualViewport?.removeEventListener(\"resize\", recordResize);\n };\n window.__absoluteBeaconEarlyLayoutShift = {\n cleanup,\n entries,\n interactionTimes,\n observer,\n observerStartedAt,\n recordEntries,\n resizeTimes,\n };\n } catch {\n // Unsupported browsers must not have their startup affected by telemetry.\n }\n};\n\n/** Consume and remove the pre-hydration recorder, if one was installed. */\nexport const consumeEarlyLayoutShiftBuffer = ():\n EarlyLayoutShiftBuffer | undefined => {\n if (typeof window === \"undefined\") return undefined;\n const installed = window.__absoluteBeaconEarlyLayoutShift;\n if (installed === undefined) return undefined;\n installed.recordEntries(installed.observer.takeRecords());\n installed.observer.disconnect();\n installed.cleanup();\n delete window.__absoluteBeaconEarlyLayoutShift;\n return {\n entries: installed.entries,\n interactionTimes: installed.interactionTimes,\n observerStartedAt: installed.observerStartedAt,\n resizeTimes: installed.resizeTimes,\n };\n};\n"
|
|
6
6
|
],
|
|
7
|
-
"mappings": "
|
|
8
|
-
"debugId": "
|
|
7
|
+
"mappings": ";AAuEA,IAAM,gBAAgB;AACtB,IAAM,cAAc;AACpB,IAAM,MAAM,MACV,OAAO,gBAAgB,cAAc,IAAI,YAAY,IAAI;AAE3D,IAAM,eAAe,CAAC,SAA0C;AAAA,EAC9D,IAAI,EAAE,gBAAgB;AAAA,IAAU,OAAO;AAAA,EACvC,MAAM,KAAK,KAAK,OAAO,KAAK,KAAK,IAAI,KAAK;AAAA,EAC1C,MAAM,UAAU,CAAC,GAAG,KAAK,SAAS,EAC/B,MAAM,GAAG,CAAC,EACV,IAAI,CAAC,SAAS,IAAI,MAAM,EACxB,KAAK,EAAE;AAAA,EACV,OAAO,GAAG,KAAK,QAAQ,YAAY,IAAI,KAAK;AAAA;AAG9C,IAAM,WAAW,CACf,SAEA,SAAS,YACL,YACA;AAAA,EACE,QAAQ,KAAK;AAAA,EACb,QAAQ,KAAK;AAAA,EACb,MAAM,KAAK;AAAA,EACX,OAAO,KAAK;AAAA,EACZ,KAAK,KAAK;AAAA,EACV,OAAO,KA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IACA,MAAM;AAAA;AAMH,IAAM,gCAAgC,MACL;AAAA,EACtC,IAAI,OAAO,WAAW;AAAA,IAAa;AAAA,EACnC,MAAM,YAAY,OAAO;AAAA,EACzB,IAAI,cAAc;AAAA,IAAW;AAAA,EAC7B,UAAU,cAAc,UAAU,SAAS,YAAY,CAAC;AAAA,EACxD,UAAU,SAAS,WAAW;AAAA,EAC9B,UAAU,QAAQ;AAAA,EAClB,OAAO,OAAO;AAAA,EACd,OAAO;AAAA,IACL,SAAS,UAAU;AAAA,IACnB,kBAAkB,UAAU;AAAA,IAC5B,mBAAmB,UAAU;AAAA,IAC7B,aAAa,UAAU;AAAA,EACzB;AAAA;",
|
|
8
|
+
"debugId": "FBC94D8BDFC5AD8064756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
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.13";
|
|
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;
|