@allem-sdk/auth 0.1.1 → 0.1.2
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 +2 -1
- package/package.json +8 -4
package/README.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
6
|
+
<a href="https://www.npmjs.com/package/@allem-sdk/auth"><img src="https://img.shields.io/npm/v/@allem-sdk/auth.svg" alt="npm version" /></a>
|
|
6
7
|
<a href="https://github.com/kingofmit/allem-sdk/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License" /></a>
|
|
7
8
|
<img src="https://img.shields.io/badge/react-19-61dafb" alt="React 19" />
|
|
8
9
|
<img src="https://img.shields.io/badge/typescript-strict-blue" alt="TypeScript" />
|
|
@@ -10,7 +11,7 @@
|
|
|
10
11
|
|
|
11
12
|
# @allem-sdk/auth
|
|
12
13
|
|
|
13
|
-
Authentication helpers for React. Provider-agnostic via an adapter interface
|
|
14
|
+
Authentication helpers for React. Provider-agnostic via an adapter interface that works with any auth backend.
|
|
14
15
|
|
|
15
16
|
## Installation
|
|
16
17
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allem-sdk/auth",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "React authentication hooks with session management and protected routes. Provider-agnostic adapter pattern. useAuth, useSession, ProtectedRoute.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ahmed Allem",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -39,11 +39,15 @@
|
|
|
39
39
|
"keywords": [
|
|
40
40
|
"allem-sdk",
|
|
41
41
|
"react",
|
|
42
|
-
"hooks",
|
|
42
|
+
"react-hooks",
|
|
43
43
|
"auth",
|
|
44
44
|
"authentication",
|
|
45
45
|
"session",
|
|
46
|
-
"protected-route"
|
|
46
|
+
"protected-route",
|
|
47
|
+
"login",
|
|
48
|
+
"useAuth",
|
|
49
|
+
"typescript",
|
|
50
|
+
"nextjs"
|
|
47
51
|
],
|
|
48
52
|
"publishConfig": {
|
|
49
53
|
"access": "public"
|