Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/browser/src/exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ export type {
// eslint-disable-next-line deprecation/deprecation
Severity,
SeverityLevel,
Span,
StackFrame,
Stacktrace,
Thread,
Transaction,
User,
Session,
} from '@sentry/types';
Expand Down
9 changes: 8 additions & 1 deletion packages/browser/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ export { INTEGRATIONS as Integrations };

export { Replay } from '@sentry/replay';
export { BrowserTracing, defaultRequestInstrumentationOptions } from '@sentry-internal/tracing';
export { addTracingExtensions, getActiveTransaction } from '@sentry/core';
export {
addTracingExtensions,
extractTraceparentData,
getActiveTransaction,
spanStatusfromHttpCode,
trace,
} from '@sentry/core';
export type { SpanStatusType } from '@sentry/core';
export { makeBrowserOfflineTransport } from './transports/offline';
export { onProfilingStartRouteTransaction } from './profiling/hubextensions';
export { BrowserProfilingIntegration } from './profiling/integration';
2 changes: 1 addition & 1 deletion packages/core/src/tracing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export { startIdleTransaction, addTracingExtensions } from './hubextensions';
export { IdleTransaction, TRACING_DEFAULTS } from './idletransaction';
export { Span, spanStatusfromHttpCode } from './span';
export { Transaction } from './transaction';
export { extractTraceparentData, getActiveTransaction, stripUrlQueryAndFragment, TRACEPARENT_REGEXP } from './utils';
export { extractTraceparentData, getActiveTransaction } from './utils';
// eslint-disable-next-line deprecation/deprecation
export { SpanStatus } from './spanstatus';
export type { SpanStatusType } from './span';
Expand Down
1 change: 1 addition & 0 deletions packages/nextjs/src/index.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export declare const showReportDialog: typeof clientSdk.showReportDialog;
export declare const withErrorBoundary: typeof clientSdk.withErrorBoundary;

export declare const Span: typeof edgeSdk.Span;
export declare const Transaction: typeof edgeSdk.Transaction;

/**
* @deprecated Use `wrapApiHandlerWithSentry` instead
Expand Down
7 changes: 6 additions & 1 deletion packages/node/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ export type {
// eslint-disable-next-line deprecation/deprecation
Severity,
SeverityLevel,
Span,
StackFrame,
Stacktrace,
Thread,
Transaction,
User,
Span,
} from '@sentry/types';
export type { AddRequestDataToEventOptions } from '@sentry/utils';

Expand All @@ -30,6 +31,7 @@ export {
captureMessage,
configureScope,
createTransport,
extractTraceparentData,
getActiveTransaction,
getHubFromCarrier,
getCurrentHub,
Expand All @@ -44,8 +46,11 @@ export {
setTag,
setTags,
setUser,
spanStatusfromHttpCode,
trace,
withScope,
} from '@sentry/core';
export type { SpanStatusType } from '@sentry/core';
export { autoDiscoverNodePerformanceMonitoringIntegrations } from './tracing';

export { NodeClient } from './client';
Expand Down
3 changes: 1 addition & 2 deletions packages/tracing-internal/src/exports/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ export {
SpanStatus,
spanStatusfromHttpCode,
startIdleTransaction,
stripUrlQueryAndFragment,
TRACEPARENT_REGEXP,
Transaction,
} from '@sentry/core';
export type { SpanStatusType } from '@sentry/core';
export { stripUrlQueryAndFragment, TRACEPARENT_REGEXP } from '@sentry/utils';