Skip to content

Commit 22bdad2

Browse files
committed
export SerializedSession directly from @sentry/types
1 parent 02408e5 commit 22bdad2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/hub/src/session.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { Session, SessionContext, SessionStatus } from '@sentry/types';
2-
import { SerializedSession } from '@sentry/types/build/types/session';
1+
import { SerializedSession, Session, SessionContext, SessionStatus } from '@sentry/types';
32
import { dropUndefinedKeys, timestampInSeconds, uuid4 } from '@sentry/utils';
43

54
/**

packages/types/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export type {
4646
RequestSession,
4747
RequestSessionStatus,
4848
SessionFlusherLike,
49+
SerializedSession,
4950
} from './session';
5051

5152
// eslint-disable-next-line deprecation/deprecation

0 commit comments

Comments
 (0)