Socket
Socket
Sign inDemoInstall

@opentelemetry/api

Package Overview
Dependencies
0
Maintainers
3
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.0 to 1.6.0

2

build/esm/trace/NonRecordingSpan.d.ts

@@ -23,4 +23,4 @@ import { Exception } from '../common/Exception';

isRecording(): boolean;
recordException(_exception: Exception, _attributesOrStartTime?: SpanAttributes | TimeInput, _time?: TimeInput): void;
recordException(_exception: Exception, _time?: TimeInput): void;
}
//# sourceMappingURL=NonRecordingSpan.d.ts.map

@@ -58,3 +58,3 @@ /*

// By default does nothing
NonRecordingSpan.prototype.recordException = function (_exception, _attributesOrStartTime, _time) { };
NonRecordingSpan.prototype.recordException = function (_exception, _time) { };
return NonRecordingSpan;

@@ -61,0 +61,0 @@ }());

@@ -100,11 +100,3 @@ import { Exception } from '../common/Exception';

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

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

export declare const VERSION = "1.5.0";
export declare const VERSION = "1.6.0";
//# sourceMappingURL=version.d.ts.map

@@ -17,3 +17,3 @@ /*

// this is autogenerated file, see scripts/version-update.js
export var VERSION = '1.5.0';
export var VERSION = '1.6.0';
//# sourceMappingURL=version.js.map

@@ -23,4 +23,4 @@ import { Exception } from '../common/Exception';

isRecording(): boolean;
recordException(_exception: Exception, _attributesOrStartTime?: SpanAttributes | TimeInput, _time?: TimeInput): void;
recordException(_exception: Exception, _time?: TimeInput): void;
}
//# sourceMappingURL=NonRecordingSpan.d.ts.map

@@ -60,5 +60,5 @@ "use strict";

// By default does nothing
recordException(_exception, _attributesOrStartTime, _time) { }
recordException(_exception, _time) { }
}
exports.NonRecordingSpan = NonRecordingSpan;
//# sourceMappingURL=NonRecordingSpan.js.map

@@ -100,11 +100,3 @@ import { Exception } from '../common/Exception';

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

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

export declare const VERSION = "1.5.0";
export declare const VERSION = "1.6.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '1.5.0';
exports.VERSION = '1.6.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/api",
"version": "1.5.0",
"version": "1.6.0",
"description": "Public API for OpenTelemetry",

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

"sideEffects": false,
"gitHead": "5fcd8cf136e2235903dde3df9ba03ced594f0e95"
"gitHead": "faf939c77591f709afbc23fadbe629c9d3607ef6"
}

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

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