Skip to content

Commit

Permalink
feat(cdn): Export getReplay in replay CDN bundles (#13881)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mydea authored Oct 7, 2024
1 parent a52f415 commit be87573
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/browser/src/index.bundle.replay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {

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

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

export {
browserTracingIntegrationShim as browserTracingIntegration,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ import { feedbackAsyncIntegration } from './feedbackAsync';
export { getFeedback } from '@sentry-internal/feedback';
export { feedbackAsyncIntegration as feedbackAsyncIntegration, feedbackAsyncIntegration as feedbackIntegration };

export { replayIntegration } from '@sentry-internal/replay';
export { replayIntegration, getReplay } from '@sentry-internal/replay';
2 changes: 1 addition & 1 deletion packages/browser/src/index.bundle.tracing.replay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ export {
import { feedbackIntegrationShim } from '@sentry-internal/integration-shims';
export { feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration };

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

0 comments on commit be87573

Please sign in to comment.