@opentelemetry/exporter-collector
Advanced tools
Comparing version 0.23.1-alpha.18 to 0.23.1-alpha.20
@@ -0,1 +1,12 @@ | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
/* | ||
@@ -44,5 +55,7 @@ * Copyright The OpenTelemetry Authors | ||
xhr.open('POST', url); | ||
xhr.setRequestHeader('Accept', 'application/json'); | ||
xhr.setRequestHeader('Content-Type', 'application/json'); | ||
Object.entries(headers).forEach(function (_a) { | ||
var defaultHeaders = { | ||
'Accept': 'application/json', | ||
'Content-Type': 'application/json', | ||
}; | ||
Object.entries(__assign(__assign({}, defaultHeaders), headers)).forEach(function (_a) { | ||
var k = _a[0], v = _a[1]; | ||
@@ -49,0 +62,0 @@ xhr.setRequestHeader(k, v); |
@@ -48,5 +48,7 @@ "use strict"; | ||
xhr.open('POST', url); | ||
xhr.setRequestHeader('Accept', 'application/json'); | ||
xhr.setRequestHeader('Content-Type', 'application/json'); | ||
Object.entries(headers).forEach(([k, v]) => { | ||
const defaultHeaders = { | ||
'Accept': 'application/json', | ||
'Content-Type': 'application/json', | ||
}; | ||
Object.entries(Object.assign(Object.assign({}, defaultHeaders), headers)).forEach(([k, v]) => { | ||
xhr.setRequestHeader(k, v); | ||
@@ -53,0 +55,0 @@ }); |
{ | ||
"name": "@opentelemetry/exporter-collector", | ||
"version": "0.23.1-alpha.18+4b3425dd", | ||
"version": "0.23.1-alpha.20+cb06b788", | ||
"description": "OpenTelemetry Collector Exporter allows user to send collected traces to the OpenTelemetry Collector", | ||
@@ -58,6 +58,6 @@ "main": "build/src/index.js", | ||
"@opentelemetry/api": "^1.0.1", | ||
"@types/mocha": "8.2.2", | ||
"@types/node": "14.17.4", | ||
"@types/mocha": "8.2.3", | ||
"@types/node": "14.17.5", | ||
"@types/sinon": "10.0.2", | ||
"@types/webpack-env": "1.16.1", | ||
"@types/webpack-env": "1.16.2", | ||
"babel-loader": "8.2.2", | ||
@@ -79,3 +79,2 @@ "codecov": "3.8.2", | ||
"ts-mocha": "8.0.0", | ||
"ts-node": "10.0.0", | ||
"typescript": "4.3.5", | ||
@@ -90,9 +89,9 @@ "webpack": "4.46.0", | ||
"dependencies": { | ||
"@opentelemetry/api-metrics": "^0.23.1-alpha.18+4b3425dd", | ||
"@opentelemetry/core": "^0.23.1-alpha.18+4b3425dd", | ||
"@opentelemetry/metrics": "^0.23.1-alpha.18+4b3425dd", | ||
"@opentelemetry/resources": "^0.23.1-alpha.18+4b3425dd", | ||
"@opentelemetry/tracing": "^0.23.1-alpha.18+4b3425dd" | ||
"@opentelemetry/api-metrics": "^0.23.0", | ||
"@opentelemetry/core": "^0.23.0", | ||
"@opentelemetry/metrics": "^0.23.0", | ||
"@opentelemetry/resources": "^0.23.0", | ||
"@opentelemetry/tracing": "^0.23.0" | ||
}, | ||
"gitHead": "4b3425dd09f0a7087c9d741d25c7a9a0be42770c" | ||
"gitHead": "cb06b788b27ff080326b74bf4c3d08f419a06529" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
244222
26
3961
+ Added@opentelemetry/core@0.23.0(transitive)
+ Added@opentelemetry/metrics@0.23.0(transitive)
+ Added@opentelemetry/resources@0.23.0(transitive)
+ Added@opentelemetry/semantic-conventions@0.23.0(transitive)
+ Added@opentelemetry/tracing@0.23.0(transitive)
- Removed@opentelemetry/api-metrics@0.23.1-alpha.23(transitive)
- Removed@opentelemetry/core@0.23.1-alpha.28(transitive)
- Removed@opentelemetry/metrics@0.23.1-alpha.28(transitive)
- Removed@opentelemetry/resources@0.23.1-alpha.28(transitive)
- Removed@opentelemetry/semantic-conventions@0.23.1-alpha.28(transitive)
- Removed@opentelemetry/tracing@0.23.1-alpha.28(transitive)
Updated@opentelemetry/core@^0.23.0