File tree 3 files changed +16
-0
lines changed
3 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,13 @@ function addClientIntegrations(options: BrowserOptions): void {
123
123
options . integrations = integrations ;
124
124
}
125
125
126
+ /**
127
+ * Just a passthrough in case this is imported from the client.
128
+ */
129
+ export function withSentryConfig < T > ( exportedUserNextConfig : T ) : T {
130
+ return exportedUserNextConfig ;
131
+ }
132
+
126
133
export {
127
134
// eslint-disable-next-line deprecation/deprecation
128
135
withSentryServerSideGetInitialProps ,
Original file line number Diff line number Diff line change @@ -126,6 +126,13 @@ export function lastEventId(): string | undefined {
126
126
return getCurrentHub ( ) . lastEventId ( ) ;
127
127
}
128
128
129
+ /**
130
+ * Just a passthrough in case this is imported from the client.
131
+ */
132
+ export function withSentryConfig < T > ( exportedUserNextConfig : T ) : T {
133
+ return exportedUserNextConfig ;
134
+ }
135
+
129
136
export { flush } from './utils/flush' ;
130
137
131
138
export * from '@sentry/core' ;
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ export declare const withErrorBoundary: typeof clientSdk.withErrorBoundary;
39
39
export declare const Span : typeof edgeSdk . Span ;
40
40
export declare const Transaction : typeof edgeSdk . Transaction ;
41
41
42
+ export { withSentryConfig } from './config' ;
43
+
42
44
/**
43
45
* @deprecated Use `wrapApiHandlerWithSentry` instead
44
46
*/
You can’t perform that action at this time.
0 commit comments