UNPKG

@sentry/remix

Version:
18 lines (15 loc) • 523 B
import { defineIntegration, getClient } from '@sentry/core'; import { instrumentRemix } from './tracing-channel.js'; import { resolveFormDataCapture } from '../../utils/formData.js'; const INTEGRATION_NAME = "Remix"; const _remixIntegration = (() => { return { name: INTEGRATION_NAME, setupOnce() { instrumentRemix(resolveFormDataCapture(getClient())); } }; }); const remixIntegration = defineIntegration(_remixIntegration); export { remixIntegration }; //# sourceMappingURL=RemixIntegration.js.map