Skip to content

Commit 041c484

Browse files
authored
fix: Export session API (#10711)
1 parent 7dfa746 commit 041c484

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

packages/browser/src/exports.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ export {
6767
functionToStringIntegration,
6868
inboundFiltersIntegration,
6969
parameterize,
70+
startSession,
71+
captureSession,
72+
endSession,
7073
} from '@sentry/core';
7174

7275
export {

packages/bun/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ export {
7777
linkedErrorsIntegration,
7878
requestDataIntegration,
7979
parameterize,
80+
startSession,
81+
captureSession,
82+
endSession,
8083
} from '@sentry/core';
8184
export type { SpanStatusType } from '@sentry/core';
8285
export {

packages/deno/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ export {
7878
SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,
7979
SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,
8080
SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,
81+
startSession,
82+
captureSession,
83+
endSession,
8184
} from '@sentry/core';
8285

8386
export type { SpanStatusType } from '@sentry/core';

packages/node/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ export {
7676
linkedErrorsIntegration,
7777
requestDataIntegration,
7878
metricsDefault as metrics,
79+
startSession,
80+
captureSession,
81+
endSession,
7982
} from '@sentry/core';
8083

8184
export {

packages/serverless/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,7 @@ export {
100100
SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,
101101
SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,
102102
SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,
103+
startSession,
104+
captureSession,
105+
endSession,
103106
} from '@sentry/node';

0 commit comments

Comments
 (0)