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/index.js
CHANGED
|
@@ -122,7 +122,7 @@ var cookieUtils = __toESM(require("cookie"));
|
|
|
122
122
|
var cookie = (name, value, options) => {
|
|
123
123
|
return (res) => {
|
|
124
124
|
const serializedCookie = cookieUtils.serialize(name, value, options);
|
|
125
|
-
res.headers.
|
|
125
|
+
res.headers.append("Set-Cookie", serializedCookie);
|
|
126
126
|
if (typeof document !== "undefined") {
|
|
127
127
|
document.cookie = serializedCookie;
|
|
128
128
|
}
|