@vitnode/core 1.2.0-canary.20 → 1.2.0-canary.21
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/src/app/login/page.d.ts +4 -2
- package/dist/src/app/login/page.d.ts.map +1 -1
- package/dist/src/app/login/page.js +2 -1
- package/dist/src/app/register/page.d.ts +4 -2
- package/dist/src/app/register/page.d.ts.map +1 -1
- package/dist/src/app/register/page.js +2 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/app/login/page.tsx +3 -2
- package/src/app/register/page.tsx +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitnode/core",
|
|
3
|
-
"version": "1.2.0-canary.
|
|
3
|
+
"version": "1.2.0-canary.21",
|
|
4
4
|
"description": "Core package for VitNode, providing essential functionalities and configurations.",
|
|
5
5
|
"author": "VitNode Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"vite-tsconfig-paths": "^5.1.4",
|
|
58
58
|
"vitest": "^3.2.2",
|
|
59
59
|
"zod": "^3.25.56",
|
|
60
|
-
"@vitnode/eslint-config": "1.2.0-canary.
|
|
60
|
+
"@vitnode/eslint-config": "1.2.0-canary.21"
|
|
61
61
|
},
|
|
62
62
|
"bin": {
|
|
63
63
|
"vitnode": "./dist/scripts/scripts.js"
|
package/src/app/login/page.tsx
CHANGED
|
@@ -5,10 +5,11 @@ import { getTranslations } from 'next-intl/server';
|
|
|
5
5
|
import { SignInView } from '../../views/auth/sign-in/sign-in-view';
|
|
6
6
|
|
|
7
7
|
export const generateMetadata = async ({
|
|
8
|
-
|
|
8
|
+
params,
|
|
9
9
|
}: {
|
|
10
|
-
locale: string
|
|
10
|
+
params: Promise<{ locale: string }>;
|
|
11
11
|
}): Promise<Metadata> => {
|
|
12
|
+
const { locale } = await params;
|
|
12
13
|
const t = await getTranslations({ locale, namespace: 'core.global' });
|
|
13
14
|
|
|
14
15
|
return {
|
|
@@ -5,10 +5,11 @@ import { getTranslations } from 'next-intl/server';
|
|
|
5
5
|
import { SignUpView } from '../../views/auth/sign-up/sign-up-view';
|
|
6
6
|
|
|
7
7
|
export const generateMetadata = async ({
|
|
8
|
-
|
|
8
|
+
params,
|
|
9
9
|
}: {
|
|
10
|
-
locale: string
|
|
10
|
+
params: Promise<{ locale: string }>;
|
|
11
11
|
}): Promise<Metadata> => {
|
|
12
|
+
const { locale } = await params;
|
|
12
13
|
const t = await getTranslations({ locale, namespace: 'core.global' });
|
|
13
14
|
|
|
14
15
|
return {
|