@sentry-internal/replay
Advanced tools
Comparing version 8.27.0 to 8.28.0
@@ -83,2 +83,9 @@ import { ReplayNetworkRequestOrResponse } from './request'; | ||
nodeIds?: number[]; | ||
/** | ||
* The layout shifts of a CLS metric | ||
*/ | ||
attributions?: { | ||
value: number; | ||
sources?: number[]; | ||
}[]; | ||
} | ||
@@ -85,0 +92,0 @@ /** |
@@ -17,4 +17,14 @@ import { AllPerformanceEntry, AllPerformanceEntryData, ReplayContainer, ReplayPerformanceEntry, WebVitalData } from '../types'; | ||
*/ | ||
entries: PerformanceEntry[] | PerformanceEventTiming[]; | ||
entries: PerformanceEntry[] | LayoutShift[]; | ||
} | ||
interface LayoutShift extends PerformanceEntry { | ||
value: number; | ||
sources: LayoutShiftAttribution[]; | ||
hadRecentInput: boolean; | ||
} | ||
interface LayoutShiftAttribution { | ||
node?: Node; | ||
previousRect: DOMRectReadOnly; | ||
currentRect: DOMRectReadOnly; | ||
} | ||
/** | ||
@@ -46,2 +56,3 @@ * Handler creater for web vitals | ||
export declare function getInteractionToNextPaint(metric: Metric): ReplayPerformanceEntry<WebVitalData>; | ||
export {}; | ||
//# sourceMappingURL=createPerformanceEntries.d.ts.map |
@@ -83,2 +83,9 @@ import type { ReplayNetworkRequestOrResponse } from './request'; | ||
nodeIds?: number[]; | ||
/** | ||
* The layout shifts of a CLS metric | ||
*/ | ||
attributions?: { | ||
value: number; | ||
sources?: number[]; | ||
}[]; | ||
} | ||
@@ -85,0 +92,0 @@ /** |
@@ -17,4 +17,14 @@ import type { AllPerformanceEntry, AllPerformanceEntryData, ReplayContainer, ReplayPerformanceEntry, WebVitalData } from '../types'; | ||
*/ | ||
entries: PerformanceEntry[] | PerformanceEventTiming[]; | ||
entries: PerformanceEntry[] | LayoutShift[]; | ||
} | ||
interface LayoutShift extends PerformanceEntry { | ||
value: number; | ||
sources: LayoutShiftAttribution[]; | ||
hadRecentInput: boolean; | ||
} | ||
interface LayoutShiftAttribution { | ||
node?: Node; | ||
previousRect: DOMRectReadOnly; | ||
currentRect: DOMRectReadOnly; | ||
} | ||
/** | ||
@@ -46,2 +56,3 @@ * Handler creater for web vitals | ||
export declare function getInteractionToNextPaint(metric: Metric): ReplayPerformanceEntry<WebVitalData>; | ||
export {}; | ||
//# sourceMappingURL=createPerformanceEntries.d.ts.map |
{ | ||
"name": "@sentry-internal/replay", | ||
"version": "8.27.0", | ||
"version": "8.28.0", | ||
"description": "User replays for Sentry", | ||
@@ -71,5 +71,5 @@ "main": "build/npm/cjs/index.js", | ||
"@babel/core": "^7.17.5", | ||
"@sentry-internal/replay-worker": "8.27.0", | ||
"@sentry-internal/rrweb": "2.25.0", | ||
"@sentry-internal/rrweb-snapshot": "2.25.0", | ||
"@sentry-internal/replay-worker": "8.28.0", | ||
"@sentry-internal/rrweb": "2.26.0", | ||
"@sentry-internal/rrweb-snapshot": "2.26.0", | ||
"fflate": "^0.8.1", | ||
@@ -80,6 +80,6 @@ "jest-matcher-utils": "^29.0.0", | ||
"dependencies": { | ||
"@sentry-internal/browser-utils": "8.27.0", | ||
"@sentry/core": "8.27.0", | ||
"@sentry/types": "8.27.0", | ||
"@sentry/utils": "8.27.0" | ||
"@sentry-internal/browser-utils": "8.28.0", | ||
"@sentry/core": "8.28.0", | ||
"@sentry/types": "8.28.0", | ||
"@sentry/utils": "8.28.0" | ||
}, | ||
@@ -86,0 +86,0 @@ "engines": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3750795
21608
+ Added@sentry-internal/browser-utils@8.28.0(transitive)
+ Added@sentry/core@8.28.0(transitive)
+ Added@sentry/types@8.28.0(transitive)
+ Added@sentry/utils@8.28.0(transitive)
- Removed@sentry-internal/browser-utils@8.27.0(transitive)
- Removed@sentry/core@8.27.0(transitive)
- Removed@sentry/types@8.27.0(transitive)
- Removed@sentry/utils@8.27.0(transitive)
Updated@sentry/core@8.28.0
Updated@sentry/types@8.28.0
Updated@sentry/utils@8.28.0