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 @@ -38,6 +38,7 @@ export declare const rewriteFramesIntegration: typeof clientSdk.rewriteFramesInt
3838export declare function getSentryRelease ( fallback ?: string ) : string | undefined ;
3939
4040export declare const ErrorBoundary : typeof clientSdk . ErrorBoundary ;
41+ export declare const createReduxEnhancer : typeof clientSdk . createReduxEnhancer ;
4142export declare const showReportDialog : typeof clientSdk . showReportDialog ;
4243export declare const withErrorBoundary : typeof clientSdk . withErrorBoundary ;
4344
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import { Http } from './httpIntegration';
1717import { OnUncaughtException } from './onUncaughtExceptionIntegration' ;
1818import { rewriteFramesIntegration } from './rewriteFramesIntegration' ;
1919
20- export { createReduxEnhancer } from '@sentry/react' ;
2120export * from '@sentry/node' ;
2221export { captureUnderscoreErrorException } from '../common/_error' ;
2322
@@ -46,6 +45,13 @@ export const ErrorBoundary = (props: React.PropsWithChildren<unknown>): React.Re
4645 return props . children as React . ReactNode ;
4746} ;
4847
48+ /**
49+ * A passthrough redux enhancer for the server that doesn't depend on anything from the `@sentry/react` package.
50+ */
51+ export function createReduxEnhancer ( ) {
52+ return ( createStore : unknown ) => createStore ;
53+ }
54+
4955/**
5056 * A passthrough error boundary wrapper for the server that doesn't depend on any react. Error boundaries don't catch
5157 * SSR errors so they should simply be a passthrough.
You can’t perform that action at this time.
0 commit comments