nestjs-security-cli 1.0.3 → 1.0.4

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 +3 -3
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -8,15 +8,15 @@ Advanced IP blocking, role-based security, and attack detection for NestJS appli
8
8
  npm install nestjs-security-cli
9
9
  ```
10
10
 
11
- ## Qucik Start
11
+ ## Quick Start
12
12
 
13
13
  ```typescript
14
14
  import { Module } from '@nestjs/common';
15
- import { SecurityShieldModule } from 'nestjs-security-cli';
15
+ import { SecurityModule } from 'nestjs-security-cli';
16
16
 
17
17
  @Module( {
18
18
  imports: [
19
- SecurityShieldModule.forRoot( {
19
+ SecurityModule.forRoot( {
20
20
  enableDatabase: true,
21
21
  mongooseConnection: 'mongodb://localhost:27017/myapp',
22
22
  defaultBlockDurationHours: 24,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nestjs-security-cli",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Advanced IP blocking, role-based security, and attack detection for NestJS applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  "@nestjs/common": "^10.0.0 || ^11.0.0",
36
36
  "@nestjs/core": "^10.0.0 || ^11.0.0",
37
37
  "@nestjs/mongoose": "^10.0.0 || ^11.0.0",
38
- "@nestjs/schedule": "^4.0.0",
38
+ "@nestjs/schedule": "^4.0.0 || ^5.0.0 || ^6.0.0",
39
39
  "cache-manager": "^5.0.0 || ^6.0.0 || ^7.0.0",
40
40
  "mongoose": "^7.0.0 || ^8.0.0"
41
41
  },
@@ -53,4 +53,4 @@
53
53
  "@nestjs/config": "^4.0.2",
54
54
  "@nestjs/jwt": "^11.0.0"
55
55
  }
56
- }
56
+ }