From 611e7ff944f76af4e7c6468b5a7d2016094dbb2f Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Thu, 10 Aug 2023 13:40:57 +0200 Subject: [PATCH] feat(node-experimental): Re-export from node --- packages/node-experimental/src/index.ts | 63 +++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/packages/node-experimental/src/index.ts b/packages/node-experimental/src/index.ts index 74108e528513..3c246bdf2b97 100644 --- a/packages/node-experimental/src/index.ts +++ b/packages/node-experimental/src/index.ts @@ -11,3 +11,66 @@ export { init } from './sdk/init'; export { INTEGRATIONS as Integrations }; export { getAutoPerformanceIntegrations } from './integrations/getAutoPerformanceIntegrations'; export * as Handlers from './sdk/handlers'; + +export { + makeNodeTransport, + defaultStackParser, + getSentryRelease, + addRequestDataToEvent, + DEFAULT_USER_INCLUDES, + extractRequestData, + deepReadDirSync, + getModuleFromFilename, + addGlobalEventProcessor, + addBreadcrumb, + captureException, + captureEvent, + captureMessage, + close, + configureScope, + createTransport, + extractTraceparentData, + flush, + getActiveTransaction, + getHubFromCarrier, + getCurrentHub, + Hub, + lastEventId, + makeMain, + runWithAsyncContext, + Scope, + startTransaction, + SDK_VERSION, + setContext, + setExtra, + setExtras, + setTag, + setTags, + setUser, + spanStatusfromHttpCode, + trace, + withScope, + captureCheckIn, +} from '@sentry/node'; + +export type { + SpanStatusType, + TransactionNamingScheme, + AddRequestDataToEventOptions, + Breadcrumb, + BreadcrumbHint, + PolymorphicRequest, + Request, + SdkInfo, + Event, + EventHint, + Exception, + Session, + SeverityLevel, + Span, + StackFrame, + Stacktrace, + Thread, + Transaction, + User, +} from '@sentry/node';