@@ -7,7 +7,7 @@ import type { FeedbackEvent, UserFeedback } from './feedback';
7
7
import type { Profile } from './profiling' ;
8
8
import type { ReplayEvent , ReplayRecordingData } from './replay' ;
9
9
import type { SdkInfo } from './sdkinfo' ;
10
- import type { SerializedSession , Session , SessionAggregates } from './session' ;
10
+ import type { SerializedSession , SessionAggregates } from './session' ;
11
11
import type { SpanJSON } from './span' ;
12
12
13
13
// Based on: https://develop.sentry.dev/sdk/envelopes/
@@ -87,8 +87,7 @@ export type EventItem = BaseEnvelopeItem<EventItemHeaders, Event>;
87
87
export type AttachmentItem = BaseEnvelopeItem < AttachmentItemHeaders , string | Uint8Array > ;
88
88
export type UserFeedbackItem = BaseEnvelopeItem < UserFeedbackItemHeaders , UserFeedback > ;
89
89
export type SessionItem =
90
- // TODO(v8): Only allow serialized session here (as opposed to Session or SerializedSesison)
91
- | BaseEnvelopeItem < SessionItemHeaders , Session | SerializedSession >
90
+ | BaseEnvelopeItem < SessionItemHeaders , SerializedSession >
92
91
| BaseEnvelopeItem < SessionAggregatesItemHeaders , SessionAggregates > ;
93
92
export type ClientReportItem = BaseEnvelopeItem < ClientReportItemHeaders , ClientReport > ;
94
93
export type CheckInItem = BaseEnvelopeItem < CheckInItemHeaders , SerializedCheckIn > ;
0 commit comments