UNPKG

@sentry/remix

Version:
166 lines (160 loc) 8.62 kB
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const node = require('@sentry/node'); const sdk = require('./server/sdk.js'); const errors$1 = require('./server/errors.js'); const instrumentServer = require('./server/instrumentServer.js'); const serverTimingTracePropagation = require('./server/serverTimingTracePropagation.js'); require('@sentry/core'); const react = require('@sentry/react'); const errors = require('./client/errors.js'); const performance = require('./client/performance.js'); const browserTracingIntegration = require('./client/browserTracingIntegration.js'); const vite = require('./config/vite.js'); const createRemixRouteManifest = require('./config/createRemixRouteManifest.js'); exports.NodeClient = node.NodeClient; exports.SDK_VERSION = node.SDK_VERSION; exports.SEMANTIC_ATTRIBUTE_SENTRY_OP = node.SEMANTIC_ATTRIBUTE_SENTRY_OP; exports.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN = node.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN; exports.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE = node.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE; exports.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE = node.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE; exports.Scope = node.Scope; exports.addBreadcrumb = node.addBreadcrumb; exports.addEventProcessor = node.addEventProcessor; exports.addIntegration = node.addIntegration; exports.amqplibIntegration = node.amqplibIntegration; exports.anrIntegration = node.anrIntegration; exports.captureCheckIn = node.captureCheckIn; exports.captureConsoleIntegration = node.captureConsoleIntegration; exports.captureEvent = node.captureEvent; exports.captureException = node.captureException; exports.captureFeedback = node.captureFeedback; exports.captureMessage = node.captureMessage; exports.captureSession = node.captureSession; exports.close = node.close; exports.connectIntegration = node.connectIntegration; exports.consoleIntegration = node.consoleIntegration; exports.consoleLoggingIntegration = node.consoleLoggingIntegration; exports.contextLinesIntegration = node.contextLinesIntegration; exports.continueTrace = node.continueTrace; exports.createConsolaReporter = node.createConsolaReporter; exports.createGetModuleFromFilename = node.createGetModuleFromFilename; exports.createSentryWinstonTransport = node.createSentryWinstonTransport; exports.createTransport = node.createTransport; exports.cron = node.cron; exports.dedupeIntegration = node.dedupeIntegration; exports.defaultStackParser = node.defaultStackParser; exports.disableAnrDetectionForCallback = node.disableAnrDetectionForCallback; exports.endSession = node.endSession; exports.eventFiltersIntegration = node.eventFiltersIntegration; exports.expressErrorHandler = node.expressErrorHandler; exports.expressIntegration = node.expressIntegration; exports.extraErrorDataIntegration = node.extraErrorDataIntegration; exports.fastifyIntegration = node.fastifyIntegration; exports.flush = node.flush; exports.functionToStringIntegration = node.functionToStringIntegration; exports.generateInstrumentOnce = node.generateInstrumentOnce; exports.genericPoolIntegration = node.genericPoolIntegration; exports.getActiveSpan = node.getActiveSpan; exports.getAutoPerformanceIntegrations = node.getAutoPerformanceIntegrations; exports.getClient = node.getClient; exports.getCurrentScope = node.getCurrentScope; exports.getDefaultIntegrations = node.getDefaultIntegrations; exports.getGlobalScope = node.getGlobalScope; exports.getIsolationScope = node.getIsolationScope; exports.getRootSpan = node.getRootSpan; exports.getSentryRelease = node.getSentryRelease; exports.getSpanDescendants = node.getSpanDescendants; exports.getSpanStatusFromHttpCode = node.getSpanStatusFromHttpCode; exports.graphqlIntegration = node.graphqlIntegration; exports.hapiIntegration = node.hapiIntegration; exports.httpIntegration = node.httpIntegration; exports.httpServerIntegration = node.httpServerIntegration; exports.httpServerSpansIntegration = node.httpServerSpansIntegration; exports.inboundFiltersIntegration = node.inboundFiltersIntegration; exports.initOpenTelemetry = node.initOpenTelemetry; exports.instrumentAnthropicAiClient = node.instrumentAnthropicAiClient; exports.instrumentGoogleGenAIClient = node.instrumentGoogleGenAIClient; exports.instrumentLangGraph = node.instrumentLangGraph; exports.instrumentOpenAiClient = node.instrumentOpenAiClient; exports.instrumentStateGraphCompile = node.instrumentStateGraphCompile; exports.instrumentSupabaseClient = node.instrumentSupabaseClient; exports.isEnabled = node.isEnabled; exports.isInitialized = node.isInitialized; exports.kafkaIntegration = node.kafkaIntegration; exports.knexIntegration = node.knexIntegration; exports.koaIntegration = node.koaIntegration; exports.lastEventId = node.lastEventId; exports.linkedErrorsIntegration = node.linkedErrorsIntegration; exports.localVariablesIntegration = node.localVariablesIntegration; exports.logger = node.logger; exports.makeNodeTransport = node.makeNodeTransport; exports.modulesIntegration = node.modulesIntegration; exports.mongoIntegration = node.mongoIntegration; exports.mongooseIntegration = node.mongooseIntegration; exports.mysql2Integration = node.mysql2Integration; exports.mysqlIntegration = node.mysqlIntegration; exports.nativeNodeFetchIntegration = node.nativeNodeFetchIntegration; exports.nodeContextIntegration = node.nodeContextIntegration; exports.onUncaughtExceptionIntegration = node.onUncaughtExceptionIntegration; exports.onUnhandledRejectionIntegration = node.onUnhandledRejectionIntegration; exports.parameterize = node.parameterize; exports.postgresIntegration = node.postgresIntegration; exports.prismaIntegration = node.prismaIntegration; exports.redisIntegration = node.redisIntegration; exports.requestDataIntegration = node.requestDataIntegration; exports.rewriteFramesIntegration = node.rewriteFramesIntegration; exports.setContext = node.setContext; exports.setCurrentClient = node.setCurrentClient; exports.setExtra = node.setExtra; exports.setExtras = node.setExtras; exports.setHttpStatus = node.setHttpStatus; exports.setMeasurement = node.setMeasurement; exports.setTag = node.setTag; exports.setTags = node.setTags; exports.setUser = node.setUser; exports.setupConnectErrorHandler = node.setupConnectErrorHandler; exports.setupExpressErrorHandler = node.setupExpressErrorHandler; exports.setupHapiErrorHandler = node.setupHapiErrorHandler; exports.setupKoaErrorHandler = node.setupKoaErrorHandler; exports.spanToBaggageHeader = node.spanToBaggageHeader; exports.spanToJSON = node.spanToJSON; exports.spanToTraceHeader = node.spanToTraceHeader; exports.spotlightIntegration = node.spotlightIntegration; exports.startInactiveSpan = node.startInactiveSpan; exports.startNewTrace = node.startNewTrace; exports.startSession = node.startSession; exports.startSpan = node.startSpan; exports.startSpanManual = node.startSpanManual; exports.supabaseIntegration = node.supabaseIntegration; exports.suppressTracing = node.suppressTracing; exports.tediousIntegration = node.tediousIntegration; exports.trpcMiddleware = node.trpcMiddleware; exports.updateSpanName = node.updateSpanName; exports.withActiveSpan = node.withActiveSpan; exports.withIsolationScope = node.withIsolationScope; exports.withMonitor = node.withMonitor; exports.withScope = node.withScope; exports.zodErrorsIntegration = node.zodErrorsIntegration; exports.getRemixDefaultIntegrations = sdk.getRemixDefaultIntegrations; exports.init = sdk.init; exports.captureRemixServerException = errors$1.captureRemixServerException; exports.instrumentBuild = instrumentServer.instrumentBuild; exports.sentryHandleError = instrumentServer.sentryHandleError; exports.wrapHandleErrorWithSentry = instrumentServer.wrapHandleErrorWithSentry; exports.generateSentryServerTimingHeader = serverTimingTracePropagation.generateSentryServerTimingHeader; exports.ErrorBoundary = react.ErrorBoundary; exports.captureRemixErrorBoundaryError = errors.captureRemixErrorBoundaryError; exports.withSentry = performance.withSentry; exports.browserTracingIntegration = browserTracingIntegration.browserTracingIntegration; exports.sentryRemixVitePlugin = vite.sentryRemixVitePlugin; exports.createRemixRouteManifest = createRemixRouteManifest.createRemixRouteManifest; Object.prototype.hasOwnProperty.call(node, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: node['__proto__'] }); Object.keys(node).forEach(k => { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = node[k]; }); //# sourceMappingURL=index.server.js.map