@opentelemetry/instrumentation-connect
Advanced tools
Comparing version 0.31.0 to 0.31.1
@@ -42,3 +42,3 @@ "use strict"; | ||
_patchApp(patchedApp) { | ||
if (!instrumentation_1.isWrapped(patchedApp.use)) { | ||
if (!(0, instrumentation_1.isWrapped)(patchedApp.use)) { | ||
this._wrap(patchedApp, 'use', this._patchUse.bind(this)); | ||
@@ -99,3 +99,3 @@ } | ||
const next = arguments[nextArgIdx]; | ||
const rpcMetadata = core_1.getRPCMetadata(api_1.context.active()); | ||
const rpcMetadata = (0, core_1.getRPCMetadata)(api_1.context.active()); | ||
if (routeName && (rpcMetadata === null || rpcMetadata === void 0 ? void 0 : rpcMetadata.type) === core_1.RPCType.HTTP) { | ||
@@ -102,0 +102,0 @@ rpcMetadata.span.updateName(`${req.method} ${routeName || '/'}`); |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.31.0"; | ||
export declare const VERSION = "0.31.1"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.31.0'; | ||
exports.VERSION = '0.31.1'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-connect", | ||
"version": "0.31.0", | ||
"version": "0.31.1", | ||
"description": "OpenTelemetry connect automatic instrumentation package.", | ||
@@ -59,7 +59,7 @@ "main": "build/src/index.js", | ||
"ts-mocha": "10.0.0", | ||
"typescript": "4.3.5" | ||
"typescript": "4.4.4" | ||
}, | ||
"dependencies": { | ||
"@opentelemetry/core": "^1.8.0", | ||
"@opentelemetry/instrumentation": "^0.34.0", | ||
"@opentelemetry/instrumentation": "^0.35.1", | ||
"@opentelemetry/semantic-conventions": "^1.0.0", | ||
@@ -69,3 +69,3 @@ "@types/connect": "3.4.35" | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-connect#readme", | ||
"gitHead": "59fa57cfd0dff4ae0e6f3833dff73c55dfd79ee5" | ||
"gitHead": "63e0fc9b6b862f74304abf0343c506a5bd415191" | ||
} |
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
28874
+ Added@opentelemetry/instrumentation@0.35.1(transitive)
- Removed@opentelemetry/instrumentation@0.34.0(transitive)