@nauth-toolkit/client-angular 0.1.132 → 0.2.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 (3) hide show
  1. package/LICENSE +1 -0
  2. package/README.md +10 -4
  3. package/package.json +16 -12
package/LICENSE CHANGED
@@ -1,5 +1,6 @@
1
1
  NAUTH TOOLKIT EARLY ACCESS LICENSE
2
2
  Version 1.0 (December 2025)
3
+ Full license: https://nauth.dev/docs/license
3
4
 
4
5
  ================================================================================
5
6
  FUTURE OPEN SOURCE NOTICE
package/README.md CHANGED
@@ -1,9 +1,15 @@
1
1
  # @nauth-toolkit/client-angular
2
2
 
3
- Angular adapter for nauth-toolkit client SDK
3
+ Angular SDK for [nauth-toolkit](https://nauth.dev).
4
4
 
5
- ## Preview Release Notice
5
+ Wraps the framework-agnostic `@nauth-toolkit/client` with Angular services, guards, and HTTP interceptors. Integrates with Angular dependency injection and handles token refresh, auth state, and route protection.
6
6
 
7
- **This is a preview release for internal testing. Do not use in production yet.**
7
+ ## What's included
8
8
 
9
- This package is part of nauth-toolkit and is currently in early access/preview. Features and APIs may change between releases. For production use, please wait for the stable v1.0 release.
9
+ - **NAuthModule** Angular module for DI integration
10
+ - **AuthService** — reactive auth state, login, signup, logout, token refresh
11
+ - **AuthGuard** — route protection with automatic redirect
12
+ - **HTTP interceptor** — attaches tokens to outgoing requests, handles 401 refresh
13
+ - **Lazy-loadable** — ships only what your app imports
14
+
15
+ **Docs:** [nauth.dev](https://nauth.dev) · **Examples:** [github.com/noorixorg/nauth](https://github.com/noorixorg/nauth) · **Live demo:** [demo.nauth.dev](https://demo.nauth.dev)
package/package.json CHANGED
@@ -1,21 +1,24 @@
1
1
  {
2
2
  "name": "@nauth-toolkit/client-angular",
3
- "version": "0.1.132",
4
- "description": "Angular adapter for nauth-toolkit client SDK",
3
+ "version": "0.2.0",
4
+ "description": "Angular SDK for nauth-toolkit services, guards, interceptors",
5
5
  "keywords": [
6
6
  "nauth",
7
7
  "authentication",
8
- "angular",
9
8
  "auth",
10
- "jwt",
11
- "oauth",
12
- "mfa"
9
+ "nodejs",
10
+ "typescript",
11
+ "angular",
12
+ "frontend",
13
+ "sdk",
14
+ "client",
15
+ "rxjs"
13
16
  ],
14
17
  "author": "nauth-toolkit",
15
- "license": "UNLICENSED",
18
+ "license": "SEE LICENSE",
16
19
  "repository": {
17
20
  "type": "git",
18
- "url": "https://github.com/noorix/nauth-toolkit"
21
+ "url": "https://github.com/noorixorg/nauth"
19
22
  },
20
23
  "publishConfig": {
21
24
  "access": "public",
@@ -24,7 +27,7 @@
24
27
  "peerDependencies": {
25
28
  "@angular/common": ">=17.0.0",
26
29
  "@angular/core": ">=17.0.0",
27
- "@nauth-toolkit/client": "^0.1.132",
30
+ "@nauth-toolkit/client": "^0.2.0",
28
31
  "rxjs": "^7.0.0 || ^8.0.0"
29
32
  },
30
33
  "dependencies": {
@@ -33,6 +36,8 @@
33
36
  "engines": {
34
37
  "node": ">=22.0.0"
35
38
  },
39
+ "homepage": "https://nauth.dev",
40
+ "sideEffects": false,
36
41
  "module": "fesm2022/nauth-toolkit-client-angular.mjs",
37
42
  "typings": "index.d.ts",
38
43
  "exports": {
@@ -57,6 +62,5 @@
57
62
  "esm": "./esm2022/src/standalone/nauth-toolkit-client-angular-src-standalone.mjs",
58
63
  "default": "./fesm2022/nauth-toolkit-client-angular-src-standalone.mjs"
59
64
  }
60
- },
61
- "sideEffects": false
62
- }
65
+ }
66
+ }