@coralogix/browser 3.19.0 → 3.19.2

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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## 3.19.2 (2026-07-13)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - fingerprint the clickable ancestor, not the raw click target
6
+
7
+ ## 3.19.1 (2026-07-12)
8
+
9
+ ### 🩹 Fixes
10
+
11
+ - Type `sdkFetchPriority` with a locally-declared `SdkFetchPriority` alias instead of the DOM `RequestPriority`, so the SDK no longer fails to compile on TypeScript versions whose DOM lib predates `RequestPriority`
12
+
1
13
  ## 3.19.0 (2026-07-12)
2
14
 
3
15
  ### 🚀 Features
package/README.md CHANGED
@@ -896,6 +896,8 @@ CoralogixRum.init({
896
896
  });
897
897
  ```
898
898
 
899
+ > **Note:** The `priority` hint only works in Chromium browsers (Chrome/Edge 101+) and is a no-op elsewhere. We type this option with our own `SdkFetchPriority` alias instead of the DOM `RequestPriority` type, so it still compiles on older TypeScript versions (the SDK supports `>= 4.4.2`).
900
+
899
901
  ### Custom Measurement
900
902
 
901
903
  Custom measurement allows you to send numeric data to Coralogix for precise monitoring and analysis.
package/index.esm2.js CHANGED
@@ -2603,7 +2603,7 @@ var CoralogixUserInteractionInstrumentation = (function (_super) {
2603
2603
  var _b = eventTarget.getBoundingClientRect(), width = _b.width, height = _b.height;
2604
2604
  span.setAttribute(CoralogixAttributes.ELEMENT_WIDTH, width);
2605
2605
  span.setAttribute(CoralogixAttributes.ELEMENT_HEIGHT, height);
2606
- var fingerprint = getElementFingerprint(eventTarget);
2606
+ var fingerprint = getElementFingerprint(clickableElement !== null && clickableElement !== void 0 ? clickableElement : eventTarget);
2607
2607
  if (fingerprint) {
2608
2608
  span.setAttribute(CoralogixAttributes.ELEMENT_FINGERPRINT, fingerprint);
2609
2609
  var isRageClick = clickableElement
@@ -5039,7 +5039,7 @@ function resolveUrlBlueprinters(urlBlueprinters) {
5039
5039
  return resolvedUrlBlueprinters;
5040
5040
  }
5041
5041
 
5042
- var SDK_VERSION = '3.19.0';
5042
+ var SDK_VERSION = '3.19.2';
5043
5043
 
5044
5044
  function shouldDropEvent(cxRumEvent, options) {
5045
5045
  if (isDocumentErrorWithoutMessage(cxRumEvent)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coralogix/browser",
3
- "version": "3.19.0",
3
+ "version": "3.19.2",
4
4
  "description": "Official Coralogix SDK for browsers",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Coralogix",
package/src/types.d.ts CHANGED
@@ -57,6 +57,7 @@ export declare enum PerformanceTypes {
57
57
  }
58
58
  export type CustomMeasurementData = number;
59
59
  export type WebVitalsRating = 'good' | 'needs-improvement' | 'poor';
60
+ export type SdkFetchPriority = 'high' | 'low' | 'auto';
60
61
  export type CoralogixDomain = keyof typeof CoralogixDomainsApiUrlMap;
61
62
  export type CoralogixRumLabels = Record<string, any>;
62
63
  export interface UserContextConfig {
@@ -171,7 +172,7 @@ export interface CoralogixBrowserSdkConfig {
171
172
  tracesExporter?: (data: TraceExporterData) => void;
172
173
  otelConfig?: OtelConfig;
173
174
  runOutsideAngularZone?: boolean;
174
- sdkFetchPriority?: RequestPriority;
175
+ sdkFetchPriority?: SdkFetchPriority;
175
176
  }
176
177
  export interface CoralogixOtelWebType extends SendLog {
177
178
  init: (options: CoralogixBrowserSdkConfig) => void;
package/src/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.19.0";
1
+ export declare const SDK_VERSION = "3.19.2";