From e7b487ff093339845969f04ef28ecc1887f2f94b Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Thu, 25 Jan 2024 11:12:10 +0100 Subject: [PATCH] feat(core): Export `IntegrationIndex` type --- packages/core/src/index.ts | 1 + packages/replay/src/util/prepareReplayEvent.ts | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index b9b4b045497e..261a40a1fa8f 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -3,6 +3,7 @@ export type { AsyncContextStrategy, Carrier, Layer, RunWithAsyncContextOptions } export type { OfflineStore, OfflineTransportOptions } from './transports/offline'; export type { ServerRuntimeClientOptions } from './server-runtime-client'; export type { RequestDataIntegrationOptions } from './integrations/requestdata'; +export type { IntegrationIndex } from './integration'; export * from './tracing'; export * from './semanticAttributes'; diff --git a/packages/replay/src/util/prepareReplayEvent.ts b/packages/replay/src/util/prepareReplayEvent.ts index 6b104c87c573..65e190d29551 100644 --- a/packages/replay/src/util/prepareReplayEvent.ts +++ b/packages/replay/src/util/prepareReplayEvent.ts @@ -1,7 +1,6 @@ -import type { Scope } from '@sentry/core'; +import type { IntegrationIndex, Scope } from '@sentry/core'; import { getIsolationScope } from '@sentry/core'; import { prepareEvent } from '@sentry/core'; -import type { IntegrationIndex } from '@sentry/core/build/types/integration'; import type { Client, EventHint, ReplayEvent } from '@sentry/types'; /**