Socket
Socket
Sign inDemoInstall

@opentelemetry/api

Package Overview
Dependencies
1
Maintainers
5
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.1 to 0.5.2

5

build/src/metrics/NoopMeter.d.ts

@@ -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;

3

build/src/trace/SpanOptions.d.ts

@@ -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 @@ *

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc