10
10
// SvelteKit SDK exports:
11
11
export { handleErrorWithSentry } from './handleError' ;
12
12
export { wrapLoadWithSentry , wrapServerLoadWithSentry } from './load' ;
13
- export { sentryHandle } from './handle' ;
13
+ export { sentryHandle , initCloudflareSentryHandle } from './handle' ;
14
14
export { wrapServerRouteWithSentry } from './serverRoute' ;
15
15
16
- // Re-export some functions from core SDK
16
+ // Re-export some functions from Cloudflare SDK
17
17
export {
18
18
addBreadcrumb ,
19
19
addEventProcessor ,
20
20
addIntegration ,
21
- // eslint-disable-next-line deprecation/deprecation
22
- addRequestDataToEvent ,
23
21
captureCheckIn ,
24
22
captureConsoleIntegration ,
25
23
captureEvent ,
26
24
captureException ,
27
25
captureFeedback ,
28
26
captureMessage ,
29
- captureSession ,
30
27
close ,
31
28
continueTrace ,
32
29
createTransport ,
33
30
// eslint-disable-next-line deprecation/deprecation
34
31
debugIntegration ,
35
32
dedupeIntegration ,
36
- DEFAULT_USER_INCLUDES ,
37
- endSession ,
38
- // eslint-disable-next-line deprecation/deprecation
39
- extractRequestData ,
40
33
extraErrorDataIntegration ,
41
34
flush ,
42
35
functionToStringIntegration ,
43
36
getActiveSpan ,
44
37
getClient ,
45
- // eslint-disable-next-line deprecation/deprecation
46
- getCurrentHub ,
47
38
getCurrentScope ,
39
+ getDefaultIntegrations ,
48
40
getGlobalScope ,
49
41
getIsolationScope ,
50
42
getRootSpan ,
@@ -58,7 +50,6 @@ export {
58
50
linkedErrorsIntegration ,
59
51
// eslint-disable-next-line deprecation/deprecation
60
52
metrics ,
61
- parameterize ,
62
53
requestDataIntegration ,
63
54
rewriteFramesIntegration ,
64
55
Scope ,
@@ -67,8 +58,6 @@ export {
67
58
SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
68
59
SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE ,
69
60
SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ,
70
- // eslint-disable-next-line deprecation/deprecation
71
- sessionTimingIntegration ,
72
61
setContext ,
73
62
setCurrentClient ,
74
63
setExtra ,
@@ -84,7 +73,6 @@ export {
84
73
startInactiveSpan ,
85
74
startNewTrace ,
86
75
suppressTracing ,
87
- startSession ,
88
76
startSpan ,
89
77
startSpanManual ,
90
78
trpcMiddleware ,
@@ -93,7 +81,7 @@ export {
93
81
withMonitor ,
94
82
withScope ,
95
83
zodErrorsIntegration ,
96
- } from '@sentry/core ' ;
84
+ } from '@sentry/cloudflare ' ;
97
85
98
86
/**
99
87
* Tracks the Svelte component's initialization and mounting operation as well as
0 commit comments