@bugsnag/browser-performance
Advanced tools
Comparing version 2.9.1 to 2.10.0
@@ -43,2 +43,3 @@ import { isObject, isString, coreSpanOptionSchema } from '@bugsnag/core-performance'; | ||
id: '', | ||
name: '', | ||
traceId: '', | ||
@@ -70,6 +71,15 @@ samplingRate: 0, | ||
return { | ||
id: span.id, | ||
traceId: span.traceId, | ||
get id() { | ||
return span.id; | ||
}, | ||
get traceId() { | ||
return span.traceId; | ||
}, | ||
get samplingRate() { | ||
return span.samplingRate; | ||
}, | ||
get name() { | ||
return span.name; | ||
}, | ||
isValid: span.isValid, | ||
samplingRate: span.samplingRate, | ||
setAttribute: span.setAttribute, | ||
@@ -76,0 +86,0 @@ end: (endTimeOrOptions) => { |
@@ -8,3 +8,3 @@ import cuid from '@bugsnag/cuid'; | ||
return function resourceAttributesSource(config) { | ||
const attributes = new ResourceAttributes(config.releaseStage, config.appVersion, config.serviceName, 'bugsnag.performance.browser', '2.9.1'); | ||
const attributes = new ResourceAttributes(config.releaseStage, config.appVersion, config.serviceName, 'bugsnag.performance.browser', '2.10.0', config.logger); | ||
attributes.set('browser.user_agent', navigator.userAgent); | ||
@@ -11,0 +11,0 @@ // chromium only |
{ | ||
"name": "@bugsnag/browser-performance", | ||
"version": "2.9.1", | ||
"version": "2.10.0", | ||
"description": "BugSnag performance monitoring for browsers", | ||
@@ -24,6 +24,6 @@ "homepage": "https://www.bugsnag.com/", | ||
"dependencies": { | ||
"@bugsnag/core-performance": "^2.9.1", | ||
"@bugsnag/core-performance": "^2.10.0", | ||
"@bugsnag/cuid": "^3.1.1", | ||
"@bugsnag/delivery-fetch-performance": "^2.9.1", | ||
"@bugsnag/request-tracker-performance": "^2.9.1" | ||
"@bugsnag/delivery-fetch-performance": "^2.10.0", | ||
"@bugsnag/request-tracker-performance": "^2.10.0" | ||
}, | ||
@@ -39,3 +39,3 @@ "devDependencies": { | ||
], | ||
"gitHead": "623bab61eeea175e8a1f3469c420a3ebaab27d0d" | ||
"gitHead": "6bf8145b62dc525c96884d2bcebaca2e168da198" | ||
} |
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
84555
1446