Skip to content

Commit 79586c5

Browse files
authored
Merge 82e7d35 into fd7919f
2 parents fd7919f + 82e7d35 commit 79586c5

File tree

106 files changed

+113
-125
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+113
-125
lines changed

packages/core/src/js/NativeRNSentry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Package } from '@sentry/types';
1+
import type { Package } from '@sentry/core';
22
import type { TurboModule } from 'react-native';
33
import { TurboModuleRegistry } from 'react-native';
44

packages/core/src/js/breadcrumb.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { Breadcrumb, SeverityLevel } from '@sentry/core';
12
import { severityLevelFromString } from '@sentry/core';
2-
import type { Breadcrumb, SeverityLevel } from '@sentry/types';
33

44
export const DEFAULT_BREADCRUMB_LEVEL: SeverityLevel = 'info';
55

packages/core/src/js/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { eventFromException, eventFromMessage } from '@sentry/browser';
2-
import { BaseClient, dateTimestampInSeconds, logger, SentryError } from '@sentry/core';
32
import type {
43
ClientReportEnvelope,
54
ClientReportItem,
@@ -10,7 +9,8 @@ import type {
109
SeverityLevel,
1110
TransportMakeRequestResponse,
1211
UserFeedback,
13-
} from '@sentry/types';
12+
} from '@sentry/core';
13+
import { BaseClient, dateTimestampInSeconds, logger, SentryError } from '@sentry/core';
1414
import { Alert } from 'react-native';
1515

1616
import { getDevServer } from './integrations/debugsymbolicatorutils';

packages/core/src/js/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export type {
1212
Thread,
1313
User,
1414
UserFeedback,
15-
} from '@sentry/types';
15+
} from '@sentry/core';
1616

1717
export {
1818
addBreadcrumb,

packages/core/src/js/integrations/debugsymbolicator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { Event, EventHint, Exception, Integration, StackFrame as SentryStackFrame } from '@sentry/core';
12
import { logger } from '@sentry/core';
2-
import type { Event, EventHint, Exception, Integration, StackFrame as SentryStackFrame } from '@sentry/types';
33

44
import type { ExtendedError } from '../utils/error';
55
import { getFramesToPop, isErrorLike } from '../utils/error';

packages/core/src/js/integrations/debugsymbolicatorutils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { StackFrame as SentryStackFrame } from '@sentry/core';
12
import { logger } from '@sentry/core';
2-
import type { StackFrame as SentryStackFrame } from '@sentry/types';
33

44
import { ReactNativeLibraries } from '../utils/rnlibraries';
55
import { createStealthXhr, XHR_READYSTATE_DONE } from '../utils/xhr';

packages/core/src/js/integrations/default.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable complexity */
2+
import type { Integration } from '@sentry/core';
23
import type { BrowserOptions } from '@sentry/react';
3-
import type { Integration } from '@sentry/types';
44

55
import type { ReactNativeClientOptions } from '../options';
66
import { reactNativeTracingIntegration } from '../tracing';

packages/core/src/js/integrations/devicecontext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable complexity */
2+
import type { Client, Event, EventHint, Integration } from '@sentry/core';
23
import { logger, severityLevelFromString } from '@sentry/core';
3-
import type { Client, Event, EventHint, Integration } from '@sentry/types';
44
import { AppState } from 'react-native';
55

66
import { breadcrumbFromObject } from '../breadcrumb';

packages/core/src/js/integrations/eventorigin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Event, Integration } from '@sentry/types';
1+
import type { Event, Integration } from '@sentry/core';
22

33
const INTEGRATION_NAME = 'EventOrigin';
44

packages/core/src/js/integrations/expocontext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { DeviceContext, Event, Integration, OsContext } from '@sentry/types';
1+
import type { DeviceContext, Event, Integration, OsContext } from '@sentry/core';
22

33
import { getExpoDevice } from '../utils/expomodules';
44

packages/core/src/js/integrations/factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Integration } from '@sentry/types';
1+
import type { Integration } from '@sentry/core';
22

33
/**
44
* Creates an integration out of the provided name and setup function.

packages/core/src/js/integrations/modulesloader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { Event, Integration } from '@sentry/core';
12
import { logger } from '@sentry/core';
2-
import type { Event, Integration } from '@sentry/types';
33

44
import { NATIVE } from '../wrapper';
55

packages/core/src/js/integrations/nativelinkederrors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { exceptionFromError } from '@sentry/browser';
2-
import { isInstanceOf, isPlainObject, isString } from '@sentry/core';
32
import type {
43
Client,
54
DebugImage,
@@ -10,7 +9,8 @@ import type {
109
Integration,
1110
StackFrame,
1211
StackParser,
13-
} from '@sentry/types';
12+
} from '@sentry/core';
13+
import { isInstanceOf, isPlainObject, isString } from '@sentry/core';
1414

1515
import type { NativeStackFrames } from '../NativeRNSentry';
1616
import { NATIVE } from '../wrapper';

packages/core/src/js/integrations/reactnativeerrorhandlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { EventHint, Integration, SeverityLevel } from '@sentry/core';
12
import { addExceptionMechanism, captureException, getClient, getCurrentScope, logger } from '@sentry/core';
2-
import type { EventHint, Integration, SeverityLevel } from '@sentry/types';
33

44
import { createSyntheticError, isErrorLike } from '../utils/error';
55
import { RN_GLOBAL_OBJ } from '../utils/worldwide';

packages/core/src/js/integrations/reactnativeinfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Context, Event, EventHint, Integration } from '@sentry/types';
1+
import type { Context, Event, EventHint, Integration } from '@sentry/core';
22

33
import {
44
getExpoGoVersion,

packages/core/src/js/integrations/release.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { BaseTransportOptions, Client, ClientOptions, Event, EventHint, Integration } from '@sentry/types';
1+
import type { BaseTransportOptions, Client, ClientOptions, Event, EventHint, Integration } from '@sentry/core';
22

33
import { NATIVE } from '../wrapper';
44

packages/core/src/js/integrations/rewriteframes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { Integration, StackFrame } from '@sentry/core';
12
import { rewriteFramesIntegration } from '@sentry/core';
2-
import type { Integration, StackFrame } from '@sentry/types';
33
import { Platform } from 'react-native';
44

55
import { isExpo, isHermesEnabled } from '../utils/environment';

packages/core/src/js/integrations/screenshot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Event, EventHint, Integration } from '@sentry/types';
1+
import type { Event, EventHint, Integration } from '@sentry/core';
22

33
import type { ReactNativeClient } from '../client';
44
import type { Screenshot as ScreenshotAttachment } from '../wrapper';

packages/core/src/js/integrations/sdkinfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { Event, Integration, Package, SdkInfo as SdkInfoType } from '@sentry/core';
12
import { logger } from '@sentry/core';
2-
import type { Event, Integration, Package, SdkInfo as SdkInfoType } from '@sentry/types';
33

44
import { isExpoGo, notWeb } from '../utils/environment';
55
import { SDK_NAME, SDK_PACKAGE_NAME, SDK_VERSION } from '../version';

packages/core/src/js/integrations/spotlight.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { BaseTransportOptions, Client, ClientOptions, Envelope, Integration } from '@sentry/core';
12
import { logger, serializeEnvelope } from '@sentry/core';
2-
import type { BaseTransportOptions, Client, ClientOptions, Envelope, Integration } from '@sentry/types';
33

44
import { ReactNativeLibraries } from '../utils/rnlibraries';
55
import { createStealthXhr, XHR_READYSTATE_DONE } from '../utils/xhr';

packages/core/src/js/integrations/viewhierarchy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { Attachment, Event, EventHint, Integration } from '@sentry/core';
12
import { logger } from '@sentry/core';
2-
import type { Attachment, Event, EventHint, Integration } from '@sentry/types';
33

44
import { NATIVE } from '../wrapper';
55

packages/core/src/js/misc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { EnvelopeItem, Exception } from '@sentry/types';
1+
import type { EnvelopeItem, Exception } from '@sentry/core';
22

33
type EnvelopeItemPayload = EnvelopeItem[1];
44

packages/core/src/js/options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { makeFetchTransport } from '@sentry/browser';
2+
import type { CaptureContext, ClientOptions, Event, EventHint, Options } from '@sentry/core';
23
import type { Profiler } from '@sentry/react';
3-
import type { CaptureContext, ClientOptions, Event, EventHint, Options } from '@sentry/types';
44
import type * as React from 'react';
55
import { Platform } from 'react-native';
66

packages/core/src/js/profiling/convertHermesProfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { FrameId, StackId, ThreadCpuFrame, ThreadCpuSample, ThreadCpuStack, ThreadId } from '@sentry/core';
12
import { logger } from '@sentry/core';
2-
import type { FrameId, StackId, ThreadCpuFrame, ThreadCpuSample, ThreadCpuStack, ThreadId } from '@sentry/types';
33

44
import { MAX_PROFILE_DURATION_MS } from './constants';
55
import type * as Hermes from './hermes';

packages/core/src/js/profiling/debugid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { DebugImage } from '@sentry/core';
12
import { GLOBAL_OBJ, logger } from '@sentry/core';
2-
import type { DebugImage } from '@sentry/types';
33

44
import { DEFAULT_BUNDLE_NAME } from './hermes';
55

packages/core/src/js/profiling/integration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable complexity */
2+
import type { Envelope, Event, Integration, Span, ThreadCpuProfile } from '@sentry/core';
23
import { getActiveSpan, getClient, logger, spanIsSampled, uuid4 } from '@sentry/core';
3-
import type { Envelope, Event, Integration, Span, ThreadCpuProfile } from '@sentry/types';
44
import { Platform } from 'react-native';
55

66
import type { ReactNativeClient } from '../client';

packages/core/src/js/profiling/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { DebugImage, MeasurementUnit, Profile, ThreadCpuFrame, ThreadCpuProfile } from '@sentry/types';
1+
import type { DebugImage, MeasurementUnit, Profile, ThreadCpuFrame, ThreadCpuProfile } from '@sentry/core';
22

33
import type { NativeProfileEvent } from './nativeTypes';
44

packages/core/src/js/profiling/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable complexity */
2+
import type { Envelope, Event, ThreadCpuProfile } from '@sentry/core';
23
import { forEachEnvelopeItem, logger } from '@sentry/core';
3-
import type { Envelope, Event, ThreadCpuProfile } from '@sentry/types';
44

55
import { getDefaultEnvironment } from '../utils/environment';
66
import { getDebugMetadata } from './debugid';

packages/core/src/js/replay/mobilereplay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { Client, DynamicSamplingContext, Event, Integration } from '@sentry/core';
12
import { logger } from '@sentry/core';
2-
import type { Client, DynamicSamplingContext, Event, Integration } from '@sentry/types';
33

44
import { isHardCrash } from '../misc';
55
import { hasHooks } from '../utils/clientutils';

packages/core/src/js/replay/xhrUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { Breadcrumb, BreadcrumbHint, SentryWrappedXMLHttpRequest, XhrBreadcrumbHint } from '@sentry/core';
12
import { dropUndefinedKeys } from '@sentry/core';
2-
import type { Breadcrumb, BreadcrumbHint, SentryWrappedXMLHttpRequest, XhrBreadcrumbHint } from '@sentry/types';
33

44
import type { RequestBody } from './networkUtils';
55
import { getBodySize, parseContentLengthHeader } from './networkUtils';

packages/core/src/js/scopeSync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Breadcrumb, Scope } from '@sentry/types';
1+
import type { Breadcrumb, Scope } from '@sentry/core';
22

33
import { DEFAULT_BREADCRUMB_LEVEL } from './breadcrumb';
44
import { fillTyped } from './utils/fill';

packages/core/src/js/sdk.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/* eslint-disable complexity */
2+
import type { Breadcrumb, BreadcrumbHint, Integration, Scope, SendFeedbackParams, UserFeedback } from '@sentry/core';
23
import { captureFeedback, getClient, getGlobalScope, getIntegrationsToSetup, getIsolationScope, initAndBind, logger, stackParserFromStackParserOptions, withScope as coreWithScope } from '@sentry/core';
34
import {
45
defaultStackParser,
56
makeFetchTransport,
67
} from '@sentry/react';
7-
import type { Breadcrumb, BreadcrumbHint, Integration, Scope, SendFeedbackParams, UserFeedback } from '@sentry/types';
88
import * as React from 'react';
99

1010
import { ReactNativeClient } from './client';

packages/core/src/js/tools/metroMiddleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { StackFrame } from '@sentry/core';
12
import { addContextToFrame, logger } from '@sentry/core';
2-
import type { StackFrame } from '@sentry/types';
33
import { readFile } from 'fs';
44
import type { IncomingMessage, ServerResponse } from 'http';
55
import type { InputConfigT, Middleware } from 'metro-config';

packages/core/src/js/touchevents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { SeverityLevel } from '@sentry/core';
12
import { addBreadcrumb, dropUndefinedKeys, getClient, logger, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/core';
2-
import type { SeverityLevel } from '@sentry/types';
33
import * as React from 'react';
44
import type { GestureResponderEvent } from 'react-native';
55
import { StyleSheet, View } from 'react-native';

packages/core/src/js/tracing/gesturetracing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { Breadcrumb } from '@sentry/core';
12
import { addBreadcrumb, logger, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/core';
2-
import type { Breadcrumb } from '@sentry/types';
33

44
import { startUserInteractionSpan } from './integrations/userInteraction';
55
import { UI_ACTION } from './ops';

packages/core/src/js/tracing/integrations/appStart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* eslint-disable complexity */
2+
import type { Client, Event, Integration, SpanJSON, TransactionEvent } from '@sentry/core';
23
import {
34
getCapturedScopesOnSpan,
45
getClient,
@@ -9,7 +10,6 @@ import {
910
startInactiveSpan,
1011
timestampInSeconds,
1112
} from '@sentry/core';
12-
import type { Client, Event, Integration, SpanJSON, TransactionEvent } from '@sentry/types';
1313

1414
import {
1515
APP_START_COLD as APP_START_COLD_MEASUREMENT,

packages/core/src/js/tracing/integrations/nativeFrames.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { Client, Event, Integration, Measurements, MeasurementUnit, Span } from '@sentry/core';
12
import { logger, timestampInSeconds } from '@sentry/core';
2-
import type { Client, Event, Integration, Measurements, MeasurementUnit, Span } from '@sentry/types';
33

44
import type { NativeFramesResponse } from '../../NativeRNSentry';
55
import { AsyncExpiringMap } from '../../utils/AsyncExpiringMap';

packages/core/src/js/tracing/integrations/stalltracking.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable max-lines */
2+
import type { Client, Integration, Measurements, MeasurementUnit, Span } from '@sentry/core';
23
import { getRootSpan, logger, spanToJSON, timestampInSeconds } from '@sentry/core';
3-
import type { Client, Integration, Measurements, MeasurementUnit, Span } from '@sentry/types';
44
import type { AppStateStatus } from 'react-native';
55
import { AppState } from 'react-native';
66

packages/core/src/js/tracing/integrations/userInteraction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { Integration, Span, StartSpanOptions } from '@sentry/core';
12
import {
23
getActiveSpan,
34
getClient,
@@ -6,7 +7,6 @@ import {
67
SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,
78
spanToJSON,
89
} from '@sentry/core';
9-
import type { Integration, Span, StartSpanOptions } from '@sentry/types';
1010

1111
import type { ReactNativeClientOptions } from '../../options';
1212
import { onlySampleIfChildSpans } from '../onSpanEndUtils';

packages/core/src/js/tracing/onSpanEndUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { Client, Span } from '@sentry/core';
12
import { getSpanDescendants, logger, SPAN_STATUS_ERROR, spanToJSON } from '@sentry/core';
2-
import type { Client, Span } from '@sentry/types';
33
import type { AppStateStatus } from 'react-native';
44
import { AppState } from 'react-native';
55

packages/core/src/js/tracing/reactnativenavigation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { Client, Integration, Span } from '@sentry/core';
12
import {
23
addBreadcrumb,
34
getClient,
@@ -6,7 +7,6 @@ import {
67
SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,
78
spanToJSON,
89
} from '@sentry/core';
9-
import type { Client, Integration, Span } from '@sentry/types';
1010

1111
import type { EmitterSubscription } from '../utils/rnlibrariesinterface';
1212
import { isSentrySpan } from '../utils/span';

packages/core/src/js/tracing/reactnativetracing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable max-lines */
22
import { instrumentOutgoingRequests } from '@sentry/browser';
3+
import type { Client, Event, Integration, StartSpanOptions } from '@sentry/core';
34
import { getClient } from '@sentry/core';
4-
import type { Client, Event, Integration, StartSpanOptions } from '@sentry/types';
55

66
import { isWeb } from '../utils/environment';
77
import { getDevServer } from './../integrations/debugsymbolicatorutils';

packages/core/src/js/tracing/reactnavigation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* eslint-disable max-lines */
2+
import type { Client, Integration, Span } from '@sentry/core';
23
import {
34
addBreadcrumb,
45
getActiveSpan,
@@ -12,7 +13,6 @@ import {
1213
startInactiveSpan,
1314
timestampInSeconds,
1415
} from '@sentry/core';
15-
import type { Client, Integration, Span } from '@sentry/types';
1616

1717
import type { NewFrameEvent } from '../utils/sentryeventemitter';
1818
import type { SentryEventEmitterFallback } from '../utils/sentryeventemitterfallback';

packages/core/src/js/tracing/span.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { Client, Scope, Span, StartSpanOptions } from '@sentry/core';
12
import {
23
generatePropagationContext,
34
getActiveSpan,
@@ -11,7 +12,6 @@ import {
1112
spanToJSON,
1213
startIdleSpan as coreStartIdleSpan,
1314
} from '@sentry/core';
14-
import type { Client, Scope, Span, StartSpanOptions } from '@sentry/types';
1515

1616
import { isRootSpan } from '../utils/span';
1717
import { adjustTransactionDuration, cancelInBackground } from './onSpanEndUtils';

packages/core/src/js/tracing/timetodisplay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { Span,StartSpanOptions } from '@sentry/core';
12
import { fill, getActiveSpan, getSpanDescendants, logger, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SPAN_STATUS_ERROR, SPAN_STATUS_OK, spanToJSON, startInactiveSpan } from '@sentry/core';
2-
import type { Span,StartSpanOptions } from '@sentry/types';
33
import * as React from 'react';
44

55
import { isTurboModuleEnabled } from '../utils/environment';

packages/core/src/js/tracing/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Span } from '@sentry/types';
1+
import type { Span } from '@sentry/core';
22

33
export interface ReactNavigationRoute {
44
name: string;

packages/core/src/js/tracing/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { MeasurementUnit, Span, SpanJSON, TransactionSource } from '@sentry/core';
12
import {
23
dropUndefinedKeys,
34
getSpanDescendants,
@@ -11,7 +12,6 @@ import {
1112
timestampInSeconds,
1213
uuid4,
1314
} from '@sentry/core';
14-
import type { MeasurementUnit, Span, SpanJSON, TransactionSource } from '@sentry/types';
1515

1616
import { RN_GLOBAL_OBJ } from '../utils/worldwide';
1717

0 commit comments

Comments
 (0)