@talosjs/user 1.1.0 → 1.1.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 +5 -43
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,26 +1,6 @@
1
1
  # @talosjs/user
2
2
 
3
- User identity types and interfaces defining profiles, authentication credentials, roles, and account metadata for user management systems.
4
-
5
- ![Bun](https://img.shields.io/badge/Bun-Compatible-orange?style=flat-square&logo=bun)
6
- ![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue?style=flat-square&logo=typescript)
7
- ![MIT License](https://img.shields.io/badge/License-MIT-yellow?style=flat-square)
8
-
9
- ## Features
10
-
11
- ✅ **User Interface** - `IUser` with email, roles, profile fields, two-factor auth, and session/account references
12
-
13
- ✅ **Session Management** - `ISession` interface with token, refresh token, device info, location, and expiration tracking
14
-
15
- ✅ **Multi-Provider Accounts** - `IAccount` interface supporting OAuth, email, credentials, and WebAuthn authentication types
16
-
17
- ✅ **Verification System** - `IVerification` interface for email, phone, password reset, two-factor, and account activation flows
18
-
19
- ✅ **Profile Update Auditing** - `IUserProfileUpdate` interface tracking field changes, previous/new values, and approval status
20
-
21
- ✅ **Account Type Enums** - `EAccountType`, `EVerificationType`, and `EProfileUpdateStatus` enums with string literal types
22
-
23
- ✅ **Zero Runtime** - Pure type definitions and enums with no runtime overhead
3
+ User identity types and interfaces defining profiles, authentication credentials, roles, and account metadata for user management systems
24
4
 
25
5
  ## Installation
26
6
 
@@ -28,28 +8,10 @@ User identity types and interfaces defining profiles, authentication credentials
28
8
  bun add @talosjs/user
29
9
  ```
30
10
 
31
- ## License
32
-
33
- This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
34
-
35
- ## Contributing
36
-
37
- Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
11
+ ## Documentation
38
12
 
39
- ### Development Setup
13
+ Read the full documentation at [docs.talosjs.com/security/users](https://docs.talosjs.com/security/users).
40
14
 
41
- 1. Clone the repository
42
- 2. Install dependencies: `bun install`
43
- 3. Run tests: `bun run test`
44
- 4. Build the project: `bun run build`
45
-
46
- ### Guidelines
47
-
48
- - Write tests for new features
49
- - Follow the existing code style
50
- - Update documentation for API changes
51
- - Ensure all tests pass before submitting PR
52
-
53
- ---
15
+ ## License
54
16
 
55
- Made with ❤️ by the Talos team
17
+ MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@talosjs/user",
3
3
  "description": "User identity types and interfaces defining profiles, authentication credentials, roles, and account metadata for user management systems",
4
- "version": "1.1.0",
4
+ "version": "1.1.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",
@@ -23,14 +23,14 @@
23
23
  "license": "MIT",
24
24
  "scripts": {
25
25
  "build": "bunup",
26
+ "fmt": "bunx biome check --write",
26
27
  "lint": "tsgo --noEmit && bunx biome lint",
27
- "npm:publish": "bun publish --tolerate-republish --force --production --access public",
28
28
  "test": "bun test tests"
29
29
  },
30
30
  "dependencies": {},
31
31
  "devDependencies": {
32
- "@talosjs/translation": "^1.1.0",
33
- "@talosjs/role": "^1.1.0"
32
+ "@talosjs/translation": "^1.1.1",
33
+ "@talosjs/role": "^1.1.1"
34
34
  },
35
35
  "keywords": [
36
36
  "account",