Skip to content

Commit bd46727

Browse files
authored
fix(integrations): Remove erroneous WINDOW exports (#6185)
1 parent aaf48a1 commit bd46727

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/integrations/src/offline.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Event, EventProcessor, Hub, Integration } from '@sentry/types';
44
import { GLOBAL_OBJ, logger, normalize, uuid4 } from '@sentry/utils';
55
import localForage from 'localforage';
66

7-
export const WINDOW = GLOBAL_OBJ as typeof GLOBAL_OBJ & Window;
7+
const WINDOW = GLOBAL_OBJ as typeof GLOBAL_OBJ & Window;
88

99
type LocalForage = {
1010
setItem<T>(key: string, value: T, callback?: (err: any, value: T) => void): Promise<T>;

packages/integrations/src/reportingobserver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { EventProcessor, Hub, Integration } from '@sentry/types';
22
import { GLOBAL_OBJ, supportsReportingObserver } from '@sentry/utils';
33

4-
export const WINDOW = GLOBAL_OBJ as typeof GLOBAL_OBJ & Window;
4+
const WINDOW = GLOBAL_OBJ as typeof GLOBAL_OBJ & Window;
55

66
interface Report {
77
[key: string]: unknown;

0 commit comments

Comments
 (0)