@opentelemetry/instrumentation-koa
Advanced tools
Comparing version 0.34.1 to 0.34.2
@@ -6,3 +6,2 @@ import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; | ||
export declare class KoaInstrumentation extends InstrumentationBase<typeof koa> { | ||
static readonly component = "koa"; | ||
constructor(config?: KoaInstrumentationConfig); | ||
@@ -9,0 +8,0 @@ setConfig(config?: KoaInstrumentationConfig): void; |
@@ -163,3 +163,2 @@ "use strict"; | ||
exports.KoaInstrumentation = KoaInstrumentation; | ||
KoaInstrumentation.component = internal_types_1.KoaComponentName; | ||
//# sourceMappingURL=instrumentation.js.map |
@@ -10,3 +10,2 @@ import { KoaMiddleware } from './types'; | ||
}; | ||
export declare const KoaComponentName = "koa"; | ||
//# sourceMappingURL=internal-types.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.KoaComponentName = exports.kLayerPatched = void 0; | ||
exports.kLayerPatched = void 0; | ||
/** | ||
@@ -9,3 +9,2 @@ * This symbol is used to mark a Koa layer as being already instrumented | ||
exports.kLayerPatched = Symbol('koa-layer-patched'); | ||
exports.KoaComponentName = 'koa'; | ||
//# sourceMappingURL=internal-types.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.34.1"; | ||
export declare const VERSION = "0.34.2"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.34.1'; | ||
exports.VERSION = '0.34.2'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-koa", | ||
"version": "0.34.1", | ||
"version": "0.34.2", | ||
"description": "OpenTelemetry Koa automatic instrumentation package.", | ||
@@ -52,3 +52,3 @@ "main": "build/src/index.js", | ||
"devDependencies": { | ||
"@koa/router": "9.4.0", | ||
"@koa/router": "12.0.0", | ||
"@opentelemetry/api": "^1.3.0", | ||
@@ -65,3 +65,3 @@ "@opentelemetry/context-async-hooks": "^1.8.0", | ||
"nyc": "15.1.0", | ||
"rimraf": "3.0.2", | ||
"rimraf": "4.2.0", | ||
"sinon": "15.0.1", | ||
@@ -80,3 +80,3 @@ "test-all-versions": "5.0.1", | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/plugins/node/opentelemetry-instrumentation-koa#readme", | ||
"gitHead": "63e0fc9b6b862f74304abf0343c506a5bd415191" | ||
"gitHead": "32889bde9aa8f1f555a3d595c0bd93f611798fab" | ||
} |
@@ -20,3 +20,4 @@ # OpenTelemetry Koa Instrumentation for Node.js | ||
- `^2.0.0` | ||
- `koa`: `^2.0.0` | ||
- `@koa/router`: `>=8` | ||
@@ -23,0 +24,0 @@ ## Usage |
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
94
42973
407