Skip to content

Commit

Permalink
fix: Replay should be re-exported (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish authored Feb 2, 2023
1 parent a8c4274 commit dbc3f4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/renderer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export {
InboundFilters,
} from '@sentry/core';

export { BrowserClient, lastEventId, showReportDialog } from '@sentry/browser';
export { BrowserClient, lastEventId, showReportDialog, Replay } from '@sentry/browser';
export type { BrowserOptions, ReportDialogOptions } from '@sentry/browser';

export const Integrations = { ...ElectronRendererIntegrations, ...BrowserIntegrations };
Expand Down
3 changes: 1 addition & 2 deletions test/e2e/test-apps/other/browser-replay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"version": "1.0.0",
"main": "src/main.js",
"dependencies": {
"@sentry/electron": "3.0.0",
"@sentry/replay": "7.0.0"
"@sentry/electron": "3.0.0"
}
}
3 changes: 1 addition & 2 deletions test/e2e/test-apps/other/browser-replay/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
</head>
<body>
<script>
const { init } = require('@sentry/electron');
const { Replay } = require('@sentry/replay');
const { init, Replay } = require('@sentry/electron/renderer');

init({
debug: true,
Expand Down

0 comments on commit dbc3f4d

Please sign in to comment.