Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
739 B
Text
27 lines
739 B
Text
import { defineIntegration } from '@sentry/core';
|
|
import { generateInstrumentOnce } from '../../otel/instrument.js';
|
|
import { SentryNodeFetchInstrumentation } from './SentryNodeFetchInstrumentation.js';
|
|
|
|
const INTEGRATION_NAME = 'NodeFetch';
|
|
|
|
const instrumentSentryNodeFetch = generateInstrumentOnce(
|
|
`${INTEGRATION_NAME}.sentry`,
|
|
SentryNodeFetchInstrumentation,
|
|
(options) => {
|
|
return options;
|
|
},
|
|
);
|
|
|
|
const _nativeNodeFetchIntegration = ((options = {}) => {
|
|
return {
|
|
name: 'NodeFetch',
|
|
setupOnce() {
|
|
instrumentSentryNodeFetch(options);
|
|
},
|
|
};
|
|
}) ;
|
|
|
|
const nativeNodeFetchIntegration = defineIntegration(_nativeNodeFetchIntegration);
|
|
|
|
export { nativeNodeFetchIntegration };
|
|
//# sourceMappingURL=index.js.map
|