New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@types/newrelic

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/newrelic - npm Package Compare versions

Comparing version

to
7.0.0

@@ -1,2 +0,2 @@

// Type definitions for newrelic 6.13
// Type definitions for newrelic 7.0
// Project: http://github.com/newrelic/node-newrelic

@@ -84,13 +84,2 @@ // Definitions by: Matt R. Wilson <https://github.com/mastermatt>

/**
* Tell the tracer whether to ignore the current transaction.
*
* The most common use for this will be to mark a transaction as ignored (maybe it's handling
* a websocket polling channel, or maybe it's an external call you don't care
* is slow), but it's also useful when you want a transaction that would
* otherwise be ignored due to URL or transaction name normalization rules
* to *not* be ignored.
*/
export function setIgnoreTransaction(ignored: boolean): void;
/**
* Send errors to New Relic that you've already handled yourself.

@@ -171,3 +160,2 @@ *

*/
export function startSegment<T extends PromiseLike<any>>(name: string, record: boolean, handler: T): T;
export function startSegment<T, C extends (...args: any[]) => any>(

@@ -426,14 +414,2 @@ name: string,

/**
* Creates a distributed trace payload.
* @deprecated - use insertDistributedTraceHeaders instead
*/
createDistributedTracePayload(): DistributedTracePayload;
/**
* Parses incoming distributed trace header payload.
* @deprecated - use acceptDistributedTraceHeaders instead
*/
acceptDistributedTracePayload(payload: DistributedTracePayload): void;
/**
* Return whether this Transaction is being sampled

@@ -440,0 +416,0 @@ */

{
"name": "@types/newrelic",
"version": "6.13.0",
"version": "7.0.0",
"description": "TypeScript definitions for newrelic",

@@ -57,4 +57,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "53e43d301dbd2a0906c51fc68d6ac8ba34bfc700ba43858d7319cf9fcdff97f0",
"typeScriptVersion": "3.2"
"typesPublisherContentHash": "c9896483cd8ccbece1180bd67bf7dcac0fba5702f9cf5e5ae97fdc66becd6389",
"typeScriptVersion": "3.3"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 30 Oct 2020 02:51:55 GMT
* Last updated: Wed, 06 Jan 2021 22:32:02 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none