From 48854685d319c8c61127c3df081edc93c5c00345 Mon Sep 17 00:00:00 2001 From: Marc Pichler Date: Wed, 12 Jun 2024 20:49:08 +0200 Subject: [PATCH] refactor(context-async-hooks): use explicit exports (#4786) * refactor(context-async-hooks): use explicit exports * chore: add changelog entry --- CHANGELOG.md | 2 ++ packages/opentelemetry-context-async-hooks/src/index.ts | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36ac78cf21b..96539824e3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/ ### :house: (Internal) +* refactor(context-async-hooks): use explicit exports [#4785](https://github.com/open-telemetry/opentelemetry-js/pull/4786) @pichlermarc + ## 1.25.0 ### :rocket: (Enhancement) diff --git a/packages/opentelemetry-context-async-hooks/src/index.ts b/packages/opentelemetry-context-async-hooks/src/index.ts index 94ad15e64a9..43a89b97522 100644 --- a/packages/opentelemetry-context-async-hooks/src/index.ts +++ b/packages/opentelemetry-context-async-hooks/src/index.ts @@ -14,5 +14,5 @@ * limitations under the License. */ -export * from './AsyncHooksContextManager'; -export * from './AsyncLocalStorageContextManager'; +export { AsyncHooksContextManager } from './AsyncHooksContextManager'; +export { AsyncLocalStorageContextManager } from './AsyncLocalStorageContextManager';