@uniflowed/router 0.8.0 → 0.9.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/package.json +4 -4
- package/rsc.js +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniflowed/router",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "The file-system router for Flow React applications: matching, layouts, loaders, navigation, server rendering and hydration.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@uniflowed/hooks": "0.
|
|
77
|
-
"@uniflowed/server": "0.
|
|
78
|
-
"@uniflowed/validator": "0.
|
|
76
|
+
"@uniflowed/hooks": "0.9.0",
|
|
77
|
+
"@uniflowed/server": "0.9.0",
|
|
78
|
+
"@uniflowed/validator": "0.9.0"
|
|
79
79
|
}
|
|
80
80
|
}
|
package/rsc.js
CHANGED
|
@@ -113,7 +113,9 @@ export function registerServerFunction<T>(fn: T, id: string, name: string): T {
|
|
|
113
113
|
if (typeof fn !== "function") {
|
|
114
114
|
return fn;
|
|
115
115
|
}
|
|
116
|
-
|
|
116
|
+
// Registration attaches metadata without invoking this unknown signature.
|
|
117
|
+
// Keep typed calls checked; reflection is for this runtime-narrowed value.
|
|
118
|
+
Reflect.apply(registerServerReference, undefined, [fn, id, name]);
|
|
117
119
|
return fn;
|
|
118
120
|
}
|
|
119
121
|
|