@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.
Files changed (2) hide show
  1. package/README.md +34 -30
  2. 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="https://i.imgur.com/fz5N4jL.png">
4
- <img alt="Vatts.js logo" src="https://i.imgur.com/fz5N4jL.png" height="128">
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
+ [![NPM](https://img.shields.io/npm/v/@vatts/auth.svg?style=for-the-badge&labelColor=000000)](https://www.npmjs.com/package/@vatts/auth)
9
+ [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg?style=for-the-badge&labelColor=000000)](../../LICENSE)
10
+ [![GitHub](https://img.shields.io/badge/GitHub-mfrazlab/vatts.js-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/mfrazlab/vatts.js)
11
+ </div>
7
12
 
8
- [![NPM](https://img.shields.io/npm/v/@vatts/auth.svg?style=for-the-badge&labelColor=000000)](https://www.npmjs.com/package/@vatts/auth)
9
- [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg?style=for-the-badge&labelColor=000000)](../../LICENSE)
13
+ ___
10
14
 
11
- </div>
15
+ ## Getting Started
12
16
 
13
- > Official authentication package for **[Vatts.js](https://www.npmjs.com/package/vatts)** - Powerful, secure, and flexible authentication system with JWT, OAuth providers, and session management.
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
- ## ✨ Why @vatts/auth?
26
+ ___
18
27
 
19
- A complete authentication solution built specifically for Vatts.js framework:
28
+ ## Documentation
20
29
 
21
- - **🔐 Secure by Default** - Industry-standard JWT implementation
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
- ## 💬 Need Help?
34
+ ## Community
30
35
 
31
- If you have questions or need support, feel free to reach out:
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
- [![Discord](https://img.shields.io/badge/Discord-mulinfrc-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.com/users/1264710048786026588)
34
- [![Gmail](https://img.shields.io/badge/Gmail-D14836?style=for-the-badge&logo=gmail&logoColor=white)](mailto:murillofrazaocunha@gmail.com)
35
- [![Instagram](https://img.shields.io/badge/Instagram-E4405F?style=for-the-badge&logo=instagram&logoColor=white)](https://instagram.com/itsmuh_)
36
- [![GitHub](https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white)](https://github.com/murillo-frazao-cunha)
38
+ ___
37
39
 
38
- ---
40
+ ## Security
39
41
 
40
- ## 🪪 License
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
- Copyright 2026 itsmuzin
44
+ ___
43
45
 
44
- This project is licensed under the [Apache License 2.0](../../LICENSE).
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.0",
4
- "description": "Authentication package for Nyte.js framework",
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.0"
45
+ "vatts": "^1.0.1-alpha.1"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "react-dom": {