@nathapp/nestjs-common 1.0.1-rc.7 → 1.0.1-rc.9

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.
@@ -3,7 +3,7 @@ interface ConfigProps {
3
3
  value: unknown;
4
4
  joi: Schema;
5
5
  }
6
- export declare type JoiConfig<T> = Record<keyof T, ConfigProps>;
6
+ export type JoiConfig<T> = Record<keyof T, ConfigProps>;
7
7
  export default class JoiUtil {
8
8
  static validate<T>(config: JoiConfig<T>): T;
9
9
  static extractByPropName<T>(config: JoiConfig<T>, propName: keyof ConfigProps): T | SchemaMap<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nathapp/nestjs-common",
3
- "version": "1.0.1-rc.7",
3
+ "version": "1.0.1-rc.9",
4
4
  "description": "NestJs Common Library",
5
5
  "scripts": {
6
6
  "build": "rimraf dist && tsc -p tsconfig.json",
@@ -37,9 +37,9 @@
37
37
  "request-ip": "^3.2.0"
38
38
  },
39
39
  "peerDependencies": {
40
- "@nestjs/common": "*",
41
- "@nestjs/config": "*",
42
- "@nestjs/core": "*",
40
+ "@nestjs/common": "^8.0.0 || ^9.0.0 || ^10.0.0",
41
+ "@nestjs/config": "^1.0.0 || ^2.0.0 || ^3.0.0",
42
+ "@nestjs/core": "^8.0.0 || ^9.0.0 || ^10.0.0",
43
43
  "class-transformer": "*",
44
44
  "class-validator": "*",
45
45
  "rxjs": "*"