@insforge/nextjs 0.8.4 → 0.8.5

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.
Files changed (2) hide show
  1. package/README.md +19 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -200,6 +200,22 @@ export default function SignInPage() {
200
200
  }
201
201
  ```
202
202
 
203
+ **Additional Auth Components:**
204
+
205
+ ```tsx
206
+ // Password reset flow
207
+ import { ForgotPassword, ResetPassword, VerifyEmail } from '@insforge/nextjs';
208
+
209
+ // app/forgot-password/page.tsx
210
+ <ForgotPassword backToSignInUrl="/sign-in" />
211
+
212
+ // app/reset-password/page.tsx (with token from URL)
213
+ <ResetPassword token={token} backToSignInUrl="/sign-in" />
214
+
215
+ // app/verify-email/page.tsx (with token from URL)
216
+ <VerifyEmail token={token} />
217
+ ```
218
+
203
219
  ### Hierarchical Appearance System
204
220
 
205
221
  Style any nested component through a hierarchical structure:
@@ -464,6 +480,9 @@ import type {
464
480
  InsforgeCallbackProps,
465
481
  SignInProps,
466
482
  SignUpProps,
483
+ ForgotPasswordProps,
484
+ ResetPasswordProps,
485
+ VerifyEmailProps,
467
486
  SignInAppearance,
468
487
  SignUpAppearance,
469
488
  UserButtonProps,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insforge/nextjs",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "description": "Pre-built authentication UI components for Next.js with Insforge backend - zero configuration required",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -50,8 +50,8 @@
50
50
  "react-dom": "^19.0.0"
51
51
  },
52
52
  "dependencies": {
53
- "@insforge/react": "^0.2.6",
54
- "@insforge/sdk": "0.0.58-dev.10",
53
+ "@insforge/react": "^0.3.0",
54
+ "@insforge/sdk": "0.0.58-dev.12",
55
55
  "@insforge/shared-schemas": "^1.1.17",
56
56
  "clsx": "^2.1.1",
57
57
  "lucide-react": "^0.552.0",