Comparing version 0.1.2 to 0.1.3
// generated by genversion | ||
module.exports = '0.1.2' | ||
module.exports = '0.1.3' |
{ | ||
"name": "dd-trace", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Datadog APM tracing client for JavaScript (experimental)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -22,2 +22,6 @@ 'use strict' | ||
extract (carrier) { | ||
if (!carrier[traceKey] || !carrier[spanKey]) { | ||
return null | ||
} | ||
const baggageItems = {} | ||
@@ -24,0 +28,0 @@ |
@@ -72,3 +72,10 @@ 'use strict' | ||
}) | ||
it('should return null if the carrier does not contain a trace', () => { | ||
const carrier = {} | ||
const spanContext = propagator.extract(carrier) | ||
expect(spanContext).to.equal(null) | ||
}) | ||
}) | ||
}) |
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
117859
3447