Skip to content

Commit 6942101

Browse files
authored
feat: Make reporting observer optional (#1713)
1 parent 5e5439e commit 6942101

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Unreleased
44

5+
- [browser]: Move `ReportingObserver` integration to "pluggable" making it an opt-in integration
56
- [utils]: Use node internal `path` / `fs` for `store.ts`
67

78
## 4.2.4

packages/browser/src/integrations/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ export { GlobalHandlers } from './globalhandlers';
22
export { TryCatch } from './trycatch';
33
export { Breadcrumbs } from './breadcrumbs';
44
export { LinkedErrors } from './linkederrors';
5-
export { ReportingObserver } from './reportingobserver';
65
export { UserAgent } from './useragent';
76

87
export { Ember } from './pluggable/ember';
98
export { Vue } from './pluggable/vue';
9+
export { ReportingObserver } from './pluggable/reportingobserver';

packages/browser/src/sdk.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { getCurrentHub, initAndBind, Integrations as CoreIntegrations } from '@sentry/core';
22
import { BrowserOptions } from './backend';
33
import { BrowserClient, ReportDialogOptions } from './client';
4-
import { Breadcrumbs, GlobalHandlers, LinkedErrors, ReportingObserver, TryCatch, UserAgent } from './integrations';
4+
import { Breadcrumbs, GlobalHandlers, LinkedErrors, TryCatch, UserAgent } from './integrations';
55

66
export const defaultIntegrations = [
77
// Common
@@ -13,7 +13,6 @@ export const defaultIntegrations = [
1313
new Breadcrumbs(),
1414
// Global Handlers
1515
new GlobalHandlers(),
16-
new ReportingObserver(),
1716
// Misc
1817
new LinkedErrors(),
1918
new UserAgent(),

0 commit comments

Comments
 (0)