@freshsqueezed/mammothgql
Advanced tools
Comparing version 1.0.16 to 1.0.17
@@ -0,1 +1,8 @@ | ||
## [1.0.17](https://github.com/freshsqueezed/mammothgql/compare/v1.0.16...v1.0.17) (2025-01-07) | ||
### Bug Fixes | ||
* **graphiql:** fix broken graphiql interface ([ebd238c](https://github.com/freshsqueezed/mammothgql/commit/ebd238cc26de7a1bb2e3745da50762dceff022d6)) | ||
## [1.0.16](https://github.com/freshsqueezed/mammothgql/compare/v1.0.15...v1.0.16) (2025-01-07) | ||
@@ -2,0 +9,0 @@ |
@@ -175,13 +175,2 @@ "use strict"; | ||
}), | ||
fetch: (url, options) => { | ||
options = { | ||
...options, | ||
credentials: 'include', // Include cookies for same-origin requests | ||
headers: { | ||
...options.headers, | ||
'Cookie': \`${cookies}\`, // Inject cookies into the headers | ||
}, | ||
}; | ||
return fetch(url, options); | ||
}, | ||
}); | ||
@@ -188,0 +177,0 @@ |
@@ -6,3 +6,3 @@ { | ||
"types": "lib/index.d.ts", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"author": "Matt Gordon <matt@lemonade.tech>", | ||
@@ -9,0 +9,0 @@ "license": "MIT", |
@@ -242,13 +242,2 @@ import { Request, Response } from 'express'; | ||
}), | ||
fetch: (url, options) => { | ||
options = { | ||
...options, | ||
credentials: 'include', // Include cookies for same-origin requests | ||
headers: { | ||
...options.headers, | ||
'Cookie': \`${cookies}\`, // Inject cookies into the headers | ||
}, | ||
}; | ||
return fetch(url, options); | ||
}, | ||
}); | ||
@@ -255,0 +244,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
40324
690