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.1 to 2.1.2

4

CHANGELOG.md
# AppSignal types changelog
## 2.1.2
- [91708f8](https://github.com/appsignal/appsignal-javascript/commit/91708f841c5c6440dbc6878c855f2e3b30e0d2bd) patch - Rename addError helper functions to setError in NodeJS
## 2.1.1

@@ -4,0 +8,0 @@

2

dist/cjs/interfaces/span.d.ts

@@ -23,3 +23,3 @@ import { HashMap, HashMapValue } from "../types/common";

child(): NodeSpan;
addError(error: Error): this;
setError(error: Error): this;
setSampleData(key: string, data: Array<HashMapValue | Array<HashMapValue> | HashMap<HashMapValue> | undefined> | HashMap<HashMapValue | Array<HashMapValue> | HashMap<HashMapValue> | undefined>): this;

@@ -26,0 +26,0 @@ setSQL(value: string): this;

@@ -10,3 +10,3 @@ /// <reference types="node" />

rootSpan(): NodeSpan;
addError(error: Error): NodeSpan | undefined;
setError(error: Error): NodeSpan | undefined;
withSpan<T>(span: NodeSpan, fn: (s: NodeSpan) => T): T;

@@ -13,0 +13,0 @@ wrap<T>(fn: Func<T>): Func<T>;

@@ -23,3 +23,3 @@ import { HashMap, HashMapValue } from "../types/common";

child(): NodeSpan;
addError(error: Error): this;
setError(error: Error): this;
setSampleData(key: string, data: Array<HashMapValue | Array<HashMapValue> | HashMap<HashMapValue> | undefined> | HashMap<HashMapValue | Array<HashMapValue> | HashMap<HashMapValue> | undefined>): this;

@@ -26,0 +26,0 @@ setSQL(value: string): this;

@@ -10,3 +10,3 @@ /// <reference types="node" />

rootSpan(): NodeSpan;
addError(error: Error): NodeSpan | undefined;
setError(error: Error): NodeSpan | undefined;
withSpan<T>(span: NodeSpan, fn: (s: NodeSpan) => T): T;

@@ -13,0 +13,0 @@ wrap<T>(fn: Func<T>): Func<T>;

{
"name": "@appsignal/types",
"version": "2.1.1",
"version": "2.1.2",
"main": "dist/cjs/index.js",

@@ -5,0 +5,0 @@ "module": "dist/esm/index.js",

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