@bugsnag/core
Advanced tools
Comparing version 7.25.0-alpha.0 to 7.25.0
@@ -60,4 +60,4 @@ const ErrorStackParser = require('./lib/error-stack-parser') | ||
setTraceCorrelation (traceId, spanId) { | ||
if (traceId != null) { | ||
this._correlation = { traceId, spanId } | ||
if (typeof traceId === 'string') { | ||
this._correlation = { traceId, ...typeof spanId === 'string' ? { spanId } : { } } | ||
} | ||
@@ -64,0 +64,0 @@ } |
{ | ||
"name": "@bugsnag/core", | ||
"main": "index.js", | ||
"version": "7.25.0-alpha.0", | ||
"version": "7.25.0", | ||
"types": "types/index.d.ts", | ||
@@ -29,3 +29,3 @@ "description": "Core classes and utilities for Bugsnag notifiers", | ||
}, | ||
"gitHead": "5617661e40cd3dd8e6d449153c77ba276357cb47" | ||
"gitHead": "bf1721174d2245cc6d7537e9dc197e6c90309616" | ||
} |
@@ -58,3 +58,3 @@ import Breadcrumb from './breadcrumb' | ||
// trace correlation | ||
public setTraceCorrelation(traceId: string, spanId: string): void | ||
public setTraceCorrelation(traceId: string, spanId?: string): void | ||
} | ||
@@ -61,0 +61,0 @@ |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
87198
0