@platformatic/client
Advanced tools
Comparing version 2.0.0-alpha.3 to 2.0.0-alpha.4
10
index.js
@@ -216,3 +216,2 @@ 'use strict' | ||
const { span, telemetryHeaders } = openTelemetry?.startHTTPSpanClient(urlToCall.toString(), method, telemetryContext) || { span: null, telemetryHeaders: {} } | ||
const telemetryId = openTelemetry?.tracer?.resource?._attributes?.['service.name'] | ||
@@ -224,6 +223,2 @@ if (this[kGetHeaders]) { | ||
if (telemetryId) { | ||
headers['x-telemetry-id'] = telemetryId | ||
} | ||
let res | ||
@@ -333,3 +328,2 @@ try { | ||
const { span, telemetryHeaders } = openTelemetry?.startHTTPSpanClient(url.toString(), 'POST', telemetryContext) || { span: null, telemetryHeaders: {} } | ||
const telemetryId = openTelemetry?.tracer?.resource?._attributes?.['service.name'] | ||
@@ -342,6 +336,2 @@ headers = { | ||
if (telemetryId) { | ||
headers['x-telemetry-id'] = telemetryId | ||
} | ||
let res | ||
@@ -348,0 +338,0 @@ try { |
{ | ||
"name": "@platformatic/client", | ||
"version": "2.0.0-alpha.3", | ||
"version": "2.0.0-alpha.4", | ||
"description": "A client for all platformatic backends", | ||
@@ -26,4 +26,4 @@ "main": "index.js", | ||
"typescript": "^5.4.2", | ||
"@platformatic/telemetry": "2.0.0-alpha.3", | ||
"@platformatic/utils": "2.0.0-alpha.3" | ||
"@platformatic/utils": "2.0.0-alpha.4", | ||
"@platformatic/telemetry": "2.0.0-alpha.4" | ||
}, | ||
@@ -30,0 +30,0 @@ "dependencies": { |
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
35079
628