File tree 2 files changed +12
-7
lines changed 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 5.6.1
4
+
5
+ - [ core] fix: Correctly detect when client is enabled before installing integrations (#2193 )
6
+ - [ browser] ref: Loosen typings in ` wrap ` method
7
+
3
8
## 5.6.0
4
9
5
10
- [ core] fix: When using enabled: false integrations shouldnt be installed (#2181 )
Original file line number Diff line number Diff line change 1
- import { parseRequest } from '../src/handlers' ;
2
1
import { Event } from '../src' ;
2
+ import { parseRequest } from '../src/handlers' ;
3
3
4
4
describe ( 'parseRequest' , ( ) => {
5
5
const mockReq = {
6
- method : 'GET ' ,
7
- url : '/some/path?key=value' ,
6
+ body : '' ,
7
+ cookies : { test : 'test' } ,
8
8
headers : {
9
9
host : 'mattrobenolt.com' ,
10
10
} ,
11
- cookies : { test : 'test' } ,
12
- body : '' ,
11
+ method : 'GET' ,
12
+ url : '/some/path?key=value ' ,
13
13
user : {
14
+ custom_property : 'foo' ,
15
+ email : 'tobias@mail.com' ,
14
16
id : 123 ,
15
17
username : 'tobias' ,
16
- email : 'tobias@mail.com' ,
17
- custom_property : 'foo' ,
18
18
} ,
19
19
} ;
20
20
You can’t perform that action at this time.
0 commit comments