Skip to content

Commit be87573

Browse files
authored
feat(cdn): Export getReplay in replay CDN bundles (#13881)
Closes #13879 I opted to not export a shim for this in non-Replay bundles, as this is already more advanced usage... We can still opt to export shims here later if needed.
1 parent a52f415 commit be87573

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/browser/src/index.bundle.replay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66

77
export * from './index.bundle.base';
88

9-
export { replayIntegration } from '@sentry-internal/replay';
9+
export { replayIntegration, getReplay } from '@sentry-internal/replay';
1010

1111
export {
1212
browserTracingIntegrationShim as browserTracingIntegration,

packages/browser/src/index.bundle.tracing.replay.feedback.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ import { feedbackAsyncIntegration } from './feedbackAsync';
2929
export { getFeedback } from '@sentry-internal/feedback';
3030
export { feedbackAsyncIntegration as feedbackAsyncIntegration, feedbackAsyncIntegration as feedbackIntegration };
3131

32-
export { replayIntegration } from '@sentry-internal/replay';
32+
export { replayIntegration, getReplay } from '@sentry-internal/replay';

packages/browser/src/index.bundle.tracing.replay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ export {
2727
import { feedbackIntegrationShim } from '@sentry-internal/integration-shims';
2828
export { feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration };
2929

30-
export { replayIntegration } from '@sentry-internal/replay';
30+
export { replayIntegration, getReplay } from '@sentry-internal/replay';

0 commit comments

Comments
 (0)