Skip to content

Commit d764201

Browse files
committed
meta: v5.6.1 changelog
1 parent 332b3a2 commit d764201

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
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)

packages/node/test/handlers.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
import { parseRequest } from '../src/handlers';
21
import { Event } from '../src';
2+
import { parseRequest } from '../src/handlers';
33

44
describe('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

0 commit comments

Comments
 (0)