Socket
Socket
Sign inDemoInstall

@appsignal/types

Package Overview
Dependencies
Maintainers
7
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appsignal/types - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

7

CHANGELOG.md
# 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 @@

1

dist/cjs/interfaces/span.d.ts

@@ -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;

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc