Skip to content

Commit 3426396

Browse files
authored
ref(js): Use Scope class rather than Scope type for top-level functions (#2627)
1 parent ab6a1fe commit 3426396

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
- Add `maxQueueSize` option ([#2578](https://github.com/getsentry/sentry-react-native/pull/2578))
88

9+
### Fixes
10+
11+
- Use `Scope` class rather than `Scope` type for top-level functions ([#2627](https://github.com/getsentry/sentry-react-native/pull/2627))
12+
913
### Dependencies
1014

1115
- Bump JavaScript SDK from v7.16.0 to v7.17.4 ([#2582](https://github.com/getsentry/sentry-react-native/pull/2582), [#2598](https://github.com/getsentry/sentry-react-native/pull/2598))

src/js/sdk.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { getIntegrationsToSetup, Hub, initAndBind, makeMain,setExtra } from '@sentry/core';
1+
import { getIntegrationsToSetup, Hub, initAndBind, makeMain, Scope, setExtra } from '@sentry/core';
22
import { RewriteFrames } from '@sentry/integrations';
33
import {
44
defaultIntegrations as reactDefaultIntegrations,
55
defaultStackParser,
66
getCurrentHub,
77
} from '@sentry/react';
8-
import { Integration, Scope, StackFrame, UserFeedback } from '@sentry/types';
8+
import { Integration, StackFrame, UserFeedback } from '@sentry/types';
99
import { logger, stackParserFromStackParserOptions } from '@sentry/utils';
1010
import * as React from 'react';
1111

0 commit comments

Comments
 (0)