UNPKG

839 BJavaScriptView Raw
1Object.defineProperty(exports, "__esModule", { value: true });
2var tslib_1 = require("tslib");
3tslib_1.__exportStar(require("./exports"), exports);
4var core_1 = require("@sentry/core");
5var utils_1 = require("@sentry/utils");
6var BrowserIntegrations = require("./integrations");
7var Transports = require("./transports");
8exports.Transports = Transports;
9var windowIntegrations = {};
10// This block is needed to add compatibility with the integrations packages when used with a CDN
11var _window = utils_1.getGlobalObject();
12if (_window.Sentry && _window.Sentry.Integrations) {
13 windowIntegrations = _window.Sentry.Integrations;
14}
15var INTEGRATIONS = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, windowIntegrations), core_1.Integrations), BrowserIntegrations);
16exports.Integrations = INTEGRATIONS;
17//# sourceMappingURL=index.js.map
\No newline at end of file