index.client.js 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. Object.defineProperty(exports, '__esModule', { value: true });
  2. const index = require('./client/index.js');
  3. const nextRoutingInstrumentation = require('./client/routing/nextRoutingInstrumentation.js');
  4. const _error = require('./common/_error.js');
  5. const browserTracingIntegration = require('./client/browserTracingIntegration.js');
  6. const wrapGetStaticPropsWithSentry = require('./common/wrapGetStaticPropsWithSentry.js');
  7. const wrapGetInitialPropsWithSentry = require('./common/wrapGetInitialPropsWithSentry.js');
  8. const wrapAppGetInitialPropsWithSentry = require('./common/wrapAppGetInitialPropsWithSentry.js');
  9. const wrapDocumentGetInitialPropsWithSentry = require('./common/wrapDocumentGetInitialPropsWithSentry.js');
  10. const wrapErrorGetInitialPropsWithSentry = require('./common/wrapErrorGetInitialPropsWithSentry.js');
  11. const wrapGetServerSidePropsWithSentry = require('./common/wrapGetServerSidePropsWithSentry.js');
  12. const wrapServerComponentWithSentry = require('./common/wrapServerComponentWithSentry.js');
  13. const wrapRouteHandlerWithSentry = require('./common/wrapRouteHandlerWithSentry.js');
  14. const wrapApiHandlerWithSentryVercelCrons = require('./common/wrapApiHandlerWithSentryVercelCrons.js');
  15. const wrapMiddlewareWithSentry = require('./common/wrapMiddlewareWithSentry.js');
  16. const wrapPageComponentWithSentry = require('./common/wrapPageComponentWithSentry.js');
  17. const wrapGenerationFunctionWithSentry = require('./common/wrapGenerationFunctionWithSentry.js');
  18. const withServerActionInstrumentation = require('./common/withServerActionInstrumentation.js');
  19. const react = require('@sentry/react');
  20. const rewriteFramesIntegration = require('./client/rewriteFramesIntegration.js');
  21. // This file is the main entrypoint for non-Next.js build pipelines that use
  22. // the package.json's "browser" field or the Edge runtime (Edge API routes and middleware)
  23. /**
  24. * This const serves no purpose besides being an identifier for this file that the SDK multiplexer loader can use to
  25. * determine that this is in fact a file that wants to be multiplexed.
  26. */
  27. const _SENTRY_SDK_MULTIPLEXER = true;
  28. exports.Integrations = index.Integrations;
  29. exports.init = index.init;
  30. exports.withSentryConfig = index.withSentryConfig;
  31. exports.nextRouterInstrumentation = nextRoutingInstrumentation.nextRouterInstrumentation;
  32. exports.captureUnderscoreErrorException = _error.captureUnderscoreErrorException;
  33. exports.BrowserTracing = browserTracingIntegration.BrowserTracing;
  34. exports.browserTracingIntegration = browserTracingIntegration.browserTracingIntegration;
  35. exports.withSentryGetStaticProps = wrapGetStaticPropsWithSentry.withSentryGetStaticProps;
  36. exports.wrapGetStaticPropsWithSentry = wrapGetStaticPropsWithSentry.wrapGetStaticPropsWithSentry;
  37. exports.withSentryServerSideGetInitialProps = wrapGetInitialPropsWithSentry.withSentryServerSideGetInitialProps;
  38. exports.wrapGetInitialPropsWithSentry = wrapGetInitialPropsWithSentry.wrapGetInitialPropsWithSentry;
  39. exports.withSentryServerSideAppGetInitialProps = wrapAppGetInitialPropsWithSentry.withSentryServerSideAppGetInitialProps;
  40. exports.wrapAppGetInitialPropsWithSentry = wrapAppGetInitialPropsWithSentry.wrapAppGetInitialPropsWithSentry;
  41. exports.withSentryServerSideDocumentGetInitialProps = wrapDocumentGetInitialPropsWithSentry.withSentryServerSideDocumentGetInitialProps;
  42. exports.wrapDocumentGetInitialPropsWithSentry = wrapDocumentGetInitialPropsWithSentry.wrapDocumentGetInitialPropsWithSentry;
  43. exports.withSentryServerSideErrorGetInitialProps = wrapErrorGetInitialPropsWithSentry.withSentryServerSideErrorGetInitialProps;
  44. exports.wrapErrorGetInitialPropsWithSentry = wrapErrorGetInitialPropsWithSentry.wrapErrorGetInitialPropsWithSentry;
  45. exports.withSentryGetServerSideProps = wrapGetServerSidePropsWithSentry.withSentryGetServerSideProps;
  46. exports.wrapGetServerSidePropsWithSentry = wrapGetServerSidePropsWithSentry.wrapGetServerSidePropsWithSentry;
  47. exports.wrapServerComponentWithSentry = wrapServerComponentWithSentry.wrapServerComponentWithSentry;
  48. exports.wrapRouteHandlerWithSentry = wrapRouteHandlerWithSentry.wrapRouteHandlerWithSentry;
  49. exports.wrapApiHandlerWithSentryVercelCrons = wrapApiHandlerWithSentryVercelCrons.wrapApiHandlerWithSentryVercelCrons;
  50. exports.wrapMiddlewareWithSentry = wrapMiddlewareWithSentry.wrapMiddlewareWithSentry;
  51. exports.wrapPageComponentWithSentry = wrapPageComponentWithSentry.wrapPageComponentWithSentry;
  52. exports.wrapGenerationFunctionWithSentry = wrapGenerationFunctionWithSentry.wrapGenerationFunctionWithSentry;
  53. exports.withServerActionInstrumentation = withServerActionInstrumentation.withServerActionInstrumentation;
  54. exports.rewriteFramesIntegration = rewriteFramesIntegration.rewriteFramesIntegration;
  55. exports._SENTRY_SDK_MULTIPLEXER = _SENTRY_SDK_MULTIPLEXER;
  56. for (const k in react) {
  57. if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = react[k];
  58. }
  59. //# sourceMappingURL=index.client.js.map