@vatts/auth 1.0.0 → 1.0.1-alpha.1
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 +34 -30
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,48 +1,52 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
<picture>
|
|
3
|
-
<source media="(prefers-color-scheme: dark)" srcset="
|
|
4
|
-
<img alt="Vatts.js logo" src="
|
|
5
|
-
</picture>
|
|
6
|
-
<h1>@vatts/auth</h1>
|
|
1
|
+
<div align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="/docs/public/logo-v.png">
|
|
4
|
+
<img alt="Vatts.js logo" src="/docs/public/logo-v.png" height="128">
|
|
5
|
+
</picture>
|
|
6
|
+
<h1>@vatts/auth</h1>
|
|
7
|
+
|
|
8
|
+
[](https://www.npmjs.com/package/@vatts/auth)
|
|
9
|
+
[](../../LICENSE)
|
|
10
|
+
[](https://github.com/mfrazlab/vatts.js)
|
|
11
|
+
</div>
|
|
7
12
|
|
|
8
|
-
|
|
9
|
-
[](../../LICENSE)
|
|
13
|
+
___
|
|
10
14
|
|
|
11
|
-
|
|
15
|
+
## Getting Started
|
|
12
16
|
|
|
13
|
-
|
|
17
|
+
**@vatts/auth** is the official authentication package for the **Vatts.js** framework, providing secure, flexible, and production-ready authentication with JWT, multiple OAuth providers, session management, and full React integration.
|
|
14
18
|
|
|
15
|
-
|
|
19
|
+
- Secure by default — robust JWT implementation
|
|
20
|
+
- Multiple providers — OAuth, credentials, and custom
|
|
21
|
+
- Ready for React — integrated hooks and components
|
|
22
|
+
- Strong typing — 100% TypeScript
|
|
23
|
+
- Zero configuration — works out-of-the-box
|
|
24
|
+
- Production-ready — HTTP-only cookies, CSRF protection, and more
|
|
16
25
|
|
|
17
|
-
|
|
26
|
+
___
|
|
18
27
|
|
|
19
|
-
|
|
28
|
+
## Documentation
|
|
20
29
|
|
|
21
|
-
|
|
22
|
-
- **🎯 Multiple Providers** - OAuth, credentials, and custom providers
|
|
23
|
-
- **⚛️ React Ready** - Built-in hooks and components
|
|
24
|
-
- **🛡️ Type-Safe** - Full TypeScript support
|
|
25
|
-
- **🚀 Zero Config** - Works out of the box
|
|
26
|
-
- **🔒 Production Ready** - HTTP-only cookies, CSRF protection, and more
|
|
30
|
+
Visit [https://vatts.mfraz.ovh](https://vatts.mfraz.ovh) for full documentation of Vatts.js and its official packages.
|
|
27
31
|
|
|
32
|
+
___
|
|
28
33
|
|
|
29
|
-
##
|
|
34
|
+
## Community
|
|
30
35
|
|
|
31
|
-
|
|
36
|
+
Join the Vatts.js community on [GitHub Discussions](https://github.com/mfraz/vatts) to ask questions, share ideas, and showcase your projects.
|
|
32
37
|
|
|
33
|
-
|
|
34
|
-
[](mailto:murillofrazaocunha@gmail.com)
|
|
35
|
-
[](https://instagram.com/itsmuh_)
|
|
36
|
-
[](https://github.com/murillo-frazao-cunha)
|
|
38
|
+
___
|
|
37
39
|
|
|
38
|
-
|
|
40
|
+
## Security
|
|
39
41
|
|
|
40
|
-
|
|
42
|
+
If you discover a security vulnerability, please **do not open a public issue**. Email [helpers@mfraz.ovh](mailto:helpers@mfraz.ovh) to participate in the responsible disclosure program.
|
|
41
43
|
|
|
42
|
-
|
|
44
|
+
___
|
|
43
45
|
|
|
44
|
-
|
|
46
|
+
## License
|
|
45
47
|
|
|
46
|
-
|
|
48
|
+
Copyright 2026 itsmuzin
|
|
47
49
|
|
|
50
|
+
This project is licensed under the [Apache License 2.0](../../LICENSE).
|
|
48
51
|
|
|
52
|
+
___
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vatts/auth",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Authentication package for
|
|
3
|
+
"version": "1.0.1-alpha.1",
|
|
4
|
+
"description": "Authentication package for Vatts.js framework",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"private": false,
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": "^19.2.0",
|
|
44
44
|
"react-dom": "^19.2.0",
|
|
45
|
-
"vatts": "^1.0.
|
|
45
|
+
"vatts": "^1.0.1-alpha.1"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
48
|
"react-dom": {
|