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 13
13
"test:assert" : " pnpm test:prod && pnpm test:dev"
14
14
},
15
15
"dependencies" : {
16
+ "@playwright/test" : " ^1.27.1" ,
16
17
"@sentry/nextjs" : " latest || *" ,
17
18
"@types/node" : " 18.11.17" ,
18
19
"@types/react" : " 18.0.26" ,
19
20
"@types/react-dom" : " 18.0.9" ,
20
- "next" : " 14.0.4 " ,
21
+ "next" : " 14.1.3 " ,
21
22
"react" : " 18.2.0" ,
22
23
"react-dom" : " 18.2.0" ,
23
- "typescript" : " 4.9.5" ,
24
- "wait-port" : " 1.0.4" ,
25
24
"ts-node" : " 10.9.1" ,
26
- "@playwright/test" : " ^1.27.1"
25
+ "typescript" : " 4.9.5" ,
26
+ "wait-port" : " 1.0.4"
27
27
},
28
28
"devDependencies" : {
29
29
"@sentry/types" : " latest || *" ,
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ export declare const rewriteFramesIntegration: typeof clientSdk.rewriteFramesInt
38
38
export declare function getSentryRelease ( fallback ?: string ) : string | undefined ;
39
39
40
40
export declare const ErrorBoundary : typeof clientSdk . ErrorBoundary ;
41
+ export declare const createReduxEnhancer : typeof clientSdk . createReduxEnhancer ;
41
42
export declare const showReportDialog : typeof clientSdk . showReportDialog ;
42
43
export declare const withErrorBoundary : typeof clientSdk . withErrorBoundary ;
43
44
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import { Http } from './httpIntegration';
17
17
import { OnUncaughtException } from './onUncaughtExceptionIntegration' ;
18
18
import { rewriteFramesIntegration } from './rewriteFramesIntegration' ;
19
19
20
- export { createReduxEnhancer } from '@sentry/react' ;
21
20
export * from '@sentry/node' ;
22
21
export { captureUnderscoreErrorException } from '../common/_error' ;
23
22
@@ -46,6 +45,13 @@ export const ErrorBoundary = (props: React.PropsWithChildren<unknown>): React.Re
46
45
return props . children as React . ReactNode ;
47
46
} ;
48
47
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
+
49
55
/**
50
56
* A passthrough error boundary wrapper for the server that doesn't depend on any react. Error boundaries don't catch
51
57
* SSR errors so they should simply be a passthrough.
You can’t perform that action at this time.
0 commit comments