@appsignal/types
Advanced tools
Comparing version 2.1.4 to 2.1.5
# AppSignal types changelog | ||
## 2.1.5 | ||
- [2ad4ccb](https://github.com/appsignal/appsignal-javascript/commit/2ad4ccbe26aa5c820eca5f4c9c204dc71d26cc82) patch - Make sendError callback argument optional for Node.js Tracer. | ||
## 2.1.4 | ||
@@ -4,0 +8,0 @@ |
@@ -11,3 +11,3 @@ /// <reference types="node" /> | ||
setError(error: Error): NodeSpan | undefined; | ||
sendError<T>(error: Error, fn: (s: NodeSpan) => T): void; | ||
sendError<T>(error: Error, fn?: (s: NodeSpan) => T): void; | ||
withSpan<T>(span: NodeSpan, fn: (s: NodeSpan) => T): T; | ||
@@ -14,0 +14,0 @@ wrap<T>(fn: Func<T>): Func<T>; |
@@ -11,3 +11,3 @@ /// <reference types="node" /> | ||
setError(error: Error): NodeSpan | undefined; | ||
sendError<T>(error: Error, fn: (s: NodeSpan) => T): void; | ||
sendError<T>(error: Error, fn?: (s: NodeSpan) => T): void; | ||
withSpan<T>(span: NodeSpan, fn: (s: NodeSpan) => T): T; | ||
@@ -14,0 +14,0 @@ wrap<T>(fn: Func<T>): Func<T>; |
{ | ||
"name": "@appsignal/types", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"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
33706