/
index.bundle.ts
68 lines (60 loc) · 1.31 KB
/
index.bundle.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
export type {
Breadcrumb,
Request,
SdkInfo,
Event,
Exception,
SeverityLevel,
StackFrame,
Stacktrace,
Thread,
User,
} from '@sentry/types';
export type { BrowserOptions, ReportDialogOptions } from '@sentry/browser';
export {
BrowserClient,
defaultIntegrations,
forceLoad,
lastEventId,
onLoad,
showReportDialog,
flush,
close,
wrap,
addGlobalEventProcessor,
addBreadcrumb,
captureException,
captureEvent,
captureMessage,
configureScope,
getHubFromCarrier,
getCurrentHub,
Hub,
Scope,
setContext,
setExtra,
setExtras,
setTag,
setTags,
setUser,
startTransaction,
makeFetchTransport,
makeXHRTransport,
withScope,
SDK_VERSION,
} from '@sentry/browser';
import { Integrations as BrowserIntegrations, WINDOW } from '@sentry/browser';
export { init } from './sdk';
export { vueRouterInstrumentation } from './router';
export { attachErrorHandler } from './errorhandler';
export { createTracingMixins } from './tracing';
let windowIntegrations = {};
// This block is needed to add compatibility with the integrations packages when used with a CDN
if (WINDOW.Sentry && WINDOW.Sentry.Integrations) {
windowIntegrations = WINDOW.Sentry.Integrations;
}
const INTEGRATIONS = {
...windowIntegrations,
...BrowserIntegrations,
};
export { INTEGRATIONS as Integrations };