@unsetsoft/ryunixjs 1.2.5-canary.12 → 1.2.5-canary.13
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/Ryunix.esm.js +580 -204
- package/dist/Ryunix.esm.js.map +1 -1
- package/dist/Ryunix.umd.js +593 -203
- package/dist/Ryunix.umd.js.map +1 -1
- package/dist/Ryunix.umd.min.js +1 -1
- package/dist/Ryunix.umd.min.js.map +1 -1
- package/package.json +2 -2
- package/types/index.d.ts +12 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unsetsoft/ryunixjs",
|
|
3
|
-
"version": "1.2.5-canary.
|
|
3
|
+
"version": "1.2.5-canary.13",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"jest-environment-jsdom": "30.2.0"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
|
-
"node": "20 || ^22 || ^24"
|
|
62
|
+
"node": "20 || ^22 || ^24 || ^26"
|
|
63
63
|
},
|
|
64
64
|
"keywords": [
|
|
65
65
|
"ryunixjs"
|
package/types/index.d.ts
CHANGED
|
@@ -234,6 +234,16 @@ export function useMetadata(
|
|
|
234
234
|
options?: RyunixMetadataOptions,
|
|
235
235
|
): void
|
|
236
236
|
|
|
237
|
+
export function resolvePageMetadata(
|
|
238
|
+
meta?: Record<string, unknown>,
|
|
239
|
+
options?: RyunixMetadataOptions,
|
|
240
|
+
): { title: string; tags: Record<string, string | string[]> }
|
|
241
|
+
|
|
242
|
+
export function mergeRouteMetadata(
|
|
243
|
+
base?: Record<string, unknown>,
|
|
244
|
+
next?: Record<string, unknown>,
|
|
245
|
+
): Record<string, unknown>
|
|
246
|
+
|
|
237
247
|
// ---------------------------------------------------------------------------
|
|
238
248
|
// Router
|
|
239
249
|
// ---------------------------------------------------------------------------
|
|
@@ -615,6 +625,8 @@ declare const Ryunix: {
|
|
|
615
625
|
useQuery: typeof useQuery
|
|
616
626
|
useHash: typeof useHash
|
|
617
627
|
useMetadata: typeof useMetadata
|
|
628
|
+
resolvePageMetadata: typeof resolvePageMetadata
|
|
629
|
+
mergeRouteMetadata: typeof mergeRouteMetadata
|
|
618
630
|
useId: typeof useId
|
|
619
631
|
resetIdCounter: typeof resetIdCounter
|
|
620
632
|
useDebounce: typeof useDebounce
|