UNPKG

4.86 kBJavaScriptView Raw
1import { Hub as Hub$1, Scope as Scope$1, getCurrentHub as getCurrentHub$1, addGlobalEventProcessor as addGlobalEventProcessor$1, getHubFromCarrier as getHubFromCarrier$1, getMainCarrier as getMainCarrier$1, makeMain as makeMain$1, setHubOnCarrier as setHubOnCarrier$1, SessionFlusher as SessionFlusher$1, closeSession as closeSession$1, makeSession as makeSession$1, updateSession as updateSession$1, addBreadcrumb as addBreadcrumb$1, captureException as captureException$1, captureEvent as captureEvent$1, captureMessage as captureMessage$1, configureScope as configureScope$1, startTransaction as startTransaction$1, setContext as setContext$1, setExtra as setExtra$1, setExtras as setExtras$1, setTag as setTag$1, setTags as setTags$1, setUser as setUser$1, withScope as withScope$1 } from '@sentry/core';
2
3/**
4 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8
5 */
6class Hub extends Hub$1 {}
7
8/**
9 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8
10 */
11class Scope extends Scope$1 {}
12
13/**
14 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
15 */
16const getCurrentHub = getCurrentHub$1;
17
18/**
19 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
20 */
21const addGlobalEventProcessor = addGlobalEventProcessor$1;
22
23/**
24 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
25 */
26const getHubFromCarrier = getHubFromCarrier$1;
27
28/**
29 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
30 */
31const getMainCarrier = getMainCarrier$1;
32
33/**
34 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
35 */
36const makeMain = makeMain$1;
37
38/**
39 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
40 */
41const setHubOnCarrier = setHubOnCarrier$1;
42
43/**
44 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
45 */
46const SessionFlusher = SessionFlusher$1;
47
48/**
49 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
50 */
51const closeSession = closeSession$1;
52
53/**
54 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
55 */
56const makeSession = makeSession$1;
57
58/**
59 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
60 */
61const updateSession = updateSession$1;
62
63/**
64 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
65 */
66const addBreadcrumb = addBreadcrumb$1;
67
68/**
69 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
70 */
71const captureException = captureException$1;
72
73/**
74 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
75 */
76const captureEvent = captureEvent$1;
77
78/**
79 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
80 */
81const captureMessage = captureMessage$1;
82
83/**
84 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
85 */
86const configureScope = configureScope$1;
87
88/**
89 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
90 */
91const startTransaction = startTransaction$1;
92
93/**
94 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
95 */
96const setContext = setContext$1;
97
98/**
99 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
100 */
101const setExtra = setExtra$1;
102
103/**
104 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
105 */
106const setExtras = setExtras$1;
107
108/**
109 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
110 */
111const setTag = setTag$1;
112
113/**
114 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
115 */
116const setTags = setTags$1;
117
118/**
119 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
120 */
121const setUser = setUser$1;
122
123/**
124 * @deprecated This export has moved to @sentry/core. The @sentry/hub package will be removed in v8.
125 */
126const withScope = withScope$1;
127
128export { Hub, Scope, SessionFlusher, addBreadcrumb, addGlobalEventProcessor, captureEvent, captureException, captureMessage, closeSession, configureScope, getCurrentHub, getHubFromCarrier, getMainCarrier, makeMain, makeSession, setContext, setExtra, setExtras, setHubOnCarrier, setTag, setTags, setUser, startTransaction, updateSession, withScope };
129//# sourceMappingURL=index.js.map