@firsthandjs/router 0.4.0 → 0.6.0
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/dist/hooks.d.ts +1 -1
- package/package.json +3 -3
package/dist/hooks.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare function useBasePath(): ReadonlyCell<string>;
|
|
|
26
26
|
/**
|
|
27
27
|
* The router above this component.
|
|
28
28
|
*
|
|
29
|
-
* The same shape as `
|
|
29
|
+
* The same shape as `useData()` in `@firsthandjs/data`: a `use*` hook that
|
|
30
30
|
* returns the thing itself, because a router does not change under you.
|
|
31
31
|
*/
|
|
32
32
|
export declare function useRouter(): RouterState;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firsthandjs/router",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Routing for Firsthand: nested routes, params, and route code loaded on demand.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"LICENSE"
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@firsthandjs/core": "0.
|
|
23
|
-
"@firsthandjs/dom": "0.
|
|
22
|
+
"@firsthandjs/core": "0.6.0",
|
|
23
|
+
"@firsthandjs/dom": "0.6.0"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": ">=20.11.0"
|