@seedgrid/fe-security 2026.7.2 → 2026.7.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seedgrid/fe-security",
3
- "version": "2026.7.2",
3
+ "version": "2026.7.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -52,8 +52,8 @@
52
52
  "next": "15.0.7",
53
53
  "react": "19.0.0",
54
54
  "@types/react": "^19.0.0",
55
- "@seedgrid/fe-components": "2026.7.1",
56
- "@seedgrid/fe-core": "2026.7.1"
55
+ "@seedgrid/fe-components": "2026.7.5",
56
+ "@seedgrid/fe-core": "2026.7.6"
57
57
  },
58
58
  "scripts": {
59
59
  "build": "tsc -p tsconfig.json",
@@ -5,4 +5,4 @@ import { createResendTwoFactorRouteResponse } from "@/modules/security/server/se
5
5
  export async function POST(request: NextRequest) {
6
6
  return createResendTwoFactorRouteResponse(request);
7
7
  }
8
-
8
+
@@ -5,4 +5,4 @@ import { createVerifyTwoFactorRouteResponse } from "@/modules/security/server/se
5
5
  export async function POST(request: NextRequest) {
6
6
  return createVerifyTwoFactorRouteResponse(request);
7
7
  }
8
-
8
+
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- import { useEffect, useState } from "react";
3
+ import { Suspense, useEffect, useState } from "react";
4
4
 
5
5
  import { SgButton, SgPanel, SgStack } from "@seedgrid/fe-components";
6
6
  import { useRouter, useSearchParams } from "next/navigation";
@@ -14,7 +14,7 @@ import {
14
14
  securityConfig,
15
15
  } from "@/modules/security";
16
16
 
17
- export default function ForgotPasswordConfirmPage() {
17
+ function ForgotPasswordConfirmContent() {
18
18
  const router = useRouter();
19
19
  const searchParams = useSearchParams();
20
20
  const { t } = useI18n();
@@ -94,3 +94,11 @@ export default function ForgotPasswordConfirmPage() {
94
94
  </PageFrame>
95
95
  );
96
96
  }
97
+
98
+ export default function ForgotPasswordConfirmPage() {
99
+ return (
100
+ <Suspense fallback={null}>
101
+ <ForgotPasswordConfirmContent />
102
+ </Suspense>
103
+ );
104
+ }
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- import { useEffect, useState } from "react";
3
+ import { Suspense, useEffect, useState } from "react";
4
4
 
5
5
  import { SgButton, SgPanel, SgStack } from "@seedgrid/fe-components";
6
6
  import { useSearchParams } from "next/navigation";
@@ -14,7 +14,7 @@ import {
14
14
  securityConfig,
15
15
  } from "@/modules/security";
16
16
 
17
- export default function WelcomePage() {
17
+ function WelcomeContent() {
18
18
  const searchParams = useSearchParams();
19
19
  const { t } = useI18n();
20
20
  const [confirmed, setConfirmed] = useState(false);
@@ -88,3 +88,11 @@ export default function WelcomePage() {
88
88
  </PageFrame>
89
89
  );
90
90
  }
91
+
92
+ export default function WelcomePage() {
93
+ return (
94
+ <Suspense fallback={null}>
95
+ <WelcomeContent />
96
+ </Suspense>
97
+ );
98
+ }
@@ -751,4 +751,4 @@ export function CompanyEditor({ publicId }: CompanyEditorProps) {
751
751
  </PageFrame>
752
752
  );
753
753
  }
754
-
754
+
@@ -325,4 +325,4 @@ export function RoleEditor({ publicId }: RoleEditorProps) {
325
325
  </PageFrame>
326
326
  );
327
327
  }
328
-
328
+