@sentry-internal/browser-utils
Advanced tools
Comparing version 8.0.0-rc.1 to 8.0.0-rc.2
@@ -115,8 +115,13 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
function instrumentCls() { | ||
return getCLS.onCLS(metric => { | ||
triggerHandlers('cls', { | ||
metric, | ||
}); | ||
_previousCls = metric; | ||
}); | ||
return getCLS.onCLS( | ||
metric => { | ||
triggerHandlers('cls', { | ||
metric, | ||
}); | ||
_previousCls = metric; | ||
}, | ||
// We want the callback to be called whenever the CLS value updates. | ||
// By default, the callback is only called when the tab goes to the background. | ||
{ reportAllChanges: true }, | ||
); | ||
} | ||
@@ -123,0 +128,0 @@ |
@@ -113,8 +113,13 @@ import { logger, getFunctionName } from '@sentry/utils'; | ||
function instrumentCls() { | ||
return onCLS(metric => { | ||
triggerHandlers('cls', { | ||
metric, | ||
}); | ||
_previousCls = metric; | ||
}); | ||
return onCLS( | ||
metric => { | ||
triggerHandlers('cls', { | ||
metric, | ||
}); | ||
_previousCls = metric; | ||
}, | ||
// We want the callback to be called whenever the CLS value updates. | ||
// By default, the callback is only called when the tab goes to the background. | ||
{ reportAllChanges: true }, | ||
); | ||
} | ||
@@ -121,0 +126,0 @@ |
{ | ||
"name": "@sentry-internal/browser-utils", | ||
"version": "8.0.0-rc.1", | ||
"version": "8.0.0-rc.2", | ||
"description": "Browser Utilities for all Sentry JavaScript SDKs", | ||
@@ -45,7 +45,7 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/core": "8.0.0-rc.1", | ||
"@sentry/types": "8.0.0-rc.1", | ||
"@sentry/utils": "8.0.0-rc.1" | ||
"@sentry/core": "8.0.0-rc.2", | ||
"@sentry/types": "8.0.0-rc.2", | ||
"@sentry/utils": "8.0.0-rc.2" | ||
}, | ||
"sideEffects": false | ||
} |
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
612196
6401
+ Added@sentry/core@8.0.0-rc.2(transitive)
+ Added@sentry/types@8.0.0-rc.2(transitive)
+ Added@sentry/utils@8.0.0-rc.2(transitive)
- Removed@sentry/core@8.0.0-rc.1(transitive)
- Removed@sentry/types@8.0.0-rc.1(transitive)
- Removed@sentry/utils@8.0.0-rc.1(transitive)
Updated@sentry/core@8.0.0-rc.2
Updated@sentry/types@8.0.0-rc.2
Updated@sentry/utils@8.0.0-rc.2