File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed
dev-packages/e2e-tests/test-applications/nextjs-14 Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1313 "test:assert" : " pnpm test:prod && pnpm test:dev"
1414 },
1515 "dependencies" : {
16+ "@playwright/test" : " ^1.27.1" ,
1617 "@sentry/nextjs" : " latest || *" ,
1718 "@types/node" : " 18.11.17" ,
1819 "@types/react" : " 18.0.26" ,
1920 "@types/react-dom" : " 18.0.9" ,
20- "next" : " 14.0.4 " ,
21+ "next" : " 14.1.3 " ,
2122 "react" : " 18.2.0" ,
2223 "react-dom" : " 18.2.0" ,
23- "typescript" : " 4.9.5" ,
24- "wait-port" : " 1.0.4" ,
2524 "ts-node" : " 10.9.1" ,
26- "@playwright/test" : " ^1.27.1"
25+ "typescript" : " 4.9.5" ,
26+ "wait-port" : " 1.0.4"
2727 },
2828 "devDependencies" : {
2929 "@sentry/types" : " latest || *" ,
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ export declare const defaultStackParser: StackParser;
3030export declare function getSentryRelease ( fallback ?: string ) : string | undefined ;
3131
3232export declare const ErrorBoundary : typeof clientSdk . ErrorBoundary ;
33+ export declare const createReduxEnhancer : typeof clientSdk . createReduxEnhancer ;
3334export declare const showReportDialog : typeof clientSdk . showReportDialog ;
3435export declare const withErrorBoundary : typeof clientSdk . withErrorBoundary ;
3536
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import { distDirRewriteFramesIntegration } from './distDirRewriteFramesIntegrati
1616import { Http } from './httpIntegration' ;
1717import { OnUncaughtException } from './onUncaughtExceptionIntegration' ;
1818
19- export { createReduxEnhancer } from '@sentry/react' ;
2019export * from '@sentry/node-experimental' ;
2120export { captureUnderscoreErrorException } from '../common/_error' ;
2221
@@ -47,6 +46,13 @@ export const ErrorBoundary = (props: React.PropsWithChildren<unknown>): React.Re
4746 return props . children as React . ReactNode ;
4847} ;
4948
49+ /**
50+ * A passthrough redux enhancer for the server that doesn't depend on anything from the `@sentry/react` package.
51+ */
52+ export function createReduxEnhancer ( ) {
53+ return ( createStore : unknown ) => createStore ;
54+ }
55+
5056/**
5157 * A passthrough error boundary wrapper for the server that doesn't depend on any react. Error boundaries don't catch
5258 * SSR errors so they should simply be a passthrough.
You can’t perform that action at this time.
0 commit comments