Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: replace @sentry/browser with @sentry/react #300

Closed
wants to merge 1 commit into from
Closed
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 CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

### 🧹 Chores

- Replace `@sentry/browser` with `@sentry/react` ([#300](https://github.com/expo/sentry-expo/pull/300) by [@SimenB](https://github.com/SimenB))

## [5.0.3](https://github.com/expo/sentry-expo/releases/tag/v5.0.3) - 2022-10-08

### 🐛 Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion build/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from './sentry';
export { SentryExpoNativeOptions, SentryExpoWebOptions } from './utils';
export * as Browser from '@sentry/browser';
export * as Browser from '@sentry/react';
//# sourceMappingURL=index.d.ts.map
2 changes: 1 addition & 1 deletion build/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/sentry.web.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/sentry.web.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/utils.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { BrowserOptions } from '@sentry/browser';
import type { BrowserOptions } from '@sentry/react';
import type { Integration } from '@sentry/types';
import type { ReactNativeOptions } from '@sentry/react-native';
export interface SentryExpoWebOptions extends BrowserOptions {
Expand Down
2 changes: 1 addition & 1 deletion build/utils.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/utils.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"@expo/config-plugins": "~5.0.0",
"@expo/config-types": "^46.0.1",
"@expo/spawn-async": "^1.6.0",
"@sentry/browser": "7.7.0",
"@sentry/integrations": "7.7.0",
"@sentry/react": "7.7.0",
"@sentry/react-native": "4.2.2",
"@sentry/types": "7.7.0",
"mkdirp": "^1.0.4",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from './sentry';
export { SentryExpoNativeOptions, SentryExpoWebOptions } from './utils';
export * as Browser from '@sentry/browser';
export * as Browser from '@sentry/react';
2 changes: 1 addition & 1 deletion src/sentry.web.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { init as initBrowser } from '@sentry/browser';
import { init as initBrowser } from '@sentry/react';
import { SentryExpoWebOptions } from './utils';

export const init = (options: SentryExpoWebOptions = {}) => {
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { BrowserOptions } from '@sentry/browser';
import type { BrowserOptions } from '@sentry/react';
import type { Integration } from '@sentry/types';
import type { ReactNativeOptions } from '@sentry/react-native';

Expand Down