@valbuild/next 0.84.2 → 0.85.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.
|
@@ -49,7 +49,7 @@ function useValRouteStega(selector, params) {
|
|
|
49
49
|
// This feels fairly safe: use should be possible to use inside if (?) and the if should most likely
|
|
50
50
|
resolvedParams = React__default["default"].use(params);
|
|
51
51
|
} else {
|
|
52
|
-
console.error("Val: useValRoute params argument was promise, but the React.use hook is
|
|
52
|
+
console.error("Val: useValRoute params argument was promise, but the React.use hook is unavailable. Please resolve the promise before passing it to useValRoute (or upgrade to React 19+).");
|
|
53
53
|
return null;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -49,7 +49,7 @@ function useValRouteStega(selector, params) {
|
|
|
49
49
|
// This feels fairly safe: use should be possible to use inside if (?) and the if should most likely
|
|
50
50
|
resolvedParams = React__default["default"].use(params);
|
|
51
51
|
} else {
|
|
52
|
-
console.error("Val: useValRoute params argument was promise, but the React.use hook is
|
|
52
|
+
console.error("Val: useValRoute params argument was promise, but the React.use hook is unavailable. Please resolve the promise before passing it to useValRoute (or upgrade to React 19+).");
|
|
53
53
|
return null;
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -41,7 +41,7 @@ function useValRouteStega(selector, params) {
|
|
|
41
41
|
// This feels fairly safe: use should be possible to use inside if (?) and the if should most likely
|
|
42
42
|
resolvedParams = React.use(params);
|
|
43
43
|
} else {
|
|
44
|
-
console.error("Val: useValRoute params argument was promise, but the React.use hook is
|
|
44
|
+
console.error("Val: useValRoute params argument was promise, but the React.use hook is unavailable. Please resolve the promise before passing it to useValRoute (or upgrade to React 19+).");
|
|
45
45
|
return null;
|
|
46
46
|
}
|
|
47
47
|
}
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"next",
|
|
9
9
|
"react"
|
|
10
10
|
],
|
|
11
|
-
"version": "0.
|
|
11
|
+
"version": "0.85.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"typecheck": "tsc --noEmit",
|
|
14
14
|
"test": "jest"
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"exports": true
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@valbuild/core": "~0.
|
|
49
|
-
"@valbuild/react": "~0.
|
|
50
|
-
"@valbuild/server": "~0.
|
|
51
|
-
"@valbuild/shared": "~0.
|
|
52
|
-
"@valbuild/ui": "~0.
|
|
48
|
+
"@valbuild/core": "~0.85.0",
|
|
49
|
+
"@valbuild/react": "~0.85.0",
|
|
50
|
+
"@valbuild/server": "~0.85.0",
|
|
51
|
+
"@valbuild/shared": "~0.85.0",
|
|
52
|
+
"@valbuild/ui": "~0.85.0",
|
|
53
53
|
"client-only": "^0.0.1",
|
|
54
54
|
"server-only": "^0.0.1"
|
|
55
55
|
},
|