diff --git a/packages/profiling-node/src/utils.ts b/packages/profiling-node/src/utils.ts index 5661129791bb..107debae5c8b 100644 --- a/packages/profiling-node/src/utils.ts +++ b/packages/profiling-node/src/utils.ts @@ -3,6 +3,7 @@ import * as os from 'os'; import type { Client, Context, + ContinuousThreadCpuProfile, DebugImage, DsnComponents, Envelope, @@ -11,6 +12,7 @@ import type { Profile, ProfileChunk, ProfileChunkEnvelope, + ProfileChunkItem, SdkInfo, StackFrame, StackParser, @@ -21,8 +23,6 @@ import { GLOBAL_OBJ, createEnvelope, dsnToString, forEachEnvelopeItem, logger, u import { env, versions } from 'process'; import { isMainThread, threadId } from 'worker_threads'; -import type { ProfileChunkItem } from '@sentry/types/build/types/envelope'; -import type { ContinuousThreadCpuProfile } from '../../types/src/profiling'; import { DEBUG_BUILD } from './debug-build'; import type { RawChunkCpuProfile, RawThreadCpuProfile } from './types'; diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 8fbfd37e95ab..257620abc9f7 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -46,6 +46,7 @@ export type { StatsdEnvelope, ProfileItem, ProfileChunkEnvelope, + ProfileChunkItem, SpanEnvelope, SpanItem, } from './envelope';