@appsignal/types
Advanced tools
Comparing version 2.1.3 to 2.1.4
# AppSignal types changelog | ||
## 2.1.4 | ||
- [3d03c0b](https://github.com/appsignal/appsignal-javascript/commit/3d03c0b6b7490d3d574dbfdaf190045d9983bb74) patch - Add sendError helper to Tracer | ||
The sendError() function gives the ability to track errors without | ||
the need of a root span present in the given context. | ||
## 2.1.3 | ||
@@ -4,0 +11,0 @@ |
@@ -11,2 +11,3 @@ /// <reference types="node" /> | ||
setError(error: Error): NodeSpan | undefined; | ||
sendError<T>(error: Error, fn: (s: NodeSpan) => T): void; | ||
withSpan<T>(span: NodeSpan, fn: (s: NodeSpan) => T): T; | ||
@@ -13,0 +14,0 @@ wrap<T>(fn: Func<T>): Func<T>; |
@@ -11,2 +11,3 @@ /// <reference types="node" /> | ||
setError(error: Error): NodeSpan | undefined; | ||
sendError<T>(error: Error, fn: (s: NodeSpan) => T): void; | ||
withSpan<T>(span: NodeSpan, fn: (s: NodeSpan) => T): T; | ||
@@ -13,0 +14,0 @@ wrap<T>(fn: Func<T>): Func<T>; |
{ | ||
"name": "@appsignal/types", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"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
33502
339