forked from off-topic/apps.apple.com
40 lines
2.4 KiB
JavaScript
40 lines
2.4 KiB
JavaScript
import { Integrations } from '@sentry/core';
|
|
export { FunctionToString, Hub, InboundFilters, SDK_VERSION, Scope, addBreadcrumb, addGlobalEventProcessor, addTracingExtensions, captureEvent, captureException, captureMessage, configureScope, createTransport, extractTraceparentData, getActiveTransaction, getCurrentHub, getHubFromCarrier, makeMain, makeMultiplexedTransport, setContext, setExtra, setExtras, setTag, setTags, setUser, spanStatusfromHttpCode, startTransaction, trace, withScope } from '@sentry/core';
|
|
import { WINDOW } from './helpers.js';
|
|
export { WINDOW } from './helpers.js';
|
|
export { BrowserClient } from './client.js';
|
|
export { makeFetchTransport } from './transports/fetch.js';
|
|
export { makeXHRTransport } from './transports/xhr.js';
|
|
export { chromeStackLineParser, defaultStackLineParsers, defaultStackParser, geckoStackLineParser, opera10StackLineParser, opera11StackLineParser, winjsStackLineParser } from './stack-parsers.js';
|
|
export { eventFromException, eventFromMessage } from './eventbuilder.js';
|
|
export { createUserFeedbackEnvelope } from './userfeedback.js';
|
|
export { captureUserFeedback, close, defaultIntegrations, flush, forceLoad, init, lastEventId, onLoad, showReportDialog, wrap } from './sdk.js';
|
|
import * as index from './integrations/index.js';
|
|
export { Replay } from '@sentry/replay';
|
|
export { BrowserTracing, defaultRequestInstrumentationOptions, instrumentOutgoingRequests } from '@sentry-internal/tracing';
|
|
export { makeBrowserOfflineTransport } from './transports/offline.js';
|
|
export { onProfilingStartRouteTransaction } from './profiling/hubextensions.js';
|
|
export { BrowserProfilingIntegration } from './profiling/integration.js';
|
|
export { GlobalHandlers } from './integrations/globalhandlers.js';
|
|
export { TryCatch } from './integrations/trycatch.js';
|
|
export { Breadcrumbs } from './integrations/breadcrumbs.js';
|
|
export { LinkedErrors } from './integrations/linkederrors.js';
|
|
export { HttpContext } from './integrations/httpcontext.js';
|
|
export { Dedupe } from './integrations/dedupe.js';
|
|
|
|
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,
|
|
...Integrations,
|
|
...index,
|
|
};
|
|
|
|
export { INTEGRATIONS as Integrations };
|
|
//# sourceMappingURL=index.js.map
|