@anievo-id/rbac-evolution-react 0.6.4 → 0.6.5
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 +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
📖 **[Documentation](https://app.anievo.id/rbac-evolution/frameworks/react)**
|
|
4
4
|
|
|
5
|
-
React bindings for [rbac-evolution](
|
|
5
|
+
React bindings for [rbac-evolution](https://github.com/AniEvo-ID/rbac-evolution): `<RbacProvider>`, `useCan()`, `<Can>`, `<HasRole>`, ... — the React
|
|
6
6
|
counterpart of spatie/laravel-permission's Blade directives (`@can`, `@cannot`, `@role`, `@hasanyrole`, ...).
|
|
7
7
|
|
|
8
8
|
> **UI only.** These helpers show and hide elements based on a snapshot sent to the browser. Anyone can edit
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anievo-id/rbac-evolution-react",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.5",
|
|
4
4
|
"description": "React bindings for rbac-evolution: <Can>, useCan(), useHasRole().",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "AniEvo-ID (https://github.com/AniEvo-ID)",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@anievo-id/rbac-evolution": "^0.6.
|
|
49
|
+
"@anievo-id/rbac-evolution": "^0.6.5"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">=18"
|