@nxtedition/nxt-undici 5.2.0 → 5.2.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.
@@ -136,7 +136,7 @@ export default () => (dispatch) => (opts, handler) => {
136
136
  // Dump body...
137
137
  opts.body?.on('error', () => {}).resume()
138
138
 
139
- const store = opts.store ?? DEFAULT_STORE
139
+ const store = opts.cache.store ?? DEFAULT_STORE
140
140
  const entry = store.get(opts)
141
141
  if (!entry) {
142
142
  return dispatch(opts, new CacheHandler(opts.headers, { store, handler }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/nxt-undici",
3
- "version": "5.2.0",
3
+ "version": "5.2.1",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "main": "lib/index.js",