@aztec/telemetry-client 5.0.0-nightly.20260413 → 5.0.0-nightly.20260415

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dest/config.js CHANGED
@@ -3,17 +3,17 @@ export const telemetryClientConfigMappings = {
3
3
  metricsCollectorUrl: {
4
4
  env: 'OTEL_EXPORTER_OTLP_METRICS_ENDPOINT',
5
5
  description: 'The URL of the telemetry collector for metrics',
6
- parseEnv: (val)=>val && new URL(val)
6
+ parseEnv: (val)=>new URL(val)
7
7
  },
8
8
  tracesCollectorUrl: {
9
9
  env: 'OTEL_EXPORTER_OTLP_TRACES_ENDPOINT',
10
10
  description: 'The URL of the telemetry collector for traces',
11
- parseEnv: (val)=>val && new URL(val)
11
+ parseEnv: (val)=>new URL(val)
12
12
  },
13
13
  logsCollectorUrl: {
14
14
  env: 'OTEL_EXPORTER_OTLP_LOGS_ENDPOINT',
15
15
  description: 'The URL of the telemetry collector for logs',
16
- parseEnv: (val)=>val && new URL(val)
16
+ parseEnv: (val)=>new URL(val)
17
17
  },
18
18
  otelCollectIntervalMs: {
19
19
  env: 'OTEL_COLLECT_INTERVAL_MS',
@@ -42,7 +42,7 @@ export const telemetryClientConfigMappings = {
42
42
  publicMetricsCollectorUrl: {
43
43
  env: 'PUBLIC_OTEL_EXPORTER_OTLP_METRICS_ENDPOINT',
44
44
  description: 'A URL to publish a subset of metrics for public consumption',
45
- parseEnv: (val)=>val && new URL(val)
45
+ parseEnv: (val)=>new URL(val)
46
46
  },
47
47
  publicMetricsCollectFrom: {
48
48
  env: 'PUBLIC_OTEL_COLLECT_FROM',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/telemetry-client",
3
- "version": "5.0.0-nightly.20260413",
3
+ "version": "5.0.0-nightly.20260415",
4
4
  "inherits": [
5
5
  "../package.common.json"
6
6
  ],
@@ -27,8 +27,8 @@
27
27
  "!*.test.*"
28
28
  ],
29
29
  "dependencies": {
30
- "@aztec/foundation": "5.0.0-nightly.20260413",
31
- "@aztec/stdlib": "5.0.0-nightly.20260413",
30
+ "@aztec/foundation": "5.0.0-nightly.20260415",
31
+ "@aztec/stdlib": "5.0.0-nightly.20260415",
32
32
  "@opentelemetry/api": "^1.9.0",
33
33
  "@opentelemetry/api-logs": "^0.55.0",
34
34
  "@opentelemetry/core": "^1.28.0",
package/src/config.ts CHANGED
@@ -18,17 +18,17 @@ export const telemetryClientConfigMappings: ConfigMappingsType<TelemetryClientCo
18
18
  metricsCollectorUrl: {
19
19
  env: 'OTEL_EXPORTER_OTLP_METRICS_ENDPOINT',
20
20
  description: 'The URL of the telemetry collector for metrics',
21
- parseEnv: (val: string) => val && new URL(val),
21
+ parseEnv: (val: string) => new URL(val),
22
22
  },
23
23
  tracesCollectorUrl: {
24
24
  env: 'OTEL_EXPORTER_OTLP_TRACES_ENDPOINT',
25
25
  description: 'The URL of the telemetry collector for traces',
26
- parseEnv: (val: string) => val && new URL(val),
26
+ parseEnv: (val: string) => new URL(val),
27
27
  },
28
28
  logsCollectorUrl: {
29
29
  env: 'OTEL_EXPORTER_OTLP_LOGS_ENDPOINT',
30
30
  description: 'The URL of the telemetry collector for logs',
31
- parseEnv: (val: string) => val && new URL(val),
31
+ parseEnv: (val: string) => new URL(val),
32
32
  },
33
33
  otelCollectIntervalMs: {
34
34
  env: 'OTEL_COLLECT_INTERVAL_MS',
@@ -70,7 +70,7 @@ export const telemetryClientConfigMappings: ConfigMappingsType<TelemetryClientCo
70
70
  publicMetricsCollectorUrl: {
71
71
  env: 'PUBLIC_OTEL_EXPORTER_OTLP_METRICS_ENDPOINT',
72
72
  description: 'A URL to publish a subset of metrics for public consumption',
73
- parseEnv: (val: string) => val && new URL(val),
73
+ parseEnv: (val: string) => new URL(val),
74
74
  },
75
75
  publicMetricsCollectFrom: {
76
76
  env: 'PUBLIC_OTEL_COLLECT_FROM',