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.3 to 2.1.4

7

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

1

dist/cjs/interfaces/tracer.d.ts

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

2

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

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