@qwik.dev/router 2.0.0-alpha.7 → 2.0.0-alpha.8

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.
@@ -1420,7 +1420,7 @@ const routeLoaderQrl = (loaderQrl, ...rest) => {
1420
1420
  If your are managing reusable logic or a library it is essential that this function is re-exported from within 'layout.tsx' or 'index.tsx file of the existing route otherwise it will not run or throw exception.
1421
1421
  For more information check: https://qwik.dev/docs/re-exporting-loaders/`);
1422
1422
  }
1423
- return internal._wrapProp(state, id);
1423
+ return internal._wrapStore(state, id);
1424
1424
  });
1425
1425
  }
1426
1426
  loader.__brand = "server_loader";
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs, Fragment } from "@qwik.dev/core/jsx-runtime";
2
2
  import { isBrowser, createContextId, implicit$FirstArg, useContext, useVisibleTask$, noSerialize, useServerData, component$, untrack, $, sync$, isDev, Slot, withLocale, event$, useStyles$, useStore, useSignal, useContextProvider, useTask$, isServer, getLocale, jsx as jsx$1, SkipRender } from "@qwik.dev/core";
3
- import { _deserialize, _weakSerialize, _getContextElement, _waitUntilRendered, _getQContainerElement, _wrapProp, _getContextEvent, _serialize } from "@qwik.dev/core/internal";
3
+ import { _deserialize, _weakSerialize, _getContextElement, _waitUntilRendered, _getQContainerElement, _wrapStore, _getContextEvent, _serialize } from "@qwik.dev/core/internal";
4
4
  import * as qwikRouterConfig from "@qwik-router-config";
5
5
  import { z } from "zod";
6
6
  import { z as z2 } from "zod";
@@ -1402,7 +1402,7 @@ const routeLoaderQrl = (loaderQrl, ...rest) => {
1402
1402
  If your are managing reusable logic or a library it is essential that this function is re-exported from within 'layout.tsx' or 'index.tsx file of the existing route otherwise it will not run or throw exception.
1403
1403
  For more information check: https://qwik.dev/docs/re-exporting-loaders/`);
1404
1404
  }
1405
- return _wrapProp(state, id);
1405
+ return _wrapStore(state, id);
1406
1406
  });
1407
1407
  }
1408
1408
  loader.__brand = "server_loader";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qwik.dev/router",
3
3
  "description": "The router for Qwik.",
4
- "version": "2.0.0-alpha.7",
4
+ "version": "2.0.0-alpha.8",
5
5
  "bugs": "https://github.com/QwikDev/qwik/issues",
6
6
  "dependencies": {
7
7
  "@mdx-js/mdx": "^3",
@@ -41,7 +41,7 @@
41
41
  "unist-util-visit": "5.0.0",
42
42
  "uvu": "0.5.6",
43
43
  "yaml": "2.4.5",
44
- "@qwik.dev/core": "2.0.0-alpha.7"
44
+ "@qwik.dev/core": "2.0.0-alpha.8"
45
45
  },
46
46
  "engines": {
47
47
  "node": "^18.17.0 || ^20.3.0 || >=21.0.0"