Skip to content

Commit c7416da

Browse files
authored
fix(types): Use Sentry event type instead of dom one (#4584)
#4527 introduced Envelope types. In that patch, we included the `Event` DOM type, which is not declared in all TS environments - we meant to include Sentry's `Event` type. This patch explicitly introduces Sentry's Event type by importing it in, fixing the build errors that folks were having. Also updates the changelog for `6.17.9`
1 parent 314d117 commit c7416da

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66

7+
## 6.17.9
8+
9+
- fix(gatsby): Add missing React peer dependency ([#4576](https://github.com/getsentry/sentry-javascript/pull/4576))
10+
- fix(types): Use Sentry event type instead of dom one ([#4584](https://github.com/getsentry/sentry-javascript/pull/4584))
11+
712
## 6.17.8
813

914
- feat(types): Add Envelope types ([#4527](https://github.com/getsentry/sentry-javascript/pull/4527))

packages/types/src/envelope.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Event } from './event';
12
import { SentryRequestType } from './request';
23
import { SdkInfo } from './sdkinfo';
34
import { Session, SessionAggregates } from './session';

0 commit comments

Comments
 (0)