Skip to content

Commit

Permalink
feat(node-experimental): Re-export from node (#8786)
Browse files Browse the repository at this point in the history
Just re-export everything manually from node so it can be used in
node-experimental.
  • Loading branch information
mydea authored Aug 10, 2023
1 parent 12932e0 commit ad0cb9b
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions packages/node-experimental/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit ad0cb9b

Please sign in to comment.