@opentelemetry/sdk-trace-base
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -45,2 +45,9 @@ import { TextMapPropagator, TracerProvider } from '@opentelemetry/api'; | ||
shutdown(): Promise<void>; | ||
/** | ||
* TS cannot yet infer the type of this.constructor: | ||
* https://github.com/Microsoft/TypeScript/issues/3841#issuecomment-337560146 | ||
* There is no need to override either of the getters in your child class. | ||
* The type of the registered component maps should be the same across all | ||
* classes in the inheritance tree. | ||
*/ | ||
protected _getPropagator(name: string): TextMapPropagator | undefined; | ||
@@ -47,0 +54,0 @@ protected _getSpanExporter(name: string): SpanExporter | undefined; |
@@ -146,9 +146,16 @@ /* | ||
}; | ||
/** | ||
* TS cannot yet infer the type of this.constructor: | ||
* https://github.com/Microsoft/TypeScript/issues/3841#issuecomment-337560146 | ||
* There is no need to override either of the getters in your child class. | ||
* The type of the registered component maps should be the same across all | ||
* classes in the inheritance tree. | ||
*/ | ||
BasicTracerProvider.prototype._getPropagator = function (name) { | ||
var _a; | ||
return (_a = BasicTracerProvider._registeredPropagators.get(name)) === null || _a === void 0 ? void 0 : _a(); | ||
return (_a = (this.constructor._registeredPropagators).get(name)) === null || _a === void 0 ? void 0 : _a(); | ||
}; | ||
BasicTracerProvider.prototype._getSpanExporter = function (name) { | ||
var _a; | ||
return (_a = BasicTracerProvider._registeredExporters.get(name)) === null || _a === void 0 ? void 0 : _a(); | ||
return (_a = (this.constructor._registeredExporters).get(name)) === null || _a === void 0 ? void 0 : _a(); | ||
}; | ||
@@ -155,0 +162,0 @@ BasicTracerProvider.prototype._buildPropagatorFromEnv = function () { |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.4.0"; | ||
export declare const VERSION = "1.5.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '1.4.0'; | ||
export var VERSION = '1.5.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -45,2 +45,9 @@ import { TextMapPropagator, TracerProvider } from '@opentelemetry/api'; | ||
shutdown(): Promise<void>; | ||
/** | ||
* TS cannot yet infer the type of this.constructor: | ||
* https://github.com/Microsoft/TypeScript/issues/3841#issuecomment-337560146 | ||
* There is no need to override either of the getters in your child class. | ||
* The type of the registered component maps should be the same across all | ||
* classes in the inheritance tree. | ||
*/ | ||
protected _getPropagator(name: string): TextMapPropagator | undefined; | ||
@@ -47,0 +54,0 @@ protected _getSpanExporter(name: string): SpanExporter | undefined; |
@@ -142,9 +142,16 @@ /* | ||
} | ||
/** | ||
* TS cannot yet infer the type of this.constructor: | ||
* https://github.com/Microsoft/TypeScript/issues/3841#issuecomment-337560146 | ||
* There is no need to override either of the getters in your child class. | ||
* The type of the registered component maps should be the same across all | ||
* classes in the inheritance tree. | ||
*/ | ||
_getPropagator(name) { | ||
var _a; | ||
return (_a = BasicTracerProvider._registeredPropagators.get(name)) === null || _a === void 0 ? void 0 : _a(); | ||
return (_a = (this.constructor._registeredPropagators).get(name)) === null || _a === void 0 ? void 0 : _a(); | ||
} | ||
_getSpanExporter(name) { | ||
var _a; | ||
return (_a = BasicTracerProvider._registeredExporters.get(name)) === null || _a === void 0 ? void 0 : _a(); | ||
return (_a = (this.constructor._registeredExporters).get(name)) === null || _a === void 0 ? void 0 : _a(); | ||
} | ||
@@ -151,0 +158,0 @@ _buildPropagatorFromEnv() { |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.4.0"; | ||
export declare const VERSION = "1.5.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export const VERSION = '1.4.0'; | ||
export const VERSION = '1.5.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -45,2 +45,9 @@ import { TextMapPropagator, TracerProvider } from '@opentelemetry/api'; | ||
shutdown(): Promise<void>; | ||
/** | ||
* TS cannot yet infer the type of this.constructor: | ||
* https://github.com/Microsoft/TypeScript/issues/3841#issuecomment-337560146 | ||
* There is no need to override either of the getters in your child class. | ||
* The type of the registered component maps should be the same across all | ||
* classes in the inheritance tree. | ||
*/ | ||
protected _getPropagator(name: string): TextMapPropagator | undefined; | ||
@@ -47,0 +54,0 @@ protected _getSpanExporter(name: string): SpanExporter | undefined; |
@@ -145,9 +145,16 @@ "use strict"; | ||
} | ||
/** | ||
* TS cannot yet infer the type of this.constructor: | ||
* https://github.com/Microsoft/TypeScript/issues/3841#issuecomment-337560146 | ||
* There is no need to override either of the getters in your child class. | ||
* The type of the registered component maps should be the same across all | ||
* classes in the inheritance tree. | ||
*/ | ||
_getPropagator(name) { | ||
var _a; | ||
return (_a = BasicTracerProvider._registeredPropagators.get(name)) === null || _a === void 0 ? void 0 : _a(); | ||
return (_a = (this.constructor._registeredPropagators).get(name)) === null || _a === void 0 ? void 0 : _a(); | ||
} | ||
_getSpanExporter(name) { | ||
var _a; | ||
return (_a = BasicTracerProvider._registeredExporters.get(name)) === null || _a === void 0 ? void 0 : _a(); | ||
return (_a = (this.constructor._registeredExporters).get(name)) === null || _a === void 0 ? void 0 : _a(); | ||
} | ||
@@ -154,0 +161,0 @@ _buildPropagatorFromEnv() { |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.4.0"; | ||
export declare const VERSION = "1.5.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '1.4.0'; | ||
exports.VERSION = '1.5.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/sdk-trace-base", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"description": "OpenTelemetry Tracing", | ||
@@ -94,7 +94,8 @@ "main": "build/src/index.js", | ||
"dependencies": { | ||
"@opentelemetry/core": "1.4.0", | ||
"@opentelemetry/resources": "1.4.0", | ||
"@opentelemetry/semantic-conventions": "1.4.0" | ||
"@opentelemetry/core": "1.5.0", | ||
"@opentelemetry/resources": "1.5.0", | ||
"@opentelemetry/semantic-conventions": "1.5.0" | ||
}, | ||
"gitHead": "e39ab883b18636238ef0fd741df4ce5ed53e8d04" | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-base", | ||
"gitHead": "776656b6e0cd0fc49a52b734702bc77110e483f1" | ||
} |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
561100
6144
0
+ Added@opentelemetry/core@1.5.0(transitive)
+ Added@opentelemetry/resources@1.5.0(transitive)
+ Added@opentelemetry/semantic-conventions@1.5.0(transitive)
- Removed@opentelemetry/core@1.4.0(transitive)
- Removed@opentelemetry/resources@1.4.0(transitive)
- Removed@opentelemetry/semantic-conventions@1.4.0(transitive)
Updated@opentelemetry/core@1.5.0