@opentelemetry/otlp-exporter-base
Advanced tools
Comparing version 0.54.2 to 0.55.0
@@ -15,3 +15,4 @@ /// <reference types="node" /> | ||
export declare function sendWithHttp(params: HttpRequestParameters, agent: http.Agent | https.Agent, data: Uint8Array, onDone: (response: ExportResponse) => void, timeoutMillis: number): void; | ||
export declare function compressAndSend(req: http.ClientRequest, compression: 'gzip' | 'none', data: Uint8Array, onError: (error: Error) => void): void; | ||
export declare function createHttpAgent(rawUrl: string, agentOptions: http.AgentOptions | https.AgentOptions): http.Agent; | ||
//# sourceMappingURL=http-transport-utils.d.ts.map |
@@ -105,3 +105,3 @@ var __assign = (this && this.__assign) || function () { | ||
} | ||
function compressAndSend(req, compression, data, onError) { | ||
export function compressAndSend(req, compression, data, onError) { | ||
var dataStream = readableFromUint8Array(data); | ||
@@ -115,3 +115,3 @@ if (compression === 'gzip') { | ||
} | ||
dataStream.pipe(req); | ||
dataStream.pipe(req).on('error', onError); | ||
} | ||
@@ -118,0 +118,0 @@ function readableFromUint8Array(buff) { |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.54.2"; | ||
export declare const VERSION = "0.55.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '0.54.2'; | ||
export var VERSION = '0.55.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -15,3 +15,4 @@ /// <reference types="node" /> | ||
export declare function sendWithHttp(params: HttpRequestParameters, agent: http.Agent | https.Agent, data: Uint8Array, onDone: (response: ExportResponse) => void, timeoutMillis: number): void; | ||
export declare function compressAndSend(req: http.ClientRequest, compression: 'gzip' | 'none', data: Uint8Array, onError: (error: Error) => void): void; | ||
export declare function createHttpAgent(rawUrl: string, agentOptions: http.AgentOptions | https.AgentOptions): http.Agent; | ||
//# sourceMappingURL=http-transport-utils.d.ts.map |
@@ -94,3 +94,3 @@ /* | ||
} | ||
function compressAndSend(req, compression, data, onError) { | ||
export function compressAndSend(req, compression, data, onError) { | ||
let dataStream = readableFromUint8Array(data); | ||
@@ -104,3 +104,3 @@ if (compression === 'gzip') { | ||
} | ||
dataStream.pipe(req); | ||
dataStream.pipe(req).on('error', onError); | ||
} | ||
@@ -107,0 +107,0 @@ function readableFromUint8Array(buff) { |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.54.2"; | ||
export declare const VERSION = "0.55.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export const VERSION = '0.54.2'; | ||
export const VERSION = '0.55.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -15,3 +15,4 @@ /// <reference types="node" /> | ||
export declare function sendWithHttp(params: HttpRequestParameters, agent: http.Agent | https.Agent, data: Uint8Array, onDone: (response: ExportResponse) => void, timeoutMillis: number): void; | ||
export declare function compressAndSend(req: http.ClientRequest, compression: 'gzip' | 'none', data: Uint8Array, onError: (error: Error) => void): void; | ||
export declare function createHttpAgent(rawUrl: string, agentOptions: http.AgentOptions | https.AgentOptions): http.Agent; | ||
//# sourceMappingURL=http-transport-utils.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createHttpAgent = exports.sendWithHttp = void 0; | ||
exports.createHttpAgent = exports.compressAndSend = exports.sendWithHttp = void 0; | ||
/* | ||
@@ -107,4 +107,5 @@ * Copyright The OpenTelemetry Authors | ||
} | ||
dataStream.pipe(req); | ||
dataStream.pipe(req).on('error', onError); | ||
} | ||
exports.compressAndSend = compressAndSend; | ||
function readableFromUint8Array(buff) { | ||
@@ -111,0 +112,0 @@ const readable = new stream_1.Readable(); |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.54.2"; | ||
export declare const VERSION = "0.55.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.54.2'; | ||
exports.VERSION = '0.55.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/otlp-exporter-base", | ||
"version": "0.54.2", | ||
"version": "0.55.0", | ||
"description": "OpenTelemetry OTLP Exporter base (for internal use only)", | ||
@@ -63,10 +63,10 @@ "main": "build/src/index.js", | ||
"dependencies": { | ||
"@opentelemetry/core": "1.27.0", | ||
"@opentelemetry/otlp-transformer": "0.54.2" | ||
"@opentelemetry/core": "1.28.0", | ||
"@opentelemetry/otlp-transformer": "0.55.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.25.2", | ||
"@babel/preset-env": "7.25.4", | ||
"@babel/core": "7.26.0", | ||
"@babel/preset-env": "7.26.0", | ||
"@opentelemetry/api": "1.9.0", | ||
"@types/mocha": "10.0.8", | ||
"@types/mocha": "10.0.9", | ||
"@types/node": "18.6.5", | ||
@@ -83,3 +83,3 @@ "@types/sinon": "17.0.3", | ||
"lerna": "6.6.2", | ||
"mocha": "10.7.3", | ||
"mocha": "10.8.2", | ||
"nyc": "15.1.0", | ||
@@ -89,3 +89,3 @@ "sinon": "15.1.2", | ||
"typescript": "4.4.4", | ||
"webpack": "5.94.0", | ||
"webpack": "5.96.1", | ||
"webpack-cli": "5.1.4", | ||
@@ -99,3 +99,3 @@ "webpack-merge": "5.10.0" | ||
"sideEffects": false, | ||
"gitHead": "72c9af91983e4b7aade98c901bd45c6cefee0da4" | ||
"gitHead": "4b1ad3fda0cde58907e30fab25c3c767546708e5" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
457542
4530
+ Added@opentelemetry/api-logs@0.55.0(transitive)
+ Added@opentelemetry/core@1.28.0(transitive)
+ Added@opentelemetry/otlp-transformer@0.55.0(transitive)
+ Added@opentelemetry/resources@1.28.0(transitive)
+ Added@opentelemetry/sdk-logs@0.55.0(transitive)
+ Added@opentelemetry/sdk-metrics@1.28.0(transitive)
+ Added@opentelemetry/sdk-trace-base@1.28.0(transitive)
- Removed@opentelemetry/api-logs@0.54.2(transitive)
- Removed@opentelemetry/core@1.27.0(transitive)
- Removed@opentelemetry/otlp-transformer@0.54.2(transitive)
- Removed@opentelemetry/resources@1.27.0(transitive)
- Removed@opentelemetry/sdk-logs@0.54.2(transitive)
- Removed@opentelemetry/sdk-metrics@1.27.0(transitive)
- Removed@opentelemetry/sdk-trace-base@1.27.0(transitive)
Updated@opentelemetry/core@1.28.0