msw 0.43.0 → 0.43.1
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.
- package/lib/iife/index.js +1 -1
- package/lib/iife/index.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/mockServiceWorker.js +1 -1
- package/lib/native/index.js +1 -1
- package/lib/native/index.mjs +1 -1
- package/lib/node/index.js +1 -1
- package/lib/node/index.js.map +1 -1
- package/lib/node/index.mjs +1 -1
- package/lib/node/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/iife/index.js
CHANGED
|
@@ -7080,7 +7080,7 @@ Invalid value has been removed from localStorage to prevent subsequent failed pa
|
|
|
7080
7080
|
var cookie = (name, value, options) => {
|
|
7081
7081
|
return (res) => {
|
|
7082
7082
|
const serializedCookie = cookieUtils.serialize(name, value, options);
|
|
7083
|
-
res.headers.
|
|
7083
|
+
res.headers.append("Set-Cookie", serializedCookie);
|
|
7084
7084
|
if (typeof document !== "undefined") {
|
|
7085
7085
|
document.cookie = serializedCookie;
|
|
7086
7086
|
}
|