File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
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+
38## 5.6.0
49
510- [ 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' ;
21import { Event } from '../src' ;
2+ import { parseRequest } from '../src/handlers' ;
33
44describe ( 'parseRequest' , ( ) => {
55 const mockReq = {
6- method : 'GET ' ,
7- url : '/some/path?key=value' ,
6+ body : '' ,
7+ cookies : { test : 'test' } ,
88 headers : {
99 host : 'mattrobenolt.com' ,
1010 } ,
11- cookies : { test : 'test' } ,
12- body : '' ,
11+ method : 'GET' ,
12+ url : '/some/path?key=value ' ,
1313 user : {
14+ custom_property : 'foo' ,
15+ email : 'tobias@mail.com' ,
1416 id : 123 ,
1517 username : 'tobias' ,
16- email : 'tobias@mail.com' ,
17- custom_property : 'foo' ,
1818 } ,
1919 } ;
2020
You can’t perform that action at this time.
0 commit comments