@monderks/nestjs-keycloak-auth 0.1.0 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +5 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,7 +15,7 @@ Librería para validación de tokens Keycloak en NestJS cuando el frontend contr
15
15
  ## Instalación
16
16
 
17
17
  ```bash
18
- npm install @monderks/keycloak-auth
18
+ npm install @monderks/nestjs-keycloak-auth
19
19
  ```
20
20
 
21
21
  ## Configuración
@@ -24,7 +24,7 @@ npm install @monderks/keycloak-auth
24
24
 
25
25
  ```typescript
26
26
  import { Module } from '@nestjs/common';
27
- import { KeycloakAuthModule } from '@monderks/keycloak-auth';
27
+ import { KeycloakAuthModule } from '@monderks/nestjs-keycloak-auth';
28
28
 
29
29
  @Module({
30
30
  imports: [
@@ -49,7 +49,7 @@ export class AppModule {}
49
49
  ```typescript
50
50
  import { Module } from '@nestjs/common';
51
51
  import { ConfigModule, ConfigService } from '@nestjs/config';
52
- import { KeycloakAuthModule } from '@monderks/keycloak-auth';
52
+ import { KeycloakAuthModule } from '@monderks/nestjs-keycloak-auth';
53
53
 
54
54
  @Module({
55
55
  imports: [
@@ -78,8 +78,8 @@ Esta librería **no expone controladores**. Solo provee servicios, guards y deco
78
78
 
79
79
  ```typescript
80
80
  import { Controller, Get, Post, Body, UseGuards } from '@nestjs/common';
81
- import { KeycloakAuthService, KeycloakAuthGuard, KeycloakAuth, CurrentUser } from '@monderks/keycloak-auth';
82
- import { DecodedToken } from '@monderks/keycloak-auth';
81
+ import { KeycloakAuthService, KeycloakAuthGuard, KeycloakAuth, CurrentUser } from '@monderks/nestjs-keycloak-auth';
82
+ import { DecodedToken } from '@monderks/nestjs-keycloak-auth';
83
83
 
84
84
  @Controller('api/auth')
85
85
  export class AuthController {
@@ -286,14 +286,6 @@ export const useKeycloak = () => {
286
286
  };
287
287
  ```
288
288
 
289
- ## Contribuir
290
-
291
- 1. Fork el proyecto
292
- 2. Crea una rama para tu feature (`git checkout -b feature/AmazingFeature`)
293
- 3. Commit tus cambios (`git commit -m 'Add some AmazingFeature'`)
294
- 4. Push a la rama (`git push origin feature/AmazingFeature`)
295
- 5. Abre un Pull Request
296
-
297
289
  ## Licencia
298
290
 
299
291
  Este proyecto está bajo la Licencia MIT - ver el archivo [LICENSE](LICENSE) para detalles.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monderks/nestjs-keycloak-auth",
3
- "version": "0.1.0",
3
+ "version": "0.3.2",
4
4
  "description": "Librería para validación de tokens Keycloak en NestJS (frontend controla login)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",