@coralogix/browser 2.8.1 → 2.8.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,9 @@
1
+ ## 2.8.2 (2025-05-21)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - Omit the INP attribution property to reduce the log payload size.
6
+
1
7
  ## 2.8.1 (2025-05-19)
2
8
 
3
9
  ### 🩹 Fixes
package/index.esm2.js CHANGED
@@ -1599,7 +1599,7 @@ var CoralogixWebVitalsInstrumentation = /** @class */ (function (_super) {
1599
1599
  var metricData = metric.entries ? omit(metric, 'entries') : metric;
1600
1600
  metricData = omit(metricData, 'attribution.navigationEntry');
1601
1601
  if (metricData.name === 'INP') {
1602
- metricData = omit(metricData, 'attribution.interactionTargetElement');
1602
+ metricData = omit(metricData, 'attribution');
1603
1603
  }
1604
1604
  webVitalsSpan.setAttribute(CoralogixAttributes.EVENT_TYPE, CoralogixEventType.WEB_VITALS);
1605
1605
  // add core web vital attributes
@@ -4216,7 +4216,7 @@ function resolveUrlBlueprinters(urlBlueprinters) {
4216
4216
  return resolvedUrlBlueprinters;
4217
4217
  }
4218
4218
 
4219
- var SDK_VERSION = '2.8.1';
4219
+ var SDK_VERSION = '2.8.2';
4220
4220
 
4221
4221
  function shouldDropEvent(cxRumEvent, options) {
4222
4222
  if (isDocumentErrorWithoutMessage(cxRumEvent)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coralogix/browser",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "description": "Official Coralogix SDK for browsers",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Coralogix",
package/src/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.8.1";
1
+ export declare const SDK_VERSION = "2.8.2";