@nauth-toolkit/nestjs 0.1.3 → 0.1.6

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 +2 -46
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,53 +1,9 @@
1
1
  # @nauth-toolkit/nestjs
2
2
 
3
- NestJS adapter for nauth-toolkit. This package provides NestJS-specific integrations including modules, guards, interceptors, and decorators for the platform-agnostic `@nauth-toolkit/core`.
3
+ NestJS adapter for nauth-toolkit - Platform-specific integrations
4
4
 
5
- ## ⚠️ Preview Release Notice
5
+ ## Preview Release Notice
6
6
 
7
7
  **This is a preview release for internal testing. Do not use in production yet.**
8
8
 
9
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.
10
-
11
- ## Installation
12
-
13
- ```bash
14
- npm install @nauth-toolkit/nestjs@preview
15
- # or
16
- yarn add @nauth-toolkit/nestjs@preview
17
- ```
18
-
19
- ## Usage
20
-
21
- This package re-exports everything from `@nauth-toolkit/core` plus NestJS-specific features.
22
-
23
- ```typescript
24
- import { AuthModule } from '@nauth-toolkit/nestjs';
25
-
26
- @Module({
27
- imports: [
28
- AuthModule.forRootAsync({
29
- useFactory: async () => ({
30
- // Your configuration
31
- }),
32
- }),
33
- ],
34
- })
35
- export class AppModule {}
36
- ```
37
-
38
- ## Features
39
-
40
- - **AuthModule**: NestJS dynamic module for easy integration
41
- - **Guards**: `AuthGuard` for route protection
42
- - **Interceptors**: `ClientInfoInterceptor`, `CookieTokenInterceptor`
43
- - **Decorators**: `@CurrentUser()`, `@Public()`, `@ClientInfo()`
44
- - **Filters**: `NAuthHttpExceptionFilter` for error handling
45
-
46
- ## Documentation
47
-
48
- See the [main documentation](../../docs/ARCHITECTURE.md) for full details.
49
-
50
- ## License
51
-
52
- See LICENSE file in the package root for full license terms.
53
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nauth-toolkit/nestjs",
3
- "version": "0.1.3",
3
+ "version": "0.1.6",
4
4
  "description": "NestJS adapter for nauth-toolkit - Platform-specific integrations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "typeorm": "^0.3.0"
33
33
  },
34
34
  "dependencies": {
35
- "@nauth-toolkit/core": "0.1.3"
35
+ "@nauth-toolkit/core": "0.1.6"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@nestjs/common": "^11.1.8",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public",
53
- "tag": "preview"
53
+ "tag": "latest"
54
54
  },
55
55
  "files": [
56
56
  "dist",