ecrs-auth-core 1.0.14 → 1.0.15
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.
- package/dist/jwt/jwt.strategy.d.ts +3 -1
- package/package.json +12 -6
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Strategy } from 'passport-jwt';
|
|
2
2
|
import { AuthService } from '../auth.service';
|
|
3
|
-
declare const JwtStrategy_base: new (...args:
|
|
3
|
+
declare const JwtStrategy_base: new (...args: [opt: import("passport-jwt").StrategyOptionsWithRequest] | [opt: import("passport-jwt").StrategyOptionsWithoutRequest]) => Strategy & {
|
|
4
|
+
validate(...args: any[]): unknown;
|
|
5
|
+
};
|
|
4
6
|
export declare class JwtStrategy extends JwtStrategy_base {
|
|
5
7
|
private readonly authService;
|
|
6
8
|
constructor(authService: AuthService);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ecrs-auth-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "Centralized authentication and authorization module for ECRS apps",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"author": "Chetan Yadnik",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@nestjs/common": "^
|
|
24
|
-
"@nestjs/core": "^
|
|
23
|
+
"@nestjs/common": "^10.2.7",
|
|
24
|
+
"@nestjs/core": "^10.2.7",
|
|
25
25
|
"@nestjs/passport": "^10.0.3",
|
|
26
26
|
"bcrypt": "^5.1.1",
|
|
27
27
|
"passport": "^0.6.0",
|
|
@@ -29,13 +29,19 @@
|
|
|
29
29
|
"typeorm": "^0.3.25"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@nestjs/jwt": "^
|
|
33
|
-
"@nestjs/typeorm": "^
|
|
34
|
-
"jsonwebtoken": "^9.0.2"
|
|
32
|
+
"@nestjs/jwt": "^10.0.3",
|
|
33
|
+
"@nestjs/typeorm": "^10.0.0",
|
|
34
|
+
"jsonwebtoken": "^9.0.2",
|
|
35
|
+
"rxjs": "^7.8.1"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
38
|
+
"@nestjs/common": "^10.2.7",
|
|
39
|
+
"@nestjs/core": "^10.2.7",
|
|
40
|
+
"@nestjs/passport": "^10.0.3",
|
|
37
41
|
"@types/bcrypt": "^6.0.0",
|
|
38
42
|
"@types/passport-jwt": "^4.0.1",
|
|
43
|
+
"reflect-metadata": "^0.1.13",
|
|
44
|
+
"typeorm": "^0.3.17",
|
|
39
45
|
"typescript": "^5.8.3"
|
|
40
46
|
}
|
|
41
47
|
}
|