@appsignal/types
Advanced tools
Comparing version 2.1.2 to 2.1.3
# AppSignal types changelog | ||
## 2.1.3 | ||
- [8bc4082](https://github.com/appsignal/appsignal-javascript/commit/8bc408201293a6e551516caa7b20c812f94a7808) patch - Deprecate addError helper for spans | ||
Errors are now added through the tracer in the Node.js integration | ||
using the `setError` function. `span.addError()` is not used anymore. | ||
## 2.1.2 | ||
@@ -4,0 +11,0 @@ |
@@ -24,2 +24,3 @@ import { HashMap, HashMapValue } from "../types/common"; | ||
setError(error: Error): this; | ||
addError(error: Error): this; | ||
setSampleData(key: string, data: Array<HashMapValue | Array<HashMapValue> | HashMap<HashMapValue> | undefined> | HashMap<HashMapValue | Array<HashMapValue> | HashMap<HashMapValue> | undefined>): this; | ||
@@ -26,0 +27,0 @@ setSQL(value: string): this; |
@@ -24,2 +24,3 @@ import { HashMap, HashMapValue } from "../types/common"; | ||
setError(error: Error): this; | ||
addError(error: Error): this; | ||
setSampleData(key: string, data: Array<HashMapValue | Array<HashMapValue> | HashMap<HashMapValue> | undefined> | HashMap<HashMapValue | Array<HashMapValue> | HashMap<HashMapValue> | undefined>): this; | ||
@@ -26,0 +27,0 @@ setSQL(value: string): this; |
{ | ||
"name": "@appsignal/types", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"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
32887
337