@appsignal/types
Advanced tools
Comparing version 2.0.5 to 2.1.0
@@ -9,2 +9,4 @@ /// <reference types="node" /> | ||
currentSpan(): NodeSpan; | ||
rootSpan(): NodeSpan | undefined; | ||
addError(error: Error): NodeSpan | undefined; | ||
withSpan<T>(span: NodeSpan, fn: (s: NodeSpan) => T): T; | ||
@@ -11,0 +13,0 @@ wrap<T>(fn: Func<T>): Func<T>; |
@@ -9,2 +9,4 @@ /// <reference types="node" /> | ||
currentSpan(): NodeSpan; | ||
rootSpan(): NodeSpan | undefined; | ||
addError(error: Error): NodeSpan | undefined; | ||
withSpan<T>(span: NodeSpan, fn: (s: NodeSpan) => T): T; | ||
@@ -11,0 +13,0 @@ wrap<T>(fn: Func<T>): Func<T>; |
{ | ||
"name": "@appsignal/types", | ||
"version": "2.0.5", | ||
"version": "2.1.0", | ||
"main": "dist/cjs/index.js", | ||
@@ -25,4 +25,3 @@ "module": "dist/esm/index.js", | ||
}, | ||
"sideEffects": false, | ||
"gitHead": "2366aaa76dde1a81c91d404d81d978c41282aa9b" | ||
"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
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
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
335
32065