Repository navigation
Commit 40b68f1
authored
fix(types)!: drop the OpenTelemetry re-export from the types barrel (#29)
The ./types subpath re-exported QueueInstrumentationConfig from src/otel.ts.
That single line made the generated barrel declaration side-effect import
'@opentelemetry/api' and '@opentelemetry/instrumentation', so consumers who
never touch the instrumentation had to install both optional peers to type
check any import from '@boringnode/queue/types'.
The package already exposes a ./otel subpath for consumers who do want the
instrumentation types, so the type stays reachable where its dependencies
belong.
BREAKING CHANGE: QueueInstrumentationConfig is no longer exported from
'@boringnode/queue/types'. Import it from '@boringnode/queue/otel'.
Co-authored-by: Gerardo PG <168353+gerardp@users.noreply.github.com>1 parent ba24697 commit 40b68f1
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
0 commit comments