@sentry/node
Advanced tools
Comparing version 5.12.3 to 5.12.4
@@ -11,5 +11,14 @@ /// <reference types="node" /> | ||
/** | ||
* Options deciding what parts of the request to use when enhancing an event | ||
*/ | ||
interface ParseRequestOptions { | ||
request?: boolean | string[]; | ||
serverName?: boolean; | ||
transaction?: boolean | TransactionTypes; | ||
user?: boolean | string[]; | ||
version?: boolean; | ||
} | ||
/** | ||
* Enriches passed event with request data. | ||
* | ||
* | ||
* @param event Will be mutated and enriched with req data | ||
@@ -22,9 +31,3 @@ * @param req Request object | ||
[key: string]: any; | ||
}, options?: { | ||
request?: boolean | string[]; | ||
serverName?: boolean; | ||
transaction?: boolean | TransactionTypes; | ||
user?: boolean | string[]; | ||
version?: boolean; | ||
}): Event; | ||
}, options?: ParseRequestOptions): Event; | ||
/** | ||
@@ -34,8 +37,3 @@ * Express compatible request handler. | ||
*/ | ||
export declare function requestHandler(options?: { | ||
request?: boolean; | ||
serverName?: boolean; | ||
transaction?: boolean | TransactionTypes; | ||
user?: boolean | string[]; | ||
version?: boolean; | ||
export declare function requestHandler(options?: ParseRequestOptions & { | ||
flushTimeout?: number; | ||
@@ -42,0 +40,0 @@ }): (req: http.IncomingMessage, res: http.ServerResponse, next: (error?: any) => void) => void; |
@@ -159,3 +159,2 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
* | ||
* | ||
* @param event Will be mutated and enriched with req data | ||
@@ -162,0 +161,0 @@ * @param req Request object |
export declare const SDK_NAME = "sentry.javascript.node"; | ||
export declare const SDK_VERSION = "5.12.3"; | ||
export declare const SDK_VERSION = "5.12.4"; | ||
//# sourceMappingURL=version.d.ts.map |
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SDK_NAME = 'sentry.javascript.node'; | ||
exports.SDK_VERSION = '5.12.3'; | ||
exports.SDK_VERSION = '5.12.4'; | ||
//# sourceMappingURL=version.js.map |
@@ -11,5 +11,14 @@ /// <reference types="node" /> | ||
/** | ||
* Options deciding what parts of the request to use when enhancing an event | ||
*/ | ||
interface ParseRequestOptions { | ||
request?: boolean | string[]; | ||
serverName?: boolean; | ||
transaction?: boolean | TransactionTypes; | ||
user?: boolean | string[]; | ||
version?: boolean; | ||
} | ||
/** | ||
* Enriches passed event with request data. | ||
* | ||
* | ||
* @param event Will be mutated and enriched with req data | ||
@@ -22,9 +31,3 @@ * @param req Request object | ||
[key: string]: any; | ||
}, options?: { | ||
request?: boolean | string[]; | ||
serverName?: boolean; | ||
transaction?: boolean | TransactionTypes; | ||
user?: boolean | string[]; | ||
version?: boolean; | ||
}): Event; | ||
}, options?: ParseRequestOptions): Event; | ||
/** | ||
@@ -34,8 +37,3 @@ * Express compatible request handler. | ||
*/ | ||
export declare function requestHandler(options?: { | ||
request?: boolean; | ||
serverName?: boolean; | ||
transaction?: boolean | TransactionTypes; | ||
user?: boolean | string[]; | ||
version?: boolean; | ||
export declare function requestHandler(options?: ParseRequestOptions & { | ||
flushTimeout?: number; | ||
@@ -42,0 +40,0 @@ }): (req: http.IncomingMessage, res: http.ServerResponse, next: (error?: any) => void) => void; |
@@ -157,3 +157,2 @@ import * as tslib_1 from "tslib"; | ||
* | ||
* | ||
* @param event Will be mutated and enriched with req data | ||
@@ -160,0 +159,0 @@ * @param req Request object |
export declare const SDK_NAME = "sentry.javascript.node"; | ||
export declare const SDK_VERSION = "5.12.3"; | ||
export declare const SDK_VERSION = "5.12.4"; | ||
//# sourceMappingURL=version.d.ts.map |
export var SDK_NAME = 'sentry.javascript.node'; | ||
export var SDK_VERSION = '5.12.3'; | ||
export var SDK_VERSION = '5.12.4'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@sentry/node", | ||
"version": "5.12.3", | ||
"version": "5.12.4", | ||
"description": "Offical Sentry SDK for Node.js", | ||
@@ -19,7 +19,7 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/apm": "5.12.3", | ||
"@sentry/core": "5.12.0", | ||
"@sentry/hub": "5.12.0", | ||
"@sentry/types": "5.12.0", | ||
"@sentry/utils": "5.12.0", | ||
"@sentry/apm": "5.12.4", | ||
"@sentry/core": "5.12.4", | ||
"@sentry/hub": "5.12.4", | ||
"@sentry/types": "5.12.4", | ||
"@sentry/utils": "5.12.4", | ||
"cookie": "^0.3.1", | ||
@@ -26,0 +26,0 @@ "https-proxy-agent": "^4.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
395515
4365
+ Added@sentry/apm@5.12.4(transitive)
+ Added@sentry/browser@5.12.4(transitive)
+ Added@sentry/core@5.12.4(transitive)
+ Added@sentry/hub@5.12.4(transitive)
+ Added@sentry/minimal@5.12.4(transitive)
+ Added@sentry/types@5.12.4(transitive)
+ Added@sentry/utils@5.12.4(transitive)
- Removed@sentry/apm@5.12.3(transitive)
- Removed@sentry/browser@5.12.1(transitive)
- Removed@sentry/core@5.12.0(transitive)
- Removed@sentry/hub@5.12.0(transitive)
- Removed@sentry/minimal@5.12.0(transitive)
- Removed@sentry/types@5.12.0(transitive)
- Removed@sentry/utils@5.12.0(transitive)
Updated@sentry/apm@5.12.4
Updated@sentry/core@5.12.4
Updated@sentry/hub@5.12.4
Updated@sentry/types@5.12.4
Updated@sentry/utils@5.12.4