File tree 3 files changed +12
-5
lines changed
dev-packages/e2e-tests/test-applications/nextjs-14
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 @@ -30,6 +30,7 @@ export declare const defaultStackParser: StackParser;
30
30
export declare function getSentryRelease ( fallback ?: string ) : string | undefined ;
31
31
32
32
export declare const ErrorBoundary : typeof clientSdk . ErrorBoundary ;
33
+ export declare const createReduxEnhancer : typeof clientSdk . createReduxEnhancer ;
33
34
export declare const showReportDialog : typeof clientSdk . showReportDialog ;
34
35
export declare const withErrorBoundary : typeof clientSdk . withErrorBoundary ;
35
36
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import { distDirRewriteFramesIntegration } from './distDirRewriteFramesIntegrati
16
16
import { Http } from './httpIntegration' ;
17
17
import { OnUncaughtException } from './onUncaughtExceptionIntegration' ;
18
18
19
- export { createReduxEnhancer } from '@sentry/react' ;
20
19
export * from '@sentry/node-experimental' ;
21
20
export { captureUnderscoreErrorException } from '../common/_error' ;
22
21
@@ -47,6 +46,13 @@ export const ErrorBoundary = (props: React.PropsWithChildren<unknown>): React.Re
47
46
return props . children as React . ReactNode ;
48
47
} ;
49
48
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
+
50
56
/**
51
57
* A passthrough error boundary wrapper for the server that doesn't depend on any react. Error boundaries don't catch
52
58
* SSR errors so they should simply be a passthrough.
You can’t perform that action at this time.
0 commit comments