File tree Expand file tree Collapse file tree 3 files changed +49
-14
lines changed Expand file tree Collapse file tree 3 files changed +49
-14
lines changed Original file line number Diff line number Diff line change 1
1
export * from './client' ;
2
-
3
- /**
4
- * This const serves no purpose besides being an identifier for this file that the SDK multiplexer loader can use to
5
- * determine that this is in fact a file that wants to be multiplexed.
6
- */
7
- export const _SENTRY_SDK_MULTIPLEXER = true ;
Original file line number Diff line number Diff line change 1
1
export * from './server' ;
2
2
export * from './config' ;
3
-
4
- // This file is the main entrypoint on the server and/or when the package is `require`d
5
-
6
- /**
7
- * This const serves no purpose besides being an identifier for this file that the SDK multiplexer loader can use to
8
- * determine that this is in fact a file that wants to be multiplexed.
9
- */
10
- export const _SENTRY_SDK_MULTIPLEXER = true ;
Original file line number Diff line number Diff line change
1
+ // Node SDK exports
2
+ // Unfortunately, we cannot `exprt * from '@sentry/node'` because our CJS output mistakenly
3
+ // puts these exports into a `default` rather than on the top-level namespace.
4
+ // Hence, we export everything from the Node SDK explicitly:
5
+ export {
6
+ addGlobalEventProcessor ,
7
+ addBreadcrumb ,
8
+ captureException ,
9
+ captureEvent ,
10
+ captureMessage ,
11
+ configureScope ,
12
+ createTransport ,
13
+ extractTraceparentData ,
14
+ getActiveTransaction ,
15
+ getHubFromCarrier ,
16
+ getCurrentHub ,
17
+ Hub ,
18
+ makeMain ,
19
+ Scope ,
20
+ startTransaction ,
21
+ SDK_VERSION ,
22
+ setContext ,
23
+ setExtra ,
24
+ setExtras ,
25
+ setTag ,
26
+ setTags ,
27
+ setUser ,
28
+ spanStatusfromHttpCode ,
29
+ trace ,
30
+ withScope ,
31
+ autoDiscoverNodePerformanceMonitoringIntegrations ,
32
+ makeNodeTransport ,
33
+ defaultIntegrations ,
34
+ defaultStackParser ,
35
+ lastEventId ,
36
+ flush ,
37
+ close ,
38
+ getSentryRelease ,
39
+ addRequestDataToEvent ,
40
+ DEFAULT_USER_INCLUDES ,
41
+ extractRequestData ,
42
+ deepReadDirSync ,
43
+ Integrations ,
44
+ Handlers ,
45
+ } from '@sentry/node' ;
46
+
47
+ // We can still leave this for the carrier init and type exports
1
48
export * from '@sentry/node' ;
2
49
50
+ // -------------------------
51
+ // SvelteKit SDK exports:
3
52
export { init } from './sdk' ;
4
53
export { handleErrorWithSentry } from './handleError' ;
5
54
export { wrapLoadWithSentry } from './load' ;
You can’t perform that action at this time.
0 commit comments