@fayz-ai/plugin-auth 0.1.3 → 0.8.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/README.md +8 -0
- package/package.json +7 -4
package/README.md
CHANGED
|
@@ -2,8 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Reusable auth runtime and UI for Fayz apps.
|
|
4
4
|
|
|
5
|
+
**Status:** beta — pre-1.0. APIs may change before 1.0.
|
|
6
|
+
|
|
5
7
|
`plugin-auth` is a thin layer over `@fayz-ai/auth`: it resolves Supabase/mock/custom adapters, renders login/signup/recovery/reset/callback surfaces, and gives SaaS or storefront apps one consistent auth integration path.
|
|
6
8
|
|
|
9
|
+
## Install
|
|
10
|
+
```bash
|
|
11
|
+
npm install @fayz-ai/plugin-auth
|
|
12
|
+
```
|
|
13
|
+
Peer deps: `@fayz-ai/auth`, `@fayz-ai/core`, plus `react` / `react-dom`.
|
|
14
|
+
|
|
7
15
|
## Usage
|
|
8
16
|
|
|
9
17
|
```tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fayz-ai/plugin-auth",
|
|
3
|
-
"
|
|
3
|
+
"fayz": {
|
|
4
|
+
"status": "preview"
|
|
5
|
+
},
|
|
6
|
+
"version": "0.8.0",
|
|
4
7
|
"description": "Fayz SDK — reusable auth runtime and UI integration plugin",
|
|
5
8
|
"type": "module",
|
|
6
9
|
"main": "./dist/index.cjs",
|
|
@@ -31,9 +34,9 @@
|
|
|
31
34
|
"dependencies": {
|
|
32
35
|
"@radix-ui/react-dialog": "^1.1.0",
|
|
33
36
|
"lucide-react": "^0.400.0",
|
|
34
|
-
"@fayz-ai/auth": "^0.
|
|
35
|
-
"@fayz-ai/core": "^0.
|
|
36
|
-
"@fayz-ai/ui": "^0.
|
|
37
|
+
"@fayz-ai/auth": "^0.8.0",
|
|
38
|
+
"@fayz-ai/core": "^0.8.0",
|
|
39
|
+
"@fayz-ai/ui": "^0.8.0"
|
|
37
40
|
},
|
|
38
41
|
"devDependencies": {
|
|
39
42
|
"@types/react": "^18.3.0",
|