From 812c774998fb60a0c666404ae71b1d508e0568f4 Mon Sep 17 00:00:00 2001 From: Marc Pichler Date: Thu, 13 Jun 2024 09:40:03 +0200 Subject: [PATCH] refactor(context-zone-peer-dep): use explicit exports (#4787) * refactor(context-zone-peer-dep): use explicit exports * chore: changelog --- CHANGELOG.md | 1 + packages/opentelemetry-context-zone-peer-dep/src/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96539824e3..517321a89d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :house: (Internal) +* refactor(context-zone-peer-dep): use explicit exports [#4785](https://github.com/open-telemetry/opentelemetry-js/pull/4787) @pichlermarc * refactor(context-async-hooks): use explicit exports [#4785](https://github.com/open-telemetry/opentelemetry-js/pull/4786) @pichlermarc ## 1.25.0 diff --git a/packages/opentelemetry-context-zone-peer-dep/src/index.ts b/packages/opentelemetry-context-zone-peer-dep/src/index.ts index 041e627912..a66cd4aca2 100644 --- a/packages/opentelemetry-context-zone-peer-dep/src/index.ts +++ b/packages/opentelemetry-context-zone-peer-dep/src/index.ts @@ -14,5 +14,5 @@ * limitations under the License. */ -export * from './ZoneContextManager'; -export * from './types'; +export { ZoneContextManager } from './ZoneContextManager'; +export { Func, TargetWithEvents } from './types';