Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/newrelic

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/newrelic - npm Package Compare versions

Comparing version 4.11.0 to 5.11.0

20

newrelic/index.d.ts

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

// Type definitions for newrelic 4.11
// Type definitions for newrelic 5.11
// Project: http://github.com/newrelic/node-newrelic

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

*
* @deprecated
* This method has been deprecated in favor of newrelic.startSegment()

@@ -196,3 +195,3 @@ */

*
* @example
* Example:
* var newrelic = require('newrelic')

@@ -210,3 +209,4 @@ * newrelic.startWebTransaction('/some/url/path', function() {

*/
export function startWebTransaction(url: string, handle: (...args: any[]) => any): any;
export function startWebTransaction<T>(url: string, handle: Promise<T>): Promise<T>;
export function startWebTransaction<T>(url: string, handle: (...args: any[]) => T): T;

@@ -224,3 +224,3 @@ /**

*
* @example
* Example:
* var newrelic = require('newrelic')

@@ -242,4 +242,6 @@ * newrelic.startBackgroundTransaction('Red October', 'Subs', function() {

*/
export function startBackgroundTransaction(name: string, handle: (...args: any[]) => any): any;
export function startBackgroundTransaction(name: string, group: string, handle: (...args: any[]) => any): any;
export function startBackgroundTransaction<T>(name: string, handle: Promise<T>): Promise<T>;
export function startBackgroundTransaction<T>(name: string, handle: (...args: any[]) => T): T;
export function startBackgroundTransaction<T>(name: string, group: string, handle: Promise<T>): Promise<T>;
export function startBackgroundTransaction<T>(name: string, group: string, handle: (...args: any[]) => T): T;

@@ -333,4 +335,4 @@ /**

*
* @param handler a callback function whose value is returned from setLambdaHandler
* @returns the value returned by handler
* The handler is a callback function whose value is returned from setLambdaHandler
* Returns the value returned by handler
*/

@@ -337,0 +339,0 @@ export function setLambdaHandler<T>(handler: (...args: any[]) => T): T;

{
"name": "@types/newrelic",
"version": "4.11.0",
"version": "5.11.0",
"description": "TypeScript definitions for newrelic",

@@ -27,8 +27,9 @@ "license": "MIT",

"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/newrelic"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "af1a6eca4ecacb3d4de1b7f93cf83cefe1647661463ed6bd84b2d7fb88aff337",
"typesPublisherContentHash": "3ed67f00876f2d5c785297e09af52e1c30e9c01b3c1044fbda21cbb4ab71195c",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Tue, 18 Dec 2018 21:49:43 GMT
* Last updated: Wed, 07 Aug 2019 22:00:13 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Matt R. Wilson <https://github.com/mastermatt>, Brooks Patton <https://github.com/brookspatton>, Michael Bond <https://github.com/MichaelRBond>.
These definitions were written by Matt R. Wilson <https://github.com/mastermatt>, Brooks Patton <https://github.com/brookspatton>, and Michael Bond <https://github.com/MichaelRBond>.
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