@vcita/oauth-client-nestjs 1.22.2 → 2.0.0-rc.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.
- package/CHANGELOG.md +25 -1
- package/dist/audit/index.d.ts +7 -0
- package/dist/audit/index.js +20 -0
- package/dist/audit/index.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/oauth/controllers/oauth.controller.d.ts +1 -1
- package/dist/oauth/controllers/oauth.controller.js +8 -6
- package/dist/oauth/controllers/oauth.controller.js.map +1 -1
- package/dist/oauth/enums/auth.enum.d.ts +4 -2
- package/dist/oauth/enums/auth.enum.js +2 -0
- package/dist/oauth/enums/auth.enum.js.map +1 -1
- package/dist/oauth/enums/index.d.ts +2 -0
- package/dist/oauth/enums/index.js +15 -0
- package/dist/oauth/enums/index.js.map +1 -0
- package/dist/oauth/interfaces/oauth.interface.d.ts +8 -4
- package/dist/oauth/middleware/auth.middleware.d.ts +1 -1
- package/dist/oauth/middleware/auth.middleware.js +14 -4
- package/dist/oauth/middleware/auth.middleware.js.map +1 -1
- package/dist/oauth/oauth.module.js +30 -18
- package/dist/oauth/oauth.module.js.map +1 -1
- package/dist/oauth/repositories/oauth-data.entity.d.ts +2 -1
- package/dist/oauth/repositories/oauth-data.entity.js +7 -1
- package/dist/oauth/repositories/oauth-data.entity.js.map +1 -1
- package/dist/oauth/repositories/oauth.repository.d.ts +3 -2
- package/dist/oauth/repositories/oauth.repository.js +11 -6
- package/dist/oauth/repositories/oauth.repository.js.map +1 -1
- package/dist/oauth/services/oauth-http.service.js +3 -3
- package/dist/oauth/services/oauth-http.service.js.map +1 -1
- package/dist/oauth/services/oauth.service.d.ts +5 -2
- package/dist/oauth/services/oauth.service.js +49 -18
- package/dist/oauth/services/oauth.service.js.map +1 -1
- package/dist/oauth/utils/authentication.utils.d.ts +3 -1
- package/dist/oauth/utils/authentication.utils.js +22 -9
- package/dist/oauth/utils/authentication.utils.js.map +1 -1
- package/dist/oauth/utils/vcita-claims.config.json +10 -3
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +6 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vcita/oauth-client-nestjs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-rc.2",
|
|
4
4
|
"description": "Oauth2 Generic Vcita Integration",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -21,11 +21,9 @@
|
|
|
21
21
|
"cache-manager": "^3.4.4",
|
|
22
22
|
"class-transformer": "^0.4.0",
|
|
23
23
|
"class-validator": "^0.13.1",
|
|
24
|
-
"cookie-parser": "^1.4.5",
|
|
25
24
|
"dotenv": "^10.0.0",
|
|
26
|
-
"express": "^4.17.1",
|
|
27
25
|
"joi": "^17.4.0",
|
|
28
|
-
"jsonwebtoken": "^
|
|
26
|
+
"jsonwebtoken": "^9.0.0",
|
|
29
27
|
"nestjs-redis": "^1.3.3",
|
|
30
28
|
"reflect-metadata": "^0.1.13",
|
|
31
29
|
"rimraf": "^3.0.2",
|
|
@@ -41,11 +39,12 @@
|
|
|
41
39
|
"@nestjs/swagger": "^4.8.0",
|
|
42
40
|
"@nestjs/terminus": "^7.2.0",
|
|
43
41
|
"@nestjs/typeorm": "^7.1.5",
|
|
44
|
-
"@vcita/infra-nestjs": "^2.8.3"
|
|
42
|
+
"@vcita/infra-nestjs": "^2.8.3",
|
|
43
|
+
"express": "^4.17.1",
|
|
44
|
+
"cookie-parser": "^1.4.5"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@nestjs/cli": "^7.6.0",
|
|
48
|
-
"@nestjs/mapped-types": "^1.0.0",
|
|
49
48
|
"@nestjs/schematics": "^7.3.1",
|
|
50
49
|
"@nestjs/testing": "^7.6.15",
|
|
51
50
|
"@types/bull": "^3.15.1",
|
|
@@ -53,7 +52,7 @@
|
|
|
53
52
|
"@types/express": "^4.17.11",
|
|
54
53
|
"@types/jest": "^26.0.22",
|
|
55
54
|
"@types/joi": "^17.2.3",
|
|
56
|
-
"@types/jsonwebtoken": "^
|
|
55
|
+
"@types/jsonwebtoken": "^9.0.0",
|
|
57
56
|
"@types/node": "^14.14.36",
|
|
58
57
|
"@types/supertest": "^2.0.10",
|
|
59
58
|
"@typescript-eslint/eslint-plugin": "^4.19.0",
|