Skip to content

Commit a989877

Browse files
fix(changelog): Replace import Sentry by import * as Sentry (#4192)
1 parent a2f7367 commit a989877

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

CHANGELOG.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To upgrade from the SDK version 5, please follow our [migration guide](https://d
1616
- React Native Tracing options were moved to the root options
1717

1818
```js
19-
import Sentry from '@sentry/react-native';
19+
import * as Sentry from '@sentry/react-native';
2020

2121
Sentry.init({
2222
tracesSampleRate: 1.0,
@@ -41,7 +41,7 @@ To upgrade from the SDK version 5, please follow our [migration guide](https://d
4141
- New React Navigation Integration interface ([#4003](https://github.com/getsentry/sentry-react-native/pull/4003))
4242

4343
```js
44-
import Sentry from '@sentry/react-native';
44+
import * as Sentry from '@sentry/react-native';
4545
import { NavigationContainer } from '@react-navigation/native';
4646

4747
const reactNavigationIntegration = Sentry.reactNavigationIntegration();
@@ -85,7 +85,7 @@ To upgrade from the SDK version 5, please follow our [migration guide](https://d
8585
- New React Native Navigation Integration interface ([#4003](https://github.com/getsentry/sentry-react-native/pull/4003))
8686

8787
```js
88-
import Sentry from '@sentry/react-native';
88+
import * as Sentry from '@sentry/react-native';
8989
import { Navigation } from 'react-native-navigation';
9090

9191
Sentry.init({
@@ -266,7 +266,7 @@ Sentry Javascript SDK 8.0.0 ([JS Docs](https://docs.sentry.io/platforms/javascri
266266
- React Native Tracing options were moved to the root options
267267

268268
```js
269-
import Sentry from '@sentry/react-native';
269+
import * as Sentry from '@sentry/react-native';
270270

271271
Sentry.init({
272272
tracesSampleRate: 1.0,
@@ -291,7 +291,7 @@ Sentry Javascript SDK 8.0.0 ([JS Docs](https://docs.sentry.io/platforms/javascri
291291
- New React Navigation Integration interface ([#4003](https://github.com/getsentry/sentry-react-native/pull/4003))
292292

293293
```js
294-
import Sentry from '@sentry/react-native';
294+
import * as Sentry from '@sentry/react-native';
295295
import { NavigationContainer } from '@react-navigation/native';
296296

297297
const reactNavigationIntegration = Sentry.reactNavigationIntegration();
@@ -335,7 +335,7 @@ Sentry Javascript SDK 8.0.0 ([JS Docs](https://docs.sentry.io/platforms/javascri
335335
- New React Native Navigation Integration interface ([#4003](https://github.com/getsentry/sentry-react-native/pull/4003))
336336

337337
```js
338-
import Sentry from '@sentry/react-native';
338+
import * as Sentry from '@sentry/react-native';
339339
import { Navigation } from 'react-native-navigation';
340340

341341
Sentry.init({
@@ -413,7 +413,7 @@ Sentry Javascript SDK 8.0.0 ([JS Docs](https://docs.sentry.io/platforms/javascri
413413
Standalone mode creates single root span (transaction) including only app start data.
414414

415415
```js
416-
import Sentry from '@sentry/react-native';
416+
import * as Sentry from '@sentry/react-native';
417417

418418
Sentry.init({
419419
tracesSampleRate: 1.0,
@@ -438,7 +438,7 @@ Sentry Javascript SDK 8.0.0 ([JS Docs](https://docs.sentry.io/platforms/javascri
438438
- New React Navigation Integration interface ([#4003](https://github.com/getsentry/sentry-react-native/pull/4003))
439439

440440
```js
441-
import Sentry from '@sentry/react-native';
441+
import * as Sentry from '@sentry/react-native';
442442
import { NavigationContainer } from '@react-navigation/native';
443443

444444
const reactNavigationIntegration = Sentry.reactNavigationIntegration();
@@ -462,7 +462,7 @@ Sentry Javascript SDK 8.0.0 ([JS Docs](https://docs.sentry.io/platforms/javascri
462462
- New React Native Navigation Integration interface ([#4003](https://github.com/getsentry/sentry-react-native/pull/4003))
463463

464464
```js
465-
import Sentry from '@sentry/react-native';
465+
import * as Sentry from '@sentry/react-native';
466466
import { Navigation } from 'react-native-navigation';
467467

468468
Sentry.init({

0 commit comments

Comments
 (0)