@opentelemetry/api
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -60,6 +60,2 @@ /*! | ||
/** | ||
* Returns a Bound Instrument for a metric with all labels not set. | ||
*/ | ||
getDefaultBound(): T; | ||
/** | ||
* Removes the Binding from the metric, if it is present. | ||
@@ -74,3 +70,2 @@ * @param labels the canonicalized LabelSet used to associate with this | ||
clear(): void; | ||
setCallback(fn: () => void): void; | ||
} | ||
@@ -77,0 +72,0 @@ export declare class NoopCounterMetric extends NoopMetric<BoundCounter> implements Pick<MetricUtils, 'add'> { |
@@ -68,8 +68,2 @@ "use strict"; | ||
/** | ||
* Returns a Bound Instrument for a metric with all labels not set. | ||
*/ | ||
getDefaultBound() { | ||
return this._instrument; | ||
} | ||
/** | ||
* Removes the Binding from the metric, if it is present. | ||
@@ -88,5 +82,2 @@ * @param labels the canonicalized LabelSet used to associate with this | ||
} | ||
setCallback(fn) { | ||
return; | ||
} | ||
} | ||
@@ -93,0 +84,0 @@ exports.NoopMetric = NoopMetric; |
@@ -42,2 +42,5 @@ /*! | ||
* the currently active context. | ||
* | ||
* A null value here should prevent the SDK from extracting a parent from | ||
* the current context, forcing the new span to be a root span. | ||
*/ | ||
@@ -44,0 +47,0 @@ parent?: Span | SpanContext | null; |
@@ -16,2 +16,2 @@ /*! | ||
*/ | ||
export declare const VERSION = "0.5.1"; | ||
export declare const VERSION = "0.5.2"; |
@@ -19,3 +19,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.5.1'; | ||
exports.VERSION = '0.5.2'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/api", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Public API for OpenTelemetry", | ||
@@ -50,3 +50,3 @@ "main": "build/src/index.js", | ||
"dependencies": { | ||
"@opentelemetry/context-base": "^0.5.1" | ||
"@opentelemetry/context-base": "^0.5.2" | ||
}, | ||
@@ -53,0 +53,0 @@ "devDependencies": { |
@@ -63,3 +63,3 @@ # OpenTelemetry API for JavaScript | ||
* methods to set global SDK implementations, but the default SDK provides | ||
* a convenience method named `register` which registers sane defaults | ||
* a convenience method named `register` which registers same defaults | ||
* for you. | ||
@@ -66,0 +66,0 @@ * |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
144698
3149