@pactflow/pact-msw-adapter
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [1.2.1](https://github.com/pactflow/pact-msw-adapter/compare/v1.2.0...v1.2.1) (2022-07-15) | ||
### Bug Fixes | ||
* include headers on interactions requests ([c5a0cea](https://github.com/pactflow/pact-msw-adapter/commit/c5a0ceaf854d97ac6dfaf62b2c8d40231617a653)) | ||
## [1.2.0](https://github.com/pactflow/pact-msw-adapter/compare/v1.1.1...v1.2.0) (2022-06-01) | ||
@@ -7,0 +14,0 @@ |
@@ -18,4 +18,4 @@ "use strict"; | ||
headers: (headers === null || headers === void 0 ? void 0 : headers.excludeHeaders) | ||
? (0, lodash_1.omit)(match.request.headers['_headers'], headers.excludeHeaders) | ||
: match.request.headers['_headers'], | ||
? (0, lodash_1.omit)(Object.fromEntries(match.request.headers.entries()), headers.excludeHeaders) | ||
: Object.fromEntries(match.request.headers.entries()), | ||
body: match.request.body || undefined, | ||
@@ -22,0 +22,0 @@ query: match.request.url.search ? match.request.url.search.split('?')[1] : undefined |
{ | ||
"name": "@pactflow/pact-msw-adapter", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"main": "./dist/pactMswAdapter.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35784