nuxt-custom-fetch 4.0.0-alpha.4 → 4.0.0-alpha.5

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,10 +136,11 @@ export class CustomFetch {
136
136
  const nuxtApp = useNuxtApp();
137
137
  if (import.meta.client && !nuxtApp.isHydrating) {
138
138
  if (nuxtApp._asyncData[key]) {
139
- return nuxtApp._asyncData[key].execute({
139
+ nuxtApp._asyncData[key].execute({
140
140
  cause: "initial",
141
141
  dedupe: options.dedupe
142
142
  });
143
+ return nuxtApp._asyncData[key];
143
144
  }
144
145
  const _ref = options.deep ? ref : shallowRef;
145
146
  options.default ??= () => asyncDataDefaults.value;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-custom-fetch",
3
3
  "type": "module",
4
- "version": "4.0.0-alpha.4",
4
+ "version": "4.0.0-alpha.5",
5
5
  "packageManager": "pnpm@8.15.3+sha1.64838798f519c18029c1e8a1310e16101fc2eda0",
6
6
  "license": "MIT",
7
7
  "repository": {