File tree Expand file tree Collapse file tree 3 files changed +16
-0
lines changed Expand file tree Collapse file tree 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 {
123123 options . integrations = integrations ;
124124}
125125
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+
126133export {
127134 // eslint-disable-next-line deprecation/deprecation
128135 withSentryServerSideGetInitialProps ,
Original file line number Diff line number Diff line change @@ -126,6 +126,13 @@ export function lastEventId(): string | undefined {
126126 return getCurrentHub ( ) . lastEventId ( ) ;
127127}
128128
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+
129136export { flush } from './utils/flush' ;
130137
131138export * from '@sentry/core' ;
Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ export declare const withErrorBoundary: typeof clientSdk.withErrorBoundary;
3939export declare const Span : typeof edgeSdk . Span ;
4040export declare const Transaction : typeof edgeSdk . Transaction ;
4141
42+ export { withSentryConfig } from './config' ;
43+
4244/**
4345 * @deprecated Use `wrapApiHandlerWithSentry` instead
4446 */
You can’t perform that action at this time.
0 commit comments