Skip to content

Commit 4199f08

Browse files
authored
fix: Breadcrumb type data to be object (getsentry#2228)
* fix: Breadcrumb type data to be object * meta: Changelog
1 parent c38d25e commit 4199f08

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
- [types] fix: Breadcrumb `data` needs to be an object
6+
37
## 5.6.3
48

59
- [browser] fix: Don't capture our own XHR events that somehow bubbled-up to global handler

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "lerna run --stream --concurrency 1 --sort test",
1414
"codecov": "codecov"
1515
},
16-
"toolchain": {
16+
"volta": {
1717
"node": "10.15.3",
1818
"yarn": "1.13.0"
1919
},

packages/types/src/breadcrumb.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export interface Breadcrumb {
77
event_id?: string;
88
category?: string;
99
message?: string;
10-
data?: any;
10+
data?: { [key: string]: any };
1111
timestamp?: number;
1212
}
1313

0 commit comments

Comments
 (0)