index.server.js 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Object.defineProperty(exports, '__esModule', { value: true });
  2. const index = require('./server/index.js');
  3. const withSentryConfig = require('./config/withSentryConfig.js');
  4. const react = require('@sentry/react');
  5. const _error = require('./common/_error.js');
  6. const wrapApiHandlerWithSentry = require('./common/wrapApiHandlerWithSentry.js');
  7. const wrapGetStaticPropsWithSentry = require('./common/wrapGetStaticPropsWithSentry.js');
  8. const wrapGetInitialPropsWithSentry = require('./common/wrapGetInitialPropsWithSentry.js');
  9. const wrapAppGetInitialPropsWithSentry = require('./common/wrapAppGetInitialPropsWithSentry.js');
  10. const wrapDocumentGetInitialPropsWithSentry = require('./common/wrapDocumentGetInitialPropsWithSentry.js');
  11. const wrapErrorGetInitialPropsWithSentry = require('./common/wrapErrorGetInitialPropsWithSentry.js');
  12. const wrapGetServerSidePropsWithSentry = require('./common/wrapGetServerSidePropsWithSentry.js');
  13. const wrapServerComponentWithSentry = require('./common/wrapServerComponentWithSentry.js');
  14. const wrapRouteHandlerWithSentry = require('./common/wrapRouteHandlerWithSentry.js');
  15. const wrapApiHandlerWithSentryVercelCrons = require('./common/wrapApiHandlerWithSentryVercelCrons.js');
  16. const wrapMiddlewareWithSentry = require('./common/wrapMiddlewareWithSentry.js');
  17. const wrapPageComponentWithSentry = require('./common/wrapPageComponentWithSentry.js');
  18. const wrapGenerationFunctionWithSentry = require('./common/wrapGenerationFunctionWithSentry.js');
  19. const withServerActionInstrumentation = require('./common/withServerActionInstrumentation.js');
  20. const node = require('@sentry/node');
  21. const rewriteFramesIntegration = require('./server/rewriteFramesIntegration.js');
  22. // This file is the main entrypoint on the server and/or when the package is `require`d
  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.ErrorBoundary = index.ErrorBoundary;
  29. exports.IS_BUILD = index.IS_BUILD;
  30. exports.Integrations = index.Integrations;
  31. exports.init = index.init;
  32. exports.isBuild = index.isBuild;
  33. exports.showReportDialog = index.showReportDialog;
  34. exports.withErrorBoundary = index.withErrorBoundary;
  35. exports.withSentryConfig = withSentryConfig.withSentryConfig;
  36. exports.createReduxEnhancer = react.createReduxEnhancer;
  37. exports.captureUnderscoreErrorException = _error.captureUnderscoreErrorException;
  38. exports.withSentry = wrapApiHandlerWithSentry.withSentry;
  39. exports.withSentryAPI = wrapApiHandlerWithSentry.withSentryAPI;
  40. exports.wrapApiHandlerWithSentry = wrapApiHandlerWithSentry.wrapApiHandlerWithSentry;
  41. exports.withSentryGetStaticProps = wrapGetStaticPropsWithSentry.withSentryGetStaticProps;
  42. exports.wrapGetStaticPropsWithSentry = wrapGetStaticPropsWithSentry.wrapGetStaticPropsWithSentry;
  43. exports.withSentryServerSideGetInitialProps = wrapGetInitialPropsWithSentry.withSentryServerSideGetInitialProps;
  44. exports.wrapGetInitialPropsWithSentry = wrapGetInitialPropsWithSentry.wrapGetInitialPropsWithSentry;
  45. exports.withSentryServerSideAppGetInitialProps = wrapAppGetInitialPropsWithSentry.withSentryServerSideAppGetInitialProps;
  46. exports.wrapAppGetInitialPropsWithSentry = wrapAppGetInitialPropsWithSentry.wrapAppGetInitialPropsWithSentry;
  47. exports.withSentryServerSideDocumentGetInitialProps = wrapDocumentGetInitialPropsWithSentry.withSentryServerSideDocumentGetInitialProps;
  48. exports.wrapDocumentGetInitialPropsWithSentry = wrapDocumentGetInitialPropsWithSentry.wrapDocumentGetInitialPropsWithSentry;
  49. exports.withSentryServerSideErrorGetInitialProps = wrapErrorGetInitialPropsWithSentry.withSentryServerSideErrorGetInitialProps;
  50. exports.wrapErrorGetInitialPropsWithSentry = wrapErrorGetInitialPropsWithSentry.wrapErrorGetInitialPropsWithSentry;
  51. exports.withSentryGetServerSideProps = wrapGetServerSidePropsWithSentry.withSentryGetServerSideProps;
  52. exports.wrapGetServerSidePropsWithSentry = wrapGetServerSidePropsWithSentry.wrapGetServerSidePropsWithSentry;
  53. exports.wrapServerComponentWithSentry = wrapServerComponentWithSentry.wrapServerComponentWithSentry;
  54. exports.wrapRouteHandlerWithSentry = wrapRouteHandlerWithSentry.wrapRouteHandlerWithSentry;
  55. exports.wrapApiHandlerWithSentryVercelCrons = wrapApiHandlerWithSentryVercelCrons.wrapApiHandlerWithSentryVercelCrons;
  56. exports.wrapMiddlewareWithSentry = wrapMiddlewareWithSentry.wrapMiddlewareWithSentry;
  57. exports.wrapPageComponentWithSentry = wrapPageComponentWithSentry.wrapPageComponentWithSentry;
  58. exports.wrapGenerationFunctionWithSentry = wrapGenerationFunctionWithSentry.wrapGenerationFunctionWithSentry;
  59. exports.withServerActionInstrumentation = withServerActionInstrumentation.withServerActionInstrumentation;
  60. exports.rewriteFramesIntegration = rewriteFramesIntegration.rewriteFramesIntegration;
  61. exports._SENTRY_SDK_MULTIPLEXER = _SENTRY_SDK_MULTIPLEXER;
  62. for (const k in node) {
  63. if (k !== 'default' && !exports.hasOwnProperty(k)) exports[k] = node[k];
  64. }
  65. //# sourceMappingURL=index.server.js.map