@opentelemetry/exporter-logs-otlp-http
Advanced tools
Comparing version 0.57.2 to 0.200.0-dev.0
@@ -16,17 +16,2 @@ /* | ||
*/ | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
import { OTLPExporterBase } from '@opentelemetry/otlp-exporter-base'; | ||
@@ -38,11 +23,7 @@ import { JsonLogsSerializer } from '@opentelemetry/otlp-transformer'; | ||
*/ | ||
var OTLPLogExporter = /** @class */ (function (_super) { | ||
__extends(OTLPLogExporter, _super); | ||
function OTLPLogExporter(config) { | ||
if (config === void 0) { config = {}; } | ||
return _super.call(this, createLegacyOtlpBrowserExportDelegate(config, JsonLogsSerializer, 'v1/logs', { 'Content-Type': 'application/json' })) || this; | ||
export class OTLPLogExporter extends OTLPExporterBase { | ||
constructor(config = {}) { | ||
super(createLegacyOtlpBrowserExportDelegate(config, JsonLogsSerializer, 'v1/logs', { 'Content-Type': 'application/json' })); | ||
} | ||
return OTLPLogExporter; | ||
}(OTLPExporterBase)); | ||
export { OTLPLogExporter }; | ||
} | ||
//# sourceMappingURL=OTLPLogExporter.js.map |
@@ -16,17 +16,2 @@ /* | ||
*/ | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
import { OTLPExporterBase } from '@opentelemetry/otlp-exporter-base'; | ||
@@ -39,14 +24,10 @@ import { JsonLogsSerializer } from '@opentelemetry/otlp-transformer'; | ||
*/ | ||
var OTLPLogExporter = /** @class */ (function (_super) { | ||
__extends(OTLPLogExporter, _super); | ||
function OTLPLogExporter(config) { | ||
if (config === void 0) { config = {}; } | ||
return _super.call(this, createOtlpHttpExportDelegate(convertLegacyHttpOptions(config, 'LOGS', 'v1/logs', { | ||
'User-Agent': "OTel-OTLP-Exporter-JavaScript/" + VERSION, | ||
export class OTLPLogExporter extends OTLPExporterBase { | ||
constructor(config = {}) { | ||
super(createOtlpHttpExportDelegate(convertLegacyHttpOptions(config, 'LOGS', 'v1/logs', { | ||
'User-Agent': `OTel-OTLP-Exporter-JavaScript/${VERSION}`, | ||
'Content-Type': 'application/json', | ||
}), JsonLogsSerializer)) || this; | ||
}), JsonLogsSerializer)); | ||
} | ||
return OTLPLogExporter; | ||
}(OTLPExporterBase)); | ||
export { OTLPLogExporter }; | ||
} | ||
//# sourceMappingURL=OTLPLogExporter.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.57.2"; | ||
export declare const VERSION = "0.200.0-dev.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '0.57.2'; | ||
export const VERSION = '0.200.0-dev.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.57.2"; | ||
export declare const VERSION = "0.200.0-dev.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export const VERSION = '0.57.2'; | ||
export const VERSION = '0.200.0-dev.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.57.2"; | ||
export declare const VERSION = "0.200.0-dev.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.57.2'; | ||
exports.VERSION = '0.200.0-dev.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/exporter-logs-otlp-http", | ||
"version": "0.57.2", | ||
"version": "0.200.0-dev.0", | ||
"publishConfig": { | ||
@@ -29,3 +29,3 @@ "access": "public" | ||
"engines": { | ||
"node": ">=14" | ||
"node": "^18.19.0 || >=20.6.0" | ||
}, | ||
@@ -74,11 +74,11 @@ "scripts": { | ||
"devDependencies": { | ||
"@babel/core": "7.26.0", | ||
"@babel/preset-env": "7.26.0", | ||
"@babel/core": "7.26.9", | ||
"@babel/preset-env": "7.26.9", | ||
"@opentelemetry/api": "1.9.0", | ||
"@opentelemetry/resources": "1.30.1", | ||
"@opentelemetry/resources": "2.0.0-dev.0", | ||
"@types/mocha": "10.0.10", | ||
"@types/node": "18.6.5", | ||
"@types/sinon": "17.0.3", | ||
"@types/sinon": "17.0.4", | ||
"@types/webpack-env": "1.16.3", | ||
"babel-loader": "8.4.1", | ||
"babel-loader": "9.2.1", | ||
"babel-plugin-istanbul": "7.0.0", | ||
@@ -93,10 +93,9 @@ "cross-var": "1.1.0", | ||
"lerna": "6.6.2", | ||
"mocha": "10.8.2", | ||
"nyc": "15.1.0", | ||
"mocha": "11.1.0", | ||
"nyc": "17.1.0", | ||
"sinon": "15.1.2", | ||
"ts-loader": "9.5.1", | ||
"typescript": "4.4.4", | ||
"ts-loader": "9.5.2", | ||
"typescript": "5.0.4", | ||
"webpack": "5.96.1", | ||
"webpack-cli": "5.1.4", | ||
"webpack-merge": "5.10.0" | ||
"webpack-cli": "6.0.1" | ||
}, | ||
@@ -107,9 +106,9 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@opentelemetry/api-logs": "0.57.2", | ||
"@opentelemetry/core": "1.30.1", | ||
"@opentelemetry/otlp-exporter-base": "0.57.2", | ||
"@opentelemetry/otlp-transformer": "0.57.2", | ||
"@opentelemetry/sdk-logs": "0.57.2" | ||
"@opentelemetry/api-logs": "0.200.0-dev.0", | ||
"@opentelemetry/core": "2.0.0-dev.0", | ||
"@opentelemetry/otlp-exporter-base": "0.200.0-dev.0", | ||
"@opentelemetry/otlp-transformer": "0.200.0-dev.0", | ||
"@opentelemetry/sdk-logs": "0.200.0-dev.0" | ||
}, | ||
"gitHead": "ac8641a5dbb5df1169bd5ed25a6667a6a6f730ca" | ||
"gitHead": "544c40984797dd2e2cccb92cce0e88b30f235b02" | ||
} |
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
25
70468
507
+ Added@opentelemetry/api-logs@0.200.0-dev.0(transitive)
+ Added@opentelemetry/core@2.0.0-dev.0(transitive)
+ Added@opentelemetry/otlp-exporter-base@0.200.0-dev.0(transitive)
+ Added@opentelemetry/otlp-transformer@0.200.0-dev.0(transitive)
+ Added@opentelemetry/resources@2.0.0-dev.0(transitive)
+ Added@opentelemetry/sdk-logs@0.200.0-dev.0(transitive)
+ Added@opentelemetry/sdk-metrics@2.0.0-dev.0(transitive)
+ Added@opentelemetry/sdk-trace-base@2.0.0-dev.0(transitive)
+ Added@opentelemetry/semantic-conventions@1.30.0(transitive)
- Removed@opentelemetry/api-logs@0.57.2(transitive)
- Removed@opentelemetry/core@1.30.1(transitive)
- Removed@opentelemetry/otlp-exporter-base@0.57.2(transitive)
- Removed@opentelemetry/otlp-transformer@0.57.2(transitive)
- Removed@opentelemetry/resources@1.30.1(transitive)
- Removed@opentelemetry/sdk-logs@0.57.2(transitive)
- Removed@opentelemetry/sdk-metrics@1.30.1(transitive)
- Removed@opentelemetry/sdk-trace-base@1.30.1(transitive)
- Removed@opentelemetry/semantic-conventions@1.28.0(transitive)