Skip to content

Commit

Permalink
fix(profiling): Update exports so types generate properly (#12469)
Browse files Browse the repository at this point in the history
resolves #12468
  • Loading branch information
AbhiPrasad authored Jun 12, 2024
1 parent 136f496 commit ef4c06e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/profiling-node/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import * as os from 'os';
import type {
Client,
Context,
ContinuousThreadCpuProfile,
DebugImage,
DsnComponents,
Envelope,
Expand All @@ -11,6 +12,7 @@ import type {
Profile,
ProfileChunk,
ProfileChunkEnvelope,
ProfileChunkItem,
SdkInfo,
StackFrame,
StackParser,
Expand All @@ -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';

Expand Down
1 change: 1 addition & 0 deletions packages/types/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export type {
StatsdEnvelope,
ProfileItem,
ProfileChunkEnvelope,
ProfileChunkItem,
SpanEnvelope,
SpanItem,
} from './envelope';
Expand Down

0 comments on commit ef4c06e

Please sign in to comment.