File tree Expand file tree Collapse file tree 2 files changed +4
-20
lines changed Expand file tree Collapse file tree 2 files changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ import { handleRequest } from './server/middleware';
88
99// Hence, we export everything from the Node SDK explicitly:
1010export {
11- // eslint-disable-next-line deprecation/deprecation
12- addGlobalEventProcessor ,
1311 addEventProcessor ,
1412 addBreadcrumb ,
1513 captureException ,
@@ -18,10 +16,6 @@ export {
1816 captureCheckIn ,
1917 withMonitor ,
2018 createTransport ,
21- // eslint-disable-next-line deprecation/deprecation
22- extractTraceparentData ,
23- // eslint-disable-next-line deprecation/deprecation
24- getActiveTransaction ,
2519 getHubFromCarrier ,
2620 // eslint-disable-next-line deprecation/deprecation
2721 getCurrentHub ,
@@ -31,12 +25,8 @@ export {
3125 getGlobalScope ,
3226 getIsolationScope ,
3327 Hub ,
34- // eslint-disable-next-line deprecation/deprecation
35- makeMain ,
3628 setCurrentClient ,
3729 Scope ,
38- // eslint-disable-next-line deprecation/deprecation
39- startTransaction ,
4030 SDK_VERSION ,
4131 setContext ,
4232 setExtra ,
@@ -46,14 +36,10 @@ export {
4636 setUser ,
4737 getSpanStatusFromHttpCode ,
4838 setHttpStatus ,
49- // eslint-disable-next-line deprecation/deprecation
50- trace ,
5139 withScope ,
5240 withIsolationScope ,
5341 autoDiscoverNodePerformanceMonitoringIntegrations ,
5442 makeNodeTransport ,
55- // eslint-disable-next-line deprecation/deprecation
56- defaultIntegrations ,
5743 getDefaultIntegrations ,
5844 defaultStackParser ,
5945 flush ,
@@ -78,8 +64,6 @@ export {
7864 setMeasurement ,
7965 getActiveSpan ,
8066 startSpan ,
81- // eslint-disable-next-line deprecation/deprecation
82- startActiveSpan ,
8367 startInactiveSpan ,
8468 startSpanManual ,
8569 continueTrace ,
Original file line number Diff line number Diff line change 11// We export everything from both the client part of the SDK and from the server part.
2- // Some of the exports collide, which is not allowed, unless we redifine the colliding
2+ // Some of the exports collide, which is not allowed, unless we redefine the colliding
33// exports in this file - which we do below.
44export * from './index.client' ;
55export * from './index.server' ;
@@ -13,9 +13,9 @@ import sentryAstro from './index.server';
1313/** Initializes Sentry Astro SDK */
1414export declare function init ( options : Options | clientSdk . BrowserOptions | serverSdk . NodeOptions ) : void ;
1515
16- // We export a merged Integrations object so that users can (at least typing-wise) use all integrations everywhere .
17- // eslint-disable-next-line deprecation/deprecation
18- export declare const Integrations : typeof clientSdk . Integrations & typeof serverSdk . Integrations ;
16+ // We only export server Integrations for now, until the exports are removed from Svelte and Node SDKs .
17+ // Necessary to avoid type collision.
18+ export declare const Integrations : typeof serverSdk . Integrations ;
1919
2020export declare const linkedErrorsIntegration : typeof clientSdk . linkedErrorsIntegration ;
2121
You can’t perform that action at this time.
0 commit comments