whistle.mockbubu 2.2.6 → 2.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -140,6 +140,8 @@ module.exports = (router) => {
140
140
  type: 'source',
141
141
  name: 'source',
142
142
  content: sourceContent,
143
+ reqHeaders: fileData.session?.req?.headers || {},
144
+ resHeaders: fileData.session?.res?.headers || {},
143
145
  updateTime: fileData.updateTime || fileData.createTime,
144
146
  })
145
147
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whistle.mockbubu",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "description": "mock response data",
5
5
  "scripts": {
6
6
  "lint": "eslint . --ext .js",