@vcita/oauth-client-nestjs 1.14.2 → 1.17.0
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 +33 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/oauth/controllers/oauth.controller.js +7 -7
- package/dist/oauth/controllers/oauth.controller.js.map +1 -1
- package/dist/oauth/decorators/authorization.decorator.d.ts +1 -0
- package/dist/oauth/decorators/authorization.decorator.js +10 -0
- package/dist/oauth/decorators/authorization.decorator.js.map +1 -0
- package/dist/oauth/enums/actors.enum.d.ts +9 -0
- package/dist/oauth/enums/actors.enum.js +14 -0
- package/dist/oauth/enums/actors.enum.js.map +1 -0
- package/dist/oauth/enums/auth.enum.d.ts +1 -0
- package/dist/oauth/enums/auth.enum.js +2 -1
- package/dist/oauth/enums/auth.enum.js.map +1 -1
- package/dist/oauth/middleware/auth.middleware.js +3 -3
- package/dist/oauth/middleware/auth.middleware.js.map +1 -1
- package/dist/oauth/middleware/oauth-authorization.middleware.js +1 -1
- package/dist/oauth/middleware/oauth-authorization.middleware.js.map +1 -1
- package/dist/oauth/oauth.module.js +3 -3
- package/dist/oauth/oauth.module.js.map +1 -1
- package/dist/oauth/repositories/actor.entity.d.ts +29 -0
- package/dist/oauth/repositories/actor.entity.js +46 -0
- package/dist/oauth/repositories/actor.entity.js.map +1 -0
- package/dist/oauth/repositories/authorization-payload.entity.d.ts +4 -3
- package/dist/oauth/repositories/authorization-payload.entity.js +4 -0
- package/dist/oauth/repositories/authorization-payload.entity.js.map +1 -1
- package/dist/oauth/repositories/oauth-data.entity.js +8 -8
- package/dist/oauth/repositories/oauth-data.entity.js.map +1 -1
- package/dist/oauth/repositories/oauth.repository.d.ts +2 -2
- package/dist/oauth/repositories/oauth.repository.js +3 -3
- package/dist/oauth/repositories/oauth.repository.js.map +1 -1
- package/dist/oauth/services/infra-proxy.service.js +1 -1
- package/dist/oauth/services/infra-proxy.service.js.map +1 -1
- package/dist/oauth/services/internal-proxy.service.d.ts +2 -2
- package/dist/oauth/services/internal-proxy.service.js +4 -4
- package/dist/oauth/services/internal-proxy.service.js.map +1 -1
- package/dist/oauth/services/oauth-http.service.js +1 -1
- package/dist/oauth/services/oauth-http.service.js.map +1 -1
- package/dist/oauth/services/oauth.service.js +6 -8
- package/dist/oauth/services/oauth.service.js.map +1 -1
- package/dist/oauth/utils/authentication.utils.d.ts +7 -0
- package/dist/oauth/utils/authentication.utils.js +47 -16
- package/dist/oauth/utils/authentication.utils.js.map +1 -1
- package/dist/oauth/utils/oauth.utils.js +2 -2
- package/dist/oauth/utils/oauth.utils.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +21 -25
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vcita/oauth-client-nestjs",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
4
4
|
"description": "Oauth2 Generic Vcita Integration",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -8,52 +8,51 @@
|
|
|
8
8
|
"*.md"
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
|
+
"test": "echo 'Test suite is TBD'",
|
|
12
|
+
"preversion": "npm test",
|
|
13
|
+
"version": "npm run build",
|
|
14
|
+
"prepublishOnly": "npm run build && npm test",
|
|
15
|
+
"prebuild": "rimraf dist",
|
|
11
16
|
"build": "nest build"
|
|
12
17
|
},
|
|
13
18
|
"dependencies": {
|
|
14
|
-
"@nestjs/bull": "^0.3.1",
|
|
15
|
-
"@nestjs/common": "^7.6.15",
|
|
16
|
-
"@nestjs/config": "^0.6.3",
|
|
17
|
-
"@nestjs/core": "^7.6.15",
|
|
18
|
-
"@nestjs/microservices": "^7.6.15",
|
|
19
|
-
"@nestjs/platform-express": "^7.6.15",
|
|
20
|
-
"@nestjs/schedule": "^0.4.3",
|
|
21
|
-
"@nestjs/swagger": "^4.8.0",
|
|
22
|
-
"@nestjs/terminus": "^7.2.0",
|
|
23
|
-
"@nestjs/typeorm": "^7.1.5",
|
|
24
|
-
"@types/jsonwebtoken": "^8.5.2",
|
|
25
|
-
"@vcita/infra-nestjs": "1.3.5",
|
|
26
|
-
"@willsoto/nestjs-prometheus": "^3.0.0",
|
|
27
|
-
"amqp-connection-manager": "^3.2.2",
|
|
28
|
-
"amqplib": "^0.8.0",
|
|
29
|
-
"api-spec-converter": "^2.12.0",
|
|
30
19
|
"axios": "^0.21.1",
|
|
31
|
-
"bull": "^3.22.8",
|
|
32
|
-
"bull-prom": "^3.2.1",
|
|
33
20
|
"cache-manager": "^3.4.4",
|
|
34
21
|
"class-transformer": "^0.4.0",
|
|
35
22
|
"class-validator": "^0.13.1",
|
|
36
23
|
"cookie-parser": "^1.4.5",
|
|
37
24
|
"dotenv": "^10.0.0",
|
|
25
|
+
"express": "^4.17.1",
|
|
38
26
|
"joi": "^17.4.0",
|
|
39
27
|
"jsonwebtoken": "^8.5.1",
|
|
40
|
-
"mysql2": "^2.2.5",
|
|
41
28
|
"nestjs-redis": "^1.3.3",
|
|
42
|
-
"prom-client": "^13.1.0",
|
|
43
29
|
"reflect-metadata": "^0.1.13",
|
|
44
30
|
"rimraf": "^3.0.2",
|
|
45
31
|
"rxjs": "^6.6.6",
|
|
46
32
|
"swagger-ui-express": "^4.1.6",
|
|
47
33
|
"typeorm": "^0.2.32"
|
|
48
34
|
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@nestjs/common": "^7.6.15",
|
|
37
|
+
"@nestjs/config": "^0.6.3",
|
|
38
|
+
"@nestjs/core": "^7.6.15",
|
|
39
|
+
"@nestjs/platform-express": "^7.6.15",
|
|
40
|
+
"@nestjs/swagger": "^4.8.0",
|
|
41
|
+
"@nestjs/terminus": "^7.2.0",
|
|
42
|
+
"@nestjs/typeorm": "^7.1.5",
|
|
43
|
+
"@vcita/infra-nestjs": "^2.1.0"
|
|
44
|
+
},
|
|
49
45
|
"devDependencies": {
|
|
46
|
+
"@nestjs/cli": "^7.6.0",
|
|
50
47
|
"@nestjs/mapped-types": "^1.0.0",
|
|
51
48
|
"@nestjs/schematics": "^7.3.1",
|
|
52
49
|
"@nestjs/testing": "^7.6.15",
|
|
50
|
+
"@types/bull": "^3.15.1",
|
|
53
51
|
"@types/cron": "^1.7.2",
|
|
54
52
|
"@types/express": "^4.17.11",
|
|
55
53
|
"@types/jest": "^26.0.22",
|
|
56
54
|
"@types/joi": "^17.2.3",
|
|
55
|
+
"@types/jsonwebtoken": "^8.5.2",
|
|
57
56
|
"@types/node": "^14.14.36",
|
|
58
57
|
"@types/supertest": "^2.0.10",
|
|
59
58
|
"@typescript-eslint/eslint-plugin": "^4.19.0",
|
|
@@ -69,15 +68,12 @@
|
|
|
69
68
|
"ts-loader": "^8.0.18",
|
|
70
69
|
"ts-node": "^9.1.1",
|
|
71
70
|
"tsconfig-paths": "^3.9.0",
|
|
72
|
-
"typescript": "^4.2.3"
|
|
73
|
-
"@nestjs/cli": "^7.6.0",
|
|
74
|
-
"@types/bull": "^3.15.1"
|
|
71
|
+
"typescript": "^4.2.3"
|
|
75
72
|
},
|
|
76
73
|
"repository": {
|
|
77
74
|
"type": "git",
|
|
78
75
|
"url": "git+https://github.com/vcita/oauth-client-nestjs.git"
|
|
79
76
|
},
|
|
80
|
-
"peerDependencies": {},
|
|
81
77
|
"keywords": [
|
|
82
78
|
"vcita",
|
|
83
79
|
"oauth2"
|