Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/api

Package Overview
Dependencies
Maintainers
4
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/api - npm Package Compare versions

Comparing version 0.10.3-alpha.34 to 0.10.3-alpha.35

build/src/common/Exception.d.ts

1

build/src/index.d.ts

@@ -0,1 +1,2 @@

export * from './common/Exception';
export * from './common/Logger';

@@ -2,0 +3,0 @@ export * from './common/Time';

@@ -29,2 +29,3 @@ "use strict";

exports.propagation = exports.metrics = exports.trace = exports.context = void 0;
__exportStar(require("./common/Exception"), exports);
__exportStar(require("./common/Logger"), exports);

@@ -31,0 +32,0 @@ __exportStar(require("./common/Time"), exports);

@@ -0,1 +1,2 @@

import { Exception } from '../common/Exception';
import { TimeInput } from '../common/Time';

@@ -24,4 +25,5 @@ import { Attributes } from './attributes';

isRecording(): boolean;
recordException(exception: Exception, time?: TimeInput): void;
}
export declare const NOOP_SPAN: NoopSpan;
//# sourceMappingURL=NoopSpan.d.ts.map

@@ -67,2 +67,4 @@ "use strict";

};
// By default does nothing
NoopSpan.prototype.recordException = function (exception, time) { };
return NoopSpan;

@@ -69,0 +71,0 @@ }());

@@ -0,1 +1,2 @@

import { Exception } from '../common/Exception';
import { Attributes } from './attributes';

@@ -89,3 +90,10 @@ import { SpanContext } from './span_context';

isRecording(): boolean;
/**
* Sets exception as a span event
* @param exception the exception the only accepted values are string or Error
* @param [time] the time to set as Span's event time. If not provided,
* use the current time.
*/
recordException(exception: Exception, time?: TimeInput): void;
}
//# sourceMappingURL=span.d.ts.map

2

build/src/version.d.ts

@@ -1,2 +0,2 @@

export declare const VERSION = "0.10.3-alpha.34+fb06b5b";
export declare const VERSION = "0.10.3-alpha.35+2ee9f1a";
//# sourceMappingURL=version.d.ts.map

@@ -20,3 +20,3 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.10.3-alpha.34+fb06b5b';
exports.VERSION = '0.10.3-alpha.35+2ee9f1a';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/api",
"version": "0.10.3-alpha.34+fb06b5b",
"version": "0.10.3-alpha.35+2ee9f1a",
"description": "Public API for OpenTelemetry",

@@ -79,3 +79,3 @@ "main": "build/src/index.js",

},
"gitHead": "fb06b5bb1142286acf5b326925f3af3353aa9d90"
"gitHead": "2ee9f1aaf7b61c4b4ae6b748f0a07f8fc708f07e"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc