@appsignal/types
Advanced tools
Comparing version 2.1.0 to 2.1.1
# AppSignal types changelog | ||
## 2.1.1 | ||
- [9b7f5c3](https://github.com/appsignal/appsignal-javascript/commit/9b7f5c3aadf03937f9ea2738ccd558a3f93ae90c) patch - Tracer rootSpan does not return undefined anymore, but returns a NoopSpan instead. | ||
## 2.1.0 | ||
- [ec9e2ea](https://github.com/appsignal/appsignal-javascript/commit/ec9e2eaa1466fb4ddb92a4c0b53702435541ecb4) minor - Add root span support to tracer interface | ||
@@ -9,3 +9,3 @@ /// <reference types="node" /> | ||
currentSpan(): NodeSpan; | ||
rootSpan(): NodeSpan | undefined; | ||
rootSpan(): NodeSpan; | ||
addError(error: Error): NodeSpan | undefined; | ||
@@ -12,0 +12,0 @@ withSpan<T>(span: NodeSpan, fn: (s: NodeSpan) => T): T; |
@@ -9,3 +9,3 @@ /// <reference types="node" /> | ||
currentSpan(): NodeSpan; | ||
rootSpan(): NodeSpan | undefined; | ||
rootSpan(): NodeSpan; | ||
addError(error: Error): NodeSpan | undefined; | ||
@@ -12,0 +12,0 @@ withSpan<T>(span: NodeSpan, fn: (s: NodeSpan) => T): T; |
{ | ||
"name": "@appsignal/types", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"main": "dist/cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/esm/index.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
32232
0