Skip to content

Commit e9ba45d

Browse files
authored
ref(protocol): Strictly type profile chunk platform item header (#21562)
Header was already added, just adds the typing as we do consider it required (even if it's currently treated as optional in Relay).
1 parent dd83611 commit e9ba45d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/types/envelope.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ type ReplayEventItemHeaders = { type: 'replay_event' };
8989
type ReplayRecordingItemHeaders = { type: 'replay_recording'; length: number };
9090
type CheckInItemHeaders = { type: 'check_in' };
9191
type ProfileItemHeaders = { type: 'profile' };
92-
type ProfileChunkItemHeaders = { type: 'profile_chunk' };
92+
type ProfileChunkItemHeaders = { type: 'profile_chunk'; platform: ProfileChunk['platform'] };
9393
type SpanItemHeaders = { type: 'span' };
9494
type SpanContainerItemHeaders = {
9595
/**

0 commit comments

Comments
 (0)