@ooneex/role 0.0.18 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +1 -19
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,11 +1,9 @@
1
1
  # @ooneex/role
2
2
 
3
- A comprehensive role-based access control (RBAC) library for TypeScript applications with hierarchical role support. This package provides predefined roles, role hierarchy management, and utilities for checking user permissions based on role levels.
3
+ Role-based authorization types and utilities for defining user roles, hierarchies, and access levels in multi-tenant applications.
4
4
 
5
5
  ![Browser](https://img.shields.io/badge/Browser-Compatible-green?style=flat-square&logo=googlechrome)
6
6
  ![Bun](https://img.shields.io/badge/Bun-Compatible-orange?style=flat-square&logo=bun)
7
- ![Deno](https://img.shields.io/badge/Deno-Compatible-blue?style=flat-square&logo=deno)
8
- ![Node.js](https://img.shields.io/badge/Node.js-Compatible-green?style=flat-square&logo=node.js)
9
7
  ![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue?style=flat-square&logo=typescript)
10
8
  ![MIT License](https://img.shields.io/badge/License-MIT-yellow?style=flat-square)
11
9
 
@@ -27,26 +25,10 @@ A comprehensive role-based access control (RBAC) library for TypeScript applicat
27
25
 
28
26
  ## Installation
29
27
 
30
- ### Bun
31
28
  ```bash
32
29
  bun add @ooneex/role
33
30
  ```
34
31
 
35
- ### pnpm
36
- ```bash
37
- pnpm add @ooneex/role
38
- ```
39
-
40
- ### Yarn
41
- ```bash
42
- yarn add @ooneex/role
43
- ```
44
-
45
- ### npm
46
- ```bash
47
- npm install @ooneex/role
48
- ```
49
-
50
32
  ## Usage
51
33
 
52
34
  ### Basic Role Checking
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ooneex/role",
3
- "description": "Role type definitions and utilities for user authorization and access control",
4
- "version": "0.0.18",
3
+ "description": "Role-based authorization types and utilities for defining user roles, hierarchies, and access levels in multi-tenant applications",
4
+ "version": "1.0.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",