@types/newrelic
Advanced tools
Comparing version 3.4.0 to 4.11.0
@@ -1,5 +0,6 @@ | ||
// Type definitions for newrelic 3.4 | ||
// Type definitions for newrelic 4.11 | ||
// Project: http://github.com/newrelic/node-newrelic | ||
// Definitions by: Matt R. Wilson <https://github.com/mastermatt> | ||
// Brooks Patton <https://github.com/brookspatton> | ||
// Michael Bond <https://github.com/MichaelRBond> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -324,2 +325,10 @@ | ||
/** | ||
* Wraps an AWS Lambda function with NewRelic instrumentation and returns the value of the handler | ||
* | ||
* @param handler a callback function whose value is returned from setLambdaHandler | ||
* @returns the value returned by handler | ||
*/ | ||
export function setLambdaHandler<T>(handler: (...args: any[]) => T): T; | ||
export interface Instrument { | ||
@@ -326,0 +335,0 @@ (opts: { moduleName: string, onRequire: () => void, onError?: (err: Error) => void }): void; |
{ | ||
"name": "@types/newrelic", | ||
"version": "3.4.0", | ||
"version": "4.11.0", | ||
"description": "TypeScript definitions for newrelic", | ||
@@ -16,6 +16,11 @@ "license": "MIT", | ||
"githubUsername": "brookspatton" | ||
}, | ||
{ | ||
"name": "Michael Bond", | ||
"url": "https://github.com/MichaelRBond", | ||
"githubUsername": "MichaelRBond" | ||
} | ||
], | ||
"main": "", | ||
"types": "", | ||
"types": "index", | ||
"repository": { | ||
@@ -27,4 +32,4 @@ "type": "git", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "cfb49b7b2adeea6ee21320a856244beb265e1b6e662d944b8634af59af30c9be", | ||
"typesPublisherContentHash": "af1a6eca4ecacb3d4de1b7f93cf83cefe1647661463ed6bd84b2d7fb88aff337", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 16 Oct 2018 16:30:27 GMT | ||
* Last updated: Tue, 18 Dec 2018 21:49:43 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>. | ||
These definitions were written by Matt R. Wilson <https://github.com/mastermatt>, Brooks Patton <https://github.com/brookspatton>, Michael Bond <https://github.com/MichaelRBond>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17460
326