@sentry/browser
Advanced tools
Comparing version 7.93.0 to 7.94.1
@@ -14,2 +14,3 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
const replay = require('@sentry/replay'); | ||
const replayCanvas = require('@sentry-internal/replay-canvas'); | ||
const feedback = require('@sentry-internal/feedback'); | ||
@@ -36,2 +37,3 @@ const tracing = require('@sentry-internal/tracing'); | ||
...windowIntegrations, | ||
// eslint-disable-next-line deprecation/deprecation | ||
...core.Integrations, | ||
@@ -61,2 +63,3 @@ ...index, | ||
exports.flush = core.flush; | ||
exports.functionToStringIntegration = core.functionToStringIntegration; | ||
exports.getActiveSpan = core.getActiveSpan; | ||
@@ -68,2 +71,3 @@ exports.getActiveTransaction = core.getActiveTransaction; | ||
exports.getHubFromCarrier = core.getHubFromCarrier; | ||
exports.inboundFiltersIntegration = core.inboundFiltersIntegration; | ||
exports.lastEventId = core.lastEventId; | ||
@@ -73,3 +77,5 @@ exports.makeMain = core.makeMain; | ||
exports.metrics = core.metrics; | ||
exports.moduleMetadataIntegration = core.moduleMetadataIntegration; | ||
exports.setContext = core.setContext; | ||
exports.setCurrentClient = core.setCurrentClient; | ||
exports.setExtra = core.setExtra; | ||
@@ -87,2 +93,3 @@ exports.setExtras = core.setExtras; | ||
exports.trace = core.trace; | ||
exports.withIsolationScope = core.withIsolationScope; | ||
exports.withScope = core.withScope; | ||
@@ -112,3 +119,5 @@ exports.WINDOW = helpers.WINDOW; | ||
exports.Replay = replay.Replay; | ||
exports.ReplayCanvas = replayCanvas.ReplayCanvas; | ||
exports.Feedback = feedback.Feedback; | ||
exports.sendFeedback = feedback.sendFeedback; | ||
exports.BrowserTracing = tracing.BrowserTracing; | ||
@@ -115,0 +124,0 @@ exports.defaultRequestInstrumentationOptions = tracing.defaultRequestInstrumentationOptions; |
@@ -15,3 +15,3 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
const breadcrumbsIntegration = (options = {}) => { | ||
const breadcrumbsIntegration = ((options = {}) => { | ||
const _options = { | ||
@@ -29,2 +29,4 @@ console: true, | ||
name: INTEGRATION_NAME, | ||
// TODO v8: Remove this | ||
setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function | ||
setup(client) { | ||
@@ -51,3 +53,3 @@ if (_options.console) { | ||
}; | ||
}; | ||
}) ; | ||
@@ -58,4 +60,6 @@ /** | ||
// eslint-disable-next-line deprecation/deprecation | ||
const Breadcrumbs = core.convertIntegrationFnToClass(INTEGRATION_NAME, breadcrumbsIntegration); | ||
const Breadcrumbs = core.convertIntegrationFnToClass(INTEGRATION_NAME, breadcrumbsIntegration) | ||
; | ||
/** | ||
@@ -62,0 +66,0 @@ * Adds a breadcrumb for Sentry events or transactions if this option is enabled. |
@@ -9,3 +9,3 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
const dedupeIntegration = () => { | ||
const dedupeIntegration = (() => { | ||
let previousEvent; | ||
@@ -15,2 +15,4 @@ | ||
name: INTEGRATION_NAME, | ||
// TODO v8: Remove this | ||
setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function | ||
processEvent(currentEvent) { | ||
@@ -34,8 +36,10 @@ // We want to ignore any non-error type events, e.g. transactions or replays | ||
}; | ||
}; | ||
}) ; | ||
/** Deduplication filter */ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const Dedupe = core.convertIntegrationFnToClass(INTEGRATION_NAME, dedupeIntegration); | ||
const Dedupe = core.convertIntegrationFnToClass(INTEGRATION_NAME, dedupeIntegration) | ||
; | ||
function _shouldDropEvent(currentEvent, previousEvent) { | ||
@@ -42,0 +46,0 @@ if (!previousEvent) { |
@@ -13,3 +13,3 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
const globalHandlersIntegrations = (options = {}) => { | ||
const globalHandlersIntegration = ((options = {}) => { | ||
const _options = { | ||
@@ -37,8 +37,13 @@ onerror: true, | ||
}; | ||
}; | ||
}) ; | ||
/** Global handlers */ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const GlobalHandlers = core.convertIntegrationFnToClass(INTEGRATION_NAME, globalHandlersIntegrations); | ||
const GlobalHandlers = core.convertIntegrationFnToClass( | ||
INTEGRATION_NAME, | ||
globalHandlersIntegration, | ||
) | ||
; | ||
function _installGlobalOnErrorHandler(client) { | ||
@@ -45,0 +50,0 @@ utils.addGlobalErrorInstrumentationHandler(data => { |
@@ -8,5 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
const httpContextIntegration = () => { | ||
const httpContextIntegration = (() => { | ||
return { | ||
name: INTEGRATION_NAME, | ||
// TODO v8: Remove this | ||
setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function | ||
preprocessEvent(event) { | ||
@@ -33,9 +35,11 @@ // if none of the information we want exists, don't bother | ||
}; | ||
}; | ||
}) ; | ||
/** HttpContext integration collects information about HTTP request headers */ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const HttpContext = core.convertIntegrationFnToClass(INTEGRATION_NAME, httpContextIntegration); | ||
const HttpContext = core.convertIntegrationFnToClass(INTEGRATION_NAME, httpContextIntegration) | ||
; | ||
exports.HttpContext = HttpContext; | ||
//# sourceMappingURL=httpcontext.js.map |
@@ -12,3 +12,3 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
const linkedErrorsIntegration = (options = {}) => { | ||
const linkedErrorsIntegration = ((options = {}) => { | ||
const limit = options.limit || DEFAULT_LIMIT; | ||
@@ -19,2 +19,4 @@ const key = options.key || DEFAULT_KEY; | ||
name: INTEGRATION_NAME, | ||
// TODO v8: Remove this | ||
setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function | ||
preprocessEvent(event, hint, client) { | ||
@@ -35,9 +37,11 @@ const options = client.getOptions(); | ||
}; | ||
}; | ||
}) ; | ||
/** Aggregrate linked errors in an event. */ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const LinkedErrors = core.convertIntegrationFnToClass(INTEGRATION_NAME, linkedErrorsIntegration); | ||
const LinkedErrors = core.convertIntegrationFnToClass(INTEGRATION_NAME, linkedErrorsIntegration) | ||
; | ||
exports.LinkedErrors = LinkedErrors; | ||
//# sourceMappingURL=linkederrors.js.map |
@@ -43,3 +43,3 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
const tryCatchIntegration = (options = {}) => { | ||
const browserApiErrorsIntegration = ((options = {}) => { | ||
const _options = { | ||
@@ -82,8 +82,13 @@ XMLHttpRequest: true, | ||
}; | ||
}; | ||
}) ; | ||
/** Wrap timer functions and event targets to catch errors and provide better meta data */ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const TryCatch = core.convertIntegrationFnToClass(INTEGRATION_NAME, tryCatchIntegration); | ||
const TryCatch = core.convertIntegrationFnToClass( | ||
INTEGRATION_NAME, | ||
browserApiErrorsIntegration, | ||
) | ||
; | ||
function _wrapTimeFunction(original) { | ||
@@ -90,0 +95,0 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any |
@@ -11,5 +11,7 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
const browserProfilingIntegration = () => { | ||
const browserProfilingIntegration = (() => { | ||
return { | ||
name: INTEGRATION_NAME, | ||
// TODO v8: Remove this | ||
setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function | ||
setup(client) { | ||
@@ -92,3 +94,3 @@ const scope = core.getCurrentScope(); | ||
}; | ||
}; | ||
}) ; | ||
@@ -105,5 +107,8 @@ /** | ||
// eslint-disable-next-line deprecation/deprecation | ||
const BrowserProfilingIntegration = core.convertIntegrationFnToClass(INTEGRATION_NAME, browserProfilingIntegration); | ||
const BrowserProfilingIntegration = core.convertIntegrationFnToClass( | ||
INTEGRATION_NAME, | ||
browserProfilingIntegration, | ||
) ; | ||
exports.BrowserProfilingIntegration = BrowserProfilingIntegration; | ||
//# sourceMappingURL=integration.js.map |
@@ -18,5 +18,6 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
/* eslint-disable deprecation/deprecation */ | ||
const defaultIntegrations = [ | ||
new core.Integrations.InboundFilters(), | ||
new core.Integrations.FunctionToString(), | ||
new core.InboundFilters(), | ||
new core.FunctionToString(), | ||
new trycatch.TryCatch(), | ||
@@ -29,2 +30,3 @@ new breadcrumbs.Breadcrumbs(), | ||
]; | ||
/* eslint-enable deprecation/deprecation */ | ||
@@ -131,2 +133,3 @@ /** | ||
options = {}, | ||
// eslint-disable-next-line deprecation/deprecation | ||
hub = core.getCurrentHub(), | ||
@@ -140,2 +143,3 @@ ) => { | ||
// eslint-disable-next-line deprecation/deprecation | ||
const { client, scope } = hub.getStackTop(); | ||
@@ -142,0 +146,0 @@ const dsn = options.dsn || (client && client.getDsn()); |
import { Integrations } from '@sentry/core'; | ||
export { FunctionToString, Hub, InboundFilters, ModuleMetadata, SDK_VERSION, Scope, addBreadcrumb, addEventProcessor, addGlobalEventProcessor, addIntegration, addTracingExtensions, captureEvent, captureException, captureMessage, close, configureScope, continueTrace, createTransport, extractTraceparentData, flush, getActiveSpan, getActiveTransaction, getClient, getCurrentHub, getCurrentScope, getHubFromCarrier, lastEventId, makeMain, makeMultiplexedTransport, metrics, setContext, setExtra, setExtras, setMeasurement, setTag, setTags, setUser, spanStatusfromHttpCode, startInactiveSpan, startSpan, startSpanManual, startTransaction, trace, withScope } from '@sentry/core'; | ||
export { FunctionToString, Hub, InboundFilters, ModuleMetadata, SDK_VERSION, Scope, addBreadcrumb, addEventProcessor, addGlobalEventProcessor, addIntegration, addTracingExtensions, captureEvent, captureException, captureMessage, close, configureScope, continueTrace, createTransport, extractTraceparentData, flush, functionToStringIntegration, getActiveSpan, getActiveTransaction, getClient, getCurrentHub, getCurrentScope, getHubFromCarrier, inboundFiltersIntegration, lastEventId, makeMain, makeMultiplexedTransport, metrics, moduleMetadataIntegration, setContext, setCurrentClient, setExtra, setExtras, setMeasurement, setTag, setTags, setUser, spanStatusfromHttpCode, startInactiveSpan, startSpan, startSpanManual, startTransaction, trace, withIsolationScope, withScope } from '@sentry/core'; | ||
import { WINDOW } from './helpers.js'; | ||
@@ -14,3 +14,4 @@ export { WINDOW } from './helpers.js'; | ||
export { Replay } from '@sentry/replay'; | ||
export { Feedback } from '@sentry-internal/feedback'; | ||
export { ReplayCanvas } from '@sentry-internal/replay-canvas'; | ||
export { Feedback, sendFeedback } from '@sentry-internal/feedback'; | ||
export { BrowserTracing, defaultRequestInstrumentationOptions, instrumentOutgoingRequests } from '@sentry-internal/tracing'; | ||
@@ -36,2 +37,3 @@ export { makeBrowserOfflineTransport } from './transports/offline.js'; | ||
...windowIntegrations, | ||
// eslint-disable-next-line deprecation/deprecation | ||
...Integrations, | ||
@@ -38,0 +40,0 @@ ...index, |
@@ -13,3 +13,3 @@ import { convertIntegrationFnToClass, getClient, addBreadcrumb } from '@sentry/core'; | ||
const breadcrumbsIntegration = (options = {}) => { | ||
const breadcrumbsIntegration = ((options = {}) => { | ||
const _options = { | ||
@@ -27,2 +27,4 @@ console: true, | ||
name: INTEGRATION_NAME, | ||
// TODO v8: Remove this | ||
setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function | ||
setup(client) { | ||
@@ -49,3 +51,3 @@ if (_options.console) { | ||
}; | ||
}; | ||
}) ; | ||
@@ -56,4 +58,6 @@ /** | ||
// eslint-disable-next-line deprecation/deprecation | ||
const Breadcrumbs = convertIntegrationFnToClass(INTEGRATION_NAME, breadcrumbsIntegration); | ||
const Breadcrumbs = convertIntegrationFnToClass(INTEGRATION_NAME, breadcrumbsIntegration) | ||
; | ||
/** | ||
@@ -60,0 +64,0 @@ * Adds a breadcrumb for Sentry events or transactions if this option is enabled. |
@@ -7,3 +7,3 @@ import { convertIntegrationFnToClass } from '@sentry/core'; | ||
const dedupeIntegration = () => { | ||
const dedupeIntegration = (() => { | ||
let previousEvent; | ||
@@ -13,2 +13,4 @@ | ||
name: INTEGRATION_NAME, | ||
// TODO v8: Remove this | ||
setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function | ||
processEvent(currentEvent) { | ||
@@ -32,8 +34,10 @@ // We want to ignore any non-error type events, e.g. transactions or replays | ||
}; | ||
}; | ||
}) ; | ||
/** Deduplication filter */ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const Dedupe = convertIntegrationFnToClass(INTEGRATION_NAME, dedupeIntegration); | ||
const Dedupe = convertIntegrationFnToClass(INTEGRATION_NAME, dedupeIntegration) | ||
; | ||
function _shouldDropEvent(currentEvent, previousEvent) { | ||
@@ -40,0 +44,0 @@ if (!previousEvent) { |
@@ -11,3 +11,3 @@ import { convertIntegrationFnToClass, getClient, captureEvent } from '@sentry/core'; | ||
const globalHandlersIntegrations = (options = {}) => { | ||
const globalHandlersIntegration = ((options = {}) => { | ||
const _options = { | ||
@@ -35,8 +35,13 @@ onerror: true, | ||
}; | ||
}; | ||
}) ; | ||
/** Global handlers */ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const GlobalHandlers = convertIntegrationFnToClass(INTEGRATION_NAME, globalHandlersIntegrations); | ||
const GlobalHandlers = convertIntegrationFnToClass( | ||
INTEGRATION_NAME, | ||
globalHandlersIntegration, | ||
) | ||
; | ||
function _installGlobalOnErrorHandler(client) { | ||
@@ -43,0 +48,0 @@ addGlobalErrorInstrumentationHandler(data => { |
@@ -6,5 +6,7 @@ import { convertIntegrationFnToClass } from '@sentry/core'; | ||
const httpContextIntegration = () => { | ||
const httpContextIntegration = (() => { | ||
return { | ||
name: INTEGRATION_NAME, | ||
// TODO v8: Remove this | ||
setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function | ||
preprocessEvent(event) { | ||
@@ -31,9 +33,11 @@ // if none of the information we want exists, don't bother | ||
}; | ||
}; | ||
}) ; | ||
/** HttpContext integration collects information about HTTP request headers */ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const HttpContext = convertIntegrationFnToClass(INTEGRATION_NAME, httpContextIntegration); | ||
const HttpContext = convertIntegrationFnToClass(INTEGRATION_NAME, httpContextIntegration) | ||
; | ||
export { HttpContext }; | ||
//# sourceMappingURL=httpcontext.js.map |
@@ -10,3 +10,3 @@ import { convertIntegrationFnToClass } from '@sentry/core'; | ||
const linkedErrorsIntegration = (options = {}) => { | ||
const linkedErrorsIntegration = ((options = {}) => { | ||
const limit = options.limit || DEFAULT_LIMIT; | ||
@@ -17,2 +17,4 @@ const key = options.key || DEFAULT_KEY; | ||
name: INTEGRATION_NAME, | ||
// TODO v8: Remove this | ||
setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function | ||
preprocessEvent(event, hint, client) { | ||
@@ -33,9 +35,11 @@ const options = client.getOptions(); | ||
}; | ||
}; | ||
}) ; | ||
/** Aggregrate linked errors in an event. */ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const LinkedErrors = convertIntegrationFnToClass(INTEGRATION_NAME, linkedErrorsIntegration); | ||
const LinkedErrors = convertIntegrationFnToClass(INTEGRATION_NAME, linkedErrorsIntegration) | ||
; | ||
export { LinkedErrors }; | ||
//# sourceMappingURL=linkederrors.js.map |
@@ -41,3 +41,3 @@ import { convertIntegrationFnToClass } from '@sentry/core'; | ||
const tryCatchIntegration = (options = {}) => { | ||
const browserApiErrorsIntegration = ((options = {}) => { | ||
const _options = { | ||
@@ -80,8 +80,13 @@ XMLHttpRequest: true, | ||
}; | ||
}; | ||
}) ; | ||
/** Wrap timer functions and event targets to catch errors and provide better meta data */ | ||
// eslint-disable-next-line deprecation/deprecation | ||
const TryCatch = convertIntegrationFnToClass(INTEGRATION_NAME, tryCatchIntegration); | ||
const TryCatch = convertIntegrationFnToClass( | ||
INTEGRATION_NAME, | ||
browserApiErrorsIntegration, | ||
) | ||
; | ||
function _wrapTimeFunction(original) { | ||
@@ -88,0 +93,0 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any |
@@ -9,5 +9,7 @@ import { convertIntegrationFnToClass, getCurrentScope } from '@sentry/core'; | ||
const browserProfilingIntegration = () => { | ||
const browserProfilingIntegration = (() => { | ||
return { | ||
name: INTEGRATION_NAME, | ||
// TODO v8: Remove this | ||
setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function | ||
setup(client) { | ||
@@ -90,3 +92,3 @@ const scope = getCurrentScope(); | ||
}; | ||
}; | ||
}) ; | ||
@@ -103,5 +105,8 @@ /** | ||
// eslint-disable-next-line deprecation/deprecation | ||
const BrowserProfilingIntegration = convertIntegrationFnToClass(INTEGRATION_NAME, browserProfilingIntegration); | ||
const BrowserProfilingIntegration = convertIntegrationFnToClass( | ||
INTEGRATION_NAME, | ||
browserProfilingIntegration, | ||
) ; | ||
export { BrowserProfilingIntegration }; | ||
//# sourceMappingURL=integration.js.map |
@@ -1,2 +0,2 @@ | ||
import { Integrations, getIntegrationsToSetup, initAndBind, getReportDialogEndpoint, getCurrentHub, startSession, captureSession, getClient } from '@sentry/core'; | ||
import { InboundFilters, FunctionToString, getIntegrationsToSetup, initAndBind, getReportDialogEndpoint, getCurrentHub, startSession, captureSession, getClient } from '@sentry/core'; | ||
import { stackParserFromStackParserOptions, supportsFetch, logger, addHistoryInstrumentationHandler } from '@sentry/utils'; | ||
@@ -16,5 +16,6 @@ import { BrowserClient } from './client.js'; | ||
/* eslint-disable deprecation/deprecation */ | ||
const defaultIntegrations = [ | ||
new Integrations.InboundFilters(), | ||
new Integrations.FunctionToString(), | ||
new InboundFilters(), | ||
new FunctionToString(), | ||
new TryCatch(), | ||
@@ -27,2 +28,3 @@ new Breadcrumbs(), | ||
]; | ||
/* eslint-enable deprecation/deprecation */ | ||
@@ -129,2 +131,3 @@ /** | ||
options = {}, | ||
// eslint-disable-next-line deprecation/deprecation | ||
hub = getCurrentHub(), | ||
@@ -138,2 +141,3 @@ ) => { | ||
// eslint-disable-next-line deprecation/deprecation | ||
const { client, scope } = hub.getStackTop(); | ||
@@ -140,0 +144,0 @@ const dsn = options.dsn || (client && client.getDsn()); |
{ | ||
"name": "@sentry/browser", | ||
"version": "7.93.0", | ||
"version": "7.94.1", | ||
"description": "Official Sentry SDK for browsers", | ||
@@ -32,11 +32,12 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry-internal/feedback": "7.93.0", | ||
"@sentry-internal/tracing": "7.93.0", | ||
"@sentry/core": "7.93.0", | ||
"@sentry/replay": "7.93.0", | ||
"@sentry/types": "7.93.0", | ||
"@sentry/utils": "7.93.0" | ||
"@sentry-internal/feedback": "7.94.1", | ||
"@sentry-internal/replay-canvas": "7.94.1", | ||
"@sentry-internal/tracing": "7.94.1", | ||
"@sentry/core": "7.94.1", | ||
"@sentry/replay": "7.94.1", | ||
"@sentry/types": "7.94.1", | ||
"@sentry/utils": "7.94.1" | ||
}, | ||
"devDependencies": { | ||
"@sentry-internal/integration-shims": "7.93.0", | ||
"@sentry-internal/integration-shims": "7.94.1", | ||
"@types/md5": "2.1.33", | ||
@@ -58,2 +59,3 @@ "btoa": "^1.2.1", | ||
"karma-webkit-launcher": "^1.0.2", | ||
"mocha": "^6.1.4", | ||
"node-fetch": "^2.6.0", | ||
@@ -60,0 +62,0 @@ "playwright": "^1.31.1", |
export { Breadcrumb, BreadcrumbHint, Request, SdkInfo, Event, EventHint, Exception, Severity, SeverityLevel, StackFrame, Stacktrace, Thread, Transaction, User, Session, } from '@sentry/types'; | ||
export { BrowserOptions } from './client'; | ||
export { ReportDialogOptions } from './helpers'; | ||
export { addGlobalEventProcessor, addEventProcessor, addBreadcrumb, addIntegration, captureException, captureEvent, captureMessage, close, configureScope, createTransport, flush, getHubFromCarrier, getCurrentHub, getClient, getCurrentScope, Hub, lastEventId, makeMain, Scope, startTransaction, getActiveSpan, startSpan, startInactiveSpan, startSpanManual, continueTrace, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, FunctionToString, InboundFilters, metrics, } from '@sentry/core'; | ||
export { addGlobalEventProcessor, addEventProcessor, addBreadcrumb, addIntegration, captureException, captureEvent, captureMessage, close, configureScope, createTransport, flush, getHubFromCarrier, getCurrentHub, getClient, getCurrentScope, Hub, lastEventId, makeMain, setCurrentClient, Scope, startTransaction, getActiveSpan, startSpan, startInactiveSpan, startSpanManual, continueTrace, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, withIsolationScope, FunctionToString, InboundFilters, metrics, functionToStringIntegration, inboundFiltersIntegration, } from '@sentry/core'; | ||
export { WINDOW } from './helpers'; | ||
@@ -6,0 +6,0 @@ export { BrowserClient } from './client'; |
export * from './exports'; | ||
declare const INTEGRATIONS: { | ||
GlobalHandlers: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
GlobalHandlers: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & { | ||
setup: (client: import("@sentry/types").Client<import("@sentry/types").ClientOptions<import("@sentry/types").BaseTransportOptions>>) => void; | ||
}> & (new (options?: Partial<{ | ||
onerror: boolean; | ||
onunhandledrejection: boolean; | ||
}> | undefined) => import("@sentry/types").Integration); | ||
TryCatch: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration> & (new (options?: { | ||
setTimeout: boolean; | ||
setInterval: boolean; | ||
requestAnimationFrame: boolean; | ||
XMLHttpRequest: boolean; | ||
eventTarget: boolean | string[]; | ||
} | undefined) => import("@sentry/types").Integration); | ||
Breadcrumbs: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & { | ||
setup: (client: import("@sentry/types").Client<import("@sentry/types").ClientOptions<import("@sentry/types").BaseTransportOptions>>) => void; | ||
}> & (new (options?: Partial<{ | ||
console: boolean; | ||
dom: boolean | { | ||
serializeAttribute?: string | string[] | undefined; | ||
maxStringLength?: number | undefined; | ||
}; | ||
id: string; | ||
}; | ||
TryCatch: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
Breadcrumbs: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
LinkedErrors: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
HttpContext: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
Dedupe: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
FunctionToString: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
InboundFilters: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
fetch: boolean; | ||
history: boolean; | ||
sentry: boolean; | ||
xhr: boolean; | ||
}> | undefined) => import("@sentry/types").Integration); | ||
LinkedErrors: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & { | ||
preprocessEvent: (event: import("@sentry/types").Event, hint: import("@sentry/types").EventHint, client: import("@sentry/types").Client<import("@sentry/types").ClientOptions<import("@sentry/types").BaseTransportOptions>>) => void; | ||
}> & (new (options?: { | ||
key?: string | undefined; | ||
limit?: number | undefined; | ||
} | undefined) => import("@sentry/types").Integration); | ||
HttpContext: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & { | ||
preprocessEvent: (event: import("@sentry/types").Event) => void; | ||
}>; | ||
Dedupe: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & { | ||
processEvent: (event: import("@sentry/types").Event) => import("@sentry/types").Event; | ||
}>; | ||
FunctionToString: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & { | ||
setupOnce: () => void; | ||
}>; | ||
InboundFilters: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & { | ||
preprocessEvent: (event: import("@sentry/types").Event, hint: import("@sentry/types").EventHint, client: import("@sentry/types").Client<import("@sentry/types").ClientOptions<import("@sentry/types").BaseTransportOptions>>) => void; | ||
}> & (new (options?: Partial<{ | ||
allowUrls: (string | RegExp)[]; | ||
denyUrls: (string | RegExp)[]; | ||
ignoreErrors: (string | RegExp)[]; | ||
ignoreTransactions: (string | RegExp)[]; | ||
ignoreInternal: boolean; | ||
disableErrorDefaults: boolean; | ||
disableTransactionDefaults: boolean; | ||
}> | undefined) => import("@sentry/types").Integration); | ||
}; | ||
@@ -55,6 +59,7 @@ export { INTEGRATIONS as Integrations }; | ||
export { ReplayEventType, ReplayEventWithTime, ReplayBreadcrumbFrame, ReplayBreadcrumbFrameEvent, ReplayOptionFrameEvent, ReplayFrame, ReplayFrameEvent, ReplaySpanFrame, ReplaySpanFrameEvent, } from '@sentry/replay'; | ||
export { Feedback } from '@sentry-internal/feedback'; | ||
export { ReplayCanvas } from '@sentry-internal/replay-canvas'; | ||
export { Feedback, sendFeedback } from '@sentry-internal/feedback'; | ||
export { BrowserTracing, defaultRequestInstrumentationOptions, instrumentOutgoingRequests, } from '@sentry-internal/tracing'; | ||
export { RequestInstrumentationOptions } from '@sentry-internal/tracing'; | ||
export { addTracingExtensions, setMeasurement, extractTraceparentData, getActiveTransaction, spanStatusfromHttpCode, trace, makeMultiplexedTransport, ModuleMetadata, } from '@sentry/core'; | ||
export { addTracingExtensions, setMeasurement, extractTraceparentData, getActiveTransaction, spanStatusfromHttpCode, trace, makeMultiplexedTransport, ModuleMetadata, moduleMetadataIntegration, } from '@sentry/core'; | ||
export { SpanStatusType } from '@sentry/core'; | ||
@@ -61,0 +66,0 @@ export { Span } from '@sentry/types'; |
@@ -0,10 +1,18 @@ | ||
import { Client, Integration, IntegrationClass } from '@sentry/types'; | ||
/** | ||
* Default Breadcrumbs instrumentations | ||
*/ | ||
export declare const Breadcrumbs: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
export declare const Breadcrumbs: IntegrationClass<Integration & { | ||
setup: (client: Client) => void; | ||
}> & (new (options?: Partial<{ | ||
console: boolean; | ||
dom: boolean | { | ||
serializeAttribute?: string | string[]; | ||
maxStringLength?: number; | ||
}; | ||
id: string; | ||
}; | ||
fetch: boolean; | ||
history: boolean; | ||
sentry: boolean; | ||
xhr: boolean; | ||
}>) => Integration); | ||
//# sourceMappingURL=breadcrumbs.d.ts.map |
@@ -0,8 +1,6 @@ | ||
import { Event, Integration, IntegrationClass } from '@sentry/types'; | ||
/** Deduplication filter */ | ||
export declare const Dedupe: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
export declare const Dedupe: IntegrationClass<Integration & { | ||
processEvent: (event: Event) => Event; | ||
}>; | ||
//# sourceMappingURL=dedupe.d.ts.map |
@@ -0,8 +1,9 @@ | ||
import { Client, Integration, IntegrationClass } from '@sentry/types'; | ||
type GlobalHandlersIntegrationsOptionKeys = 'onerror' | 'onunhandledrejection'; | ||
type GlobalHandlersIntegrations = Record<GlobalHandlersIntegrationsOptionKeys, boolean>; | ||
/** Global handlers */ | ||
export declare const GlobalHandlers: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
export declare const GlobalHandlers: IntegrationClass<Integration & { | ||
setup: (client: Client) => void; | ||
}> & (new (options?: Partial<GlobalHandlersIntegrations>) => Integration); | ||
export {}; | ||
//# sourceMappingURL=globalhandlers.d.ts.map |
@@ -0,8 +1,6 @@ | ||
import { Event, Integration, IntegrationClass } from '@sentry/types'; | ||
/** HttpContext integration collects information about HTTP request headers */ | ||
export declare const HttpContext: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
export declare const HttpContext: IntegrationClass<Integration & { | ||
preprocessEvent: (event: Event) => void; | ||
}>; | ||
//# sourceMappingURL=httpcontext.d.ts.map |
@@ -0,8 +1,9 @@ | ||
import { Client, Event, EventHint, Integration, IntegrationClass } from '@sentry/types'; | ||
/** Aggregrate linked errors in an event. */ | ||
export declare const LinkedErrors: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
export declare const LinkedErrors: IntegrationClass<Integration & { | ||
preprocessEvent: (event: Event, hint: EventHint, client: Client) => void; | ||
}> & (new (options?: { | ||
key?: string; | ||
limit?: number; | ||
}) => Integration); | ||
//# sourceMappingURL=linkederrors.d.ts.map |
@@ -0,8 +1,10 @@ | ||
import { Integration, IntegrationClass } from '@sentry/types'; | ||
/** Wrap timer functions and event targets to catch errors and provide better meta data */ | ||
export declare const TryCatch: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
export declare const TryCatch: IntegrationClass<Integration> & (new (options?: { | ||
setTimeout: boolean; | ||
setInterval: boolean; | ||
requestAnimationFrame: boolean; | ||
XMLHttpRequest: boolean; | ||
eventTarget: boolean | string[]; | ||
}) => Integration); | ||
//# sourceMappingURL=trycatch.d.ts.map |
@@ -0,1 +1,2 @@ | ||
import { Client, Integration, IntegrationClass } from '@sentry/types'; | ||
/** | ||
@@ -10,8 +11,5 @@ * Browser profiling integration. Stores any event that has contexts["profile"]["profile_id"] | ||
*/ | ||
export declare const BrowserProfilingIntegration: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
export declare const BrowserProfilingIntegration: IntegrationClass<Integration & { | ||
setup: (client: Client) => void; | ||
}>; | ||
//# sourceMappingURL=integration.d.ts.map |
@@ -5,5 +5,3 @@ import { Hub } from '@sentry/core'; | ||
import { ReportDialogOptions } from './helpers'; | ||
export declare const defaultIntegrations: (import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
})[]; | ||
export declare const defaultIntegrations: import("@sentry/types").Integration[]; | ||
/** | ||
@@ -10,0 +8,0 @@ * The Sentry Browser SDK Client. |
export type { Breadcrumb, BreadcrumbHint, Request, SdkInfo, Event, EventHint, Exception, Severity, SeverityLevel, StackFrame, Stacktrace, Thread, Transaction, User, Session, } from '@sentry/types'; | ||
export type { BrowserOptions } from './client'; | ||
export type { ReportDialogOptions } from './helpers'; | ||
export { addGlobalEventProcessor, addEventProcessor, addBreadcrumb, addIntegration, captureException, captureEvent, captureMessage, close, configureScope, createTransport, flush, getHubFromCarrier, getCurrentHub, getClient, getCurrentScope, Hub, lastEventId, makeMain, Scope, startTransaction, getActiveSpan, startSpan, startInactiveSpan, startSpanManual, continueTrace, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, FunctionToString, InboundFilters, metrics, } from '@sentry/core'; | ||
export { addGlobalEventProcessor, addEventProcessor, addBreadcrumb, addIntegration, captureException, captureEvent, captureMessage, close, configureScope, createTransport, flush, getHubFromCarrier, getCurrentHub, getClient, getCurrentScope, Hub, lastEventId, makeMain, setCurrentClient, Scope, startTransaction, getActiveSpan, startSpan, startInactiveSpan, startSpanManual, continueTrace, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, withIsolationScope, FunctionToString, InboundFilters, metrics, functionToStringIntegration, inboundFiltersIntegration, } from '@sentry/core'; | ||
export { WINDOW } from './helpers'; | ||
@@ -6,0 +6,0 @@ export { BrowserClient } from './client'; |
export * from './exports'; | ||
declare const INTEGRATIONS: { | ||
GlobalHandlers: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
GlobalHandlers: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & { | ||
setup: (client: import("@sentry/types").Client<import("@sentry/types").ClientOptions<import("@sentry/types").BaseTransportOptions>>) => void; | ||
}> & (new (options?: Partial<{ | ||
onerror: boolean; | ||
onunhandledrejection: boolean; | ||
}> | undefined) => import("@sentry/types").Integration); | ||
TryCatch: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration> & (new (options?: { | ||
setTimeout: boolean; | ||
setInterval: boolean; | ||
requestAnimationFrame: boolean; | ||
XMLHttpRequest: boolean; | ||
eventTarget: boolean | string[]; | ||
} | undefined) => import("@sentry/types").Integration); | ||
Breadcrumbs: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & { | ||
setup: (client: import("@sentry/types").Client<import("@sentry/types").ClientOptions<import("@sentry/types").BaseTransportOptions>>) => void; | ||
}> & (new (options?: Partial<{ | ||
console: boolean; | ||
dom: boolean | { | ||
serializeAttribute?: string | string[] | undefined; | ||
maxStringLength?: number | undefined; | ||
}; | ||
id: string; | ||
}; | ||
TryCatch: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
Breadcrumbs: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
LinkedErrors: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
HttpContext: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
Dedupe: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
FunctionToString: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
InboundFilters: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
fetch: boolean; | ||
history: boolean; | ||
sentry: boolean; | ||
xhr: boolean; | ||
}> | undefined) => import("@sentry/types").Integration); | ||
LinkedErrors: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & { | ||
preprocessEvent: (event: import("@sentry/types").Event, hint: import("@sentry/types").EventHint, client: import("@sentry/types").Client<import("@sentry/types").ClientOptions<import("@sentry/types").BaseTransportOptions>>) => void; | ||
}> & (new (options?: { | ||
key?: string | undefined; | ||
limit?: number | undefined; | ||
} | undefined) => import("@sentry/types").Integration); | ||
HttpContext: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & { | ||
preprocessEvent: (event: import("@sentry/types").Event) => void; | ||
}>; | ||
Dedupe: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & { | ||
processEvent: (event: import("@sentry/types").Event) => import("@sentry/types").Event; | ||
}>; | ||
FunctionToString: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & { | ||
setupOnce: () => void; | ||
}>; | ||
InboundFilters: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & { | ||
preprocessEvent: (event: import("@sentry/types").Event, hint: import("@sentry/types").EventHint, client: import("@sentry/types").Client<import("@sentry/types").ClientOptions<import("@sentry/types").BaseTransportOptions>>) => void; | ||
}> & (new (options?: Partial<{ | ||
allowUrls: (string | RegExp)[]; | ||
denyUrls: (string | RegExp)[]; | ||
ignoreErrors: (string | RegExp)[]; | ||
ignoreTransactions: (string | RegExp)[]; | ||
ignoreInternal: boolean; | ||
disableErrorDefaults: boolean; | ||
disableTransactionDefaults: boolean; | ||
}> | undefined) => import("@sentry/types").Integration); | ||
}; | ||
@@ -55,6 +59,7 @@ export { INTEGRATIONS as Integrations }; | ||
export type { ReplayEventType, ReplayEventWithTime, ReplayBreadcrumbFrame, ReplayBreadcrumbFrameEvent, ReplayOptionFrameEvent, ReplayFrame, ReplayFrameEvent, ReplaySpanFrame, ReplaySpanFrameEvent, } from '@sentry/replay'; | ||
export { Feedback } from '@sentry-internal/feedback'; | ||
export { ReplayCanvas } from '@sentry-internal/replay-canvas'; | ||
export { Feedback, sendFeedback } from '@sentry-internal/feedback'; | ||
export { BrowserTracing, defaultRequestInstrumentationOptions, instrumentOutgoingRequests, } from '@sentry-internal/tracing'; | ||
export type { RequestInstrumentationOptions } from '@sentry-internal/tracing'; | ||
export { addTracingExtensions, setMeasurement, extractTraceparentData, getActiveTransaction, spanStatusfromHttpCode, trace, makeMultiplexedTransport, ModuleMetadata, } from '@sentry/core'; | ||
export { addTracingExtensions, setMeasurement, extractTraceparentData, getActiveTransaction, spanStatusfromHttpCode, trace, makeMultiplexedTransport, ModuleMetadata, moduleMetadataIntegration, } from '@sentry/core'; | ||
export type { SpanStatusType } from '@sentry/core'; | ||
@@ -61,0 +66,0 @@ export type { Span } from '@sentry/types'; |
@@ -0,10 +1,18 @@ | ||
import type { Client, Integration, IntegrationClass } from '@sentry/types'; | ||
/** | ||
* Default Breadcrumbs instrumentations | ||
*/ | ||
export declare const Breadcrumbs: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
export declare const Breadcrumbs: IntegrationClass<Integration & { | ||
setup: (client: Client) => void; | ||
}> & (new (options?: Partial<{ | ||
console: boolean; | ||
dom: boolean | { | ||
serializeAttribute?: string | string[]; | ||
maxStringLength?: number; | ||
}; | ||
id: string; | ||
}; | ||
fetch: boolean; | ||
history: boolean; | ||
sentry: boolean; | ||
xhr: boolean; | ||
}>) => Integration); | ||
//# sourceMappingURL=breadcrumbs.d.ts.map |
@@ -0,8 +1,6 @@ | ||
import type { Event, Integration, IntegrationClass } from '@sentry/types'; | ||
/** Deduplication filter */ | ||
export declare const Dedupe: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
export declare const Dedupe: IntegrationClass<Integration & { | ||
processEvent: (event: Event) => Event; | ||
}>; | ||
//# sourceMappingURL=dedupe.d.ts.map |
@@ -0,8 +1,9 @@ | ||
import type { Client, Integration, IntegrationClass } from '@sentry/types'; | ||
type GlobalHandlersIntegrationsOptionKeys = 'onerror' | 'onunhandledrejection'; | ||
type GlobalHandlersIntegrations = Record<GlobalHandlersIntegrationsOptionKeys, boolean>; | ||
/** Global handlers */ | ||
export declare const GlobalHandlers: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
export declare const GlobalHandlers: IntegrationClass<Integration & { | ||
setup: (client: Client) => void; | ||
}> & (new (options?: Partial<GlobalHandlersIntegrations>) => Integration); | ||
export {}; | ||
//# sourceMappingURL=globalhandlers.d.ts.map |
@@ -0,8 +1,6 @@ | ||
import type { Event, Integration, IntegrationClass } from '@sentry/types'; | ||
/** HttpContext integration collects information about HTTP request headers */ | ||
export declare const HttpContext: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
export declare const HttpContext: IntegrationClass<Integration & { | ||
preprocessEvent: (event: Event) => void; | ||
}>; | ||
//# sourceMappingURL=httpcontext.d.ts.map |
@@ -0,8 +1,9 @@ | ||
import type { Client, Event, EventHint, Integration, IntegrationClass } from '@sentry/types'; | ||
/** Aggregrate linked errors in an event. */ | ||
export declare const LinkedErrors: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
export declare const LinkedErrors: IntegrationClass<Integration & { | ||
preprocessEvent: (event: Event, hint: EventHint, client: Client) => void; | ||
}> & (new (options?: { | ||
key?: string; | ||
limit?: number; | ||
}) => Integration); | ||
//# sourceMappingURL=linkederrors.d.ts.map |
@@ -0,8 +1,10 @@ | ||
import type { Integration, IntegrationClass } from '@sentry/types'; | ||
/** Wrap timer functions and event targets to catch errors and provide better meta data */ | ||
export declare const TryCatch: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
export declare const TryCatch: IntegrationClass<Integration> & (new (options?: { | ||
setTimeout: boolean; | ||
setInterval: boolean; | ||
requestAnimationFrame: boolean; | ||
XMLHttpRequest: boolean; | ||
eventTarget: boolean | string[]; | ||
}) => Integration); | ||
//# sourceMappingURL=trycatch.d.ts.map |
@@ -0,1 +1,2 @@ | ||
import type { Client, Integration, IntegrationClass } from '@sentry/types'; | ||
/** | ||
@@ -10,8 +11,5 @@ * Browser profiling integration. Stores any event that has contexts["profile"]["profile_id"] | ||
*/ | ||
export declare const BrowserProfilingIntegration: import("@sentry/types").Integration & { | ||
new (...args: any[]): import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
}; | ||
id: string; | ||
}; | ||
export declare const BrowserProfilingIntegration: IntegrationClass<Integration & { | ||
setup: (client: Client) => void; | ||
}>; | ||
//# sourceMappingURL=integration.d.ts.map |
@@ -5,5 +5,3 @@ import type { Hub } from '@sentry/core'; | ||
import type { ReportDialogOptions } from './helpers'; | ||
export declare const defaultIntegrations: (import("@sentry/types").Integration & import("@sentry/types").IntegrationFnResult & { | ||
setupOnce: (addGlobalEventProcessor?: ((callback: import("@sentry/types").EventProcessor) => void) | undefined, getCurrentHub?: (() => import("@sentry/types").Hub) | undefined) => void; | ||
})[]; | ||
export declare const defaultIntegrations: import("@sentry/types").Integration[]; | ||
/** | ||
@@ -10,0 +8,0 @@ * The Sentry Browser SDK Client. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
708935
7465
7
22
+ Added@sentry-internal/feedback@7.94.1(transitive)
+ Added@sentry-internal/replay-canvas@7.94.1(transitive)
+ Added@sentry-internal/tracing@7.94.1(transitive)
+ Added@sentry/core@7.94.1(transitive)
+ Added@sentry/replay@7.94.1(transitive)
+ Added@sentry/types@7.94.1(transitive)
+ Added@sentry/utils@7.94.1(transitive)
- Removed@sentry-internal/feedback@7.93.0(transitive)
- Removed@sentry-internal/tracing@7.93.0(transitive)
- Removed@sentry/core@7.93.0(transitive)
- Removed@sentry/replay@7.93.0(transitive)
- Removed@sentry/types@7.93.0(transitive)
- Removed@sentry/utils@7.93.0(transitive)
Updated@sentry/core@7.94.1
Updated@sentry/replay@7.94.1
Updated@sentry/types@7.94.1
Updated@sentry/utils@7.94.1