File tree 2 files changed +4
-20
lines changed 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';
8
8
9
9
// Hence, we export everything from the Node SDK explicitly:
10
10
export {
11
- // eslint-disable-next-line deprecation/deprecation
12
- addGlobalEventProcessor ,
13
11
addEventProcessor ,
14
12
addBreadcrumb ,
15
13
captureException ,
@@ -18,10 +16,6 @@ export {
18
16
captureCheckIn ,
19
17
withMonitor ,
20
18
createTransport ,
21
- // eslint-disable-next-line deprecation/deprecation
22
- extractTraceparentData ,
23
- // eslint-disable-next-line deprecation/deprecation
24
- getActiveTransaction ,
25
19
getHubFromCarrier ,
26
20
// eslint-disable-next-line deprecation/deprecation
27
21
getCurrentHub ,
@@ -31,12 +25,8 @@ export {
31
25
getGlobalScope ,
32
26
getIsolationScope ,
33
27
Hub ,
34
- // eslint-disable-next-line deprecation/deprecation
35
- makeMain ,
36
28
setCurrentClient ,
37
29
Scope ,
38
- // eslint-disable-next-line deprecation/deprecation
39
- startTransaction ,
40
30
SDK_VERSION ,
41
31
setContext ,
42
32
setExtra ,
@@ -46,14 +36,10 @@ export {
46
36
setUser ,
47
37
getSpanStatusFromHttpCode ,
48
38
setHttpStatus ,
49
- // eslint-disable-next-line deprecation/deprecation
50
- trace ,
51
39
withScope ,
52
40
withIsolationScope ,
53
41
autoDiscoverNodePerformanceMonitoringIntegrations ,
54
42
makeNodeTransport ,
55
- // eslint-disable-next-line deprecation/deprecation
56
- defaultIntegrations ,
57
43
getDefaultIntegrations ,
58
44
defaultStackParser ,
59
45
flush ,
@@ -78,8 +64,6 @@ export {
78
64
setMeasurement ,
79
65
getActiveSpan ,
80
66
startSpan ,
81
- // eslint-disable-next-line deprecation/deprecation
82
- startActiveSpan ,
83
67
startInactiveSpan ,
84
68
startSpanManual ,
85
69
continueTrace ,
Original file line number Diff line number Diff line change 1
1
// 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
3
3
// exports in this file - which we do below.
4
4
export * from './index.client' ;
5
5
export * from './index.server' ;
@@ -13,9 +13,9 @@ import sentryAstro from './index.server';
13
13
/** Initializes Sentry Astro SDK */
14
14
export declare function init ( options : Options | clientSdk . BrowserOptions | serverSdk . NodeOptions ) : void ;
15
15
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 ;
19
19
20
20
export declare const linkedErrorsIntegration : typeof clientSdk . linkedErrorsIntegration ;
21
21
You can’t perform that action at this time.
0 commit comments