@decaf-ts/integrations 0.2.0 → 0.2.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.
Files changed (49) hide show
  1. package/dist/integrations.cjs +1 -1
  2. package/dist/integrations.cjs.map +1 -1
  3. package/dist/integrations.js +1 -1
  4. package/dist/integrations.js.map +1 -1
  5. package/lib/cjs/index.cjs +3 -3
  6. package/lib/cjs/nest/authService.cjs +53 -2
  7. package/lib/cjs/nest/authService.cjs.map +1 -1
  8. package/lib/cjs/nest/index.cjs +2 -0
  9. package/lib/cjs/nest/index.cjs.map +1 -1
  10. package/lib/cjs/nest/keycloakAuthHandler.cjs +49 -23
  11. package/lib/cjs/nest/keycloakAuthHandler.cjs.map +1 -1
  12. package/lib/cjs/nest/keycloakModule.cjs +5 -3
  13. package/lib/cjs/nest/keycloakModule.cjs.map +1 -1
  14. package/lib/cjs/nest/logging.cjs +41 -0
  15. package/lib/cjs/nest/logging.cjs.map +1 -0
  16. package/lib/cjs/nest/utils.cjs +24 -0
  17. package/lib/cjs/nest/utils.cjs.map +1 -1
  18. package/lib/cjs/utils.cjs +1 -1
  19. package/lib/esm/index.js +3 -3
  20. package/lib/esm/nest/authService.js +54 -3
  21. package/lib/esm/nest/authService.js.map +1 -1
  22. package/lib/esm/nest/index.js +2 -0
  23. package/lib/esm/nest/index.js.map +1 -1
  24. package/lib/esm/nest/keycloakAuthHandler.js +49 -23
  25. package/lib/esm/nest/keycloakAuthHandler.js.map +1 -1
  26. package/lib/esm/nest/keycloakModule.js +5 -3
  27. package/lib/esm/nest/keycloakModule.js.map +1 -1
  28. package/lib/esm/nest/logging.js +38 -0
  29. package/lib/esm/nest/logging.js.map +1 -0
  30. package/lib/esm/nest/utils.js +23 -0
  31. package/lib/esm/nest/utils.js.map +1 -1
  32. package/lib/esm/utils.js +1 -1
  33. package/lib/types/index.d.cts +2 -2
  34. package/lib/types/index.d.mts +2 -2
  35. package/lib/types/nest/authService.d.cts +55 -2
  36. package/lib/types/nest/authService.d.mts +55 -2
  37. package/lib/types/nest/index.d.cts +2 -0
  38. package/lib/types/nest/index.d.mts +2 -0
  39. package/lib/types/nest/keycloakAuthHandler.d.cts +51 -5
  40. package/lib/types/nest/keycloakAuthHandler.d.mts +51 -5
  41. package/lib/types/nest/keycloakModule.d.cts +3 -3
  42. package/lib/types/nest/keycloakModule.d.mts +3 -3
  43. package/lib/types/nest/logging.d.cts +1 -0
  44. package/lib/types/nest/logging.d.mts +1 -0
  45. package/lib/types/nest/types.d.cts +23 -18
  46. package/lib/types/nest/types.d.mts +23 -18
  47. package/lib/types/nest/utils.d.cts +9 -0
  48. package/lib/types/nest/utils.d.mts +9 -0
  49. package/package.json +32 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@decaf-ts/integrations",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.mts",
@@ -244,6 +244,7 @@
244
244
  "@decaf-ts/crypto": "latest",
245
245
  "@decaf-ts/db-decorators": "latest",
246
246
  "@decaf-ts/decoration": "latest",
247
+ "@decaf-ts/decorator-validation": "latest",
247
248
  "@decaf-ts/injectable-decorators": "latest",
248
249
  "@decaf-ts/logging": "latest",
249
250
  "@decaf-ts/transactional-decorators": "latest",
@@ -253,11 +254,39 @@
253
254
  "uuid": "^11.1.1"
254
255
  },
255
256
  "devDependencies": {
257
+ "@decaf-ts/for-http": "latest",
258
+ "@decaf-ts/for-nest": "^0.11.2-refactor.2",
256
259
  "@decaf-ts/utils": "latest",
257
- "@types/jest": "^30.0.0"
260
+ "@nestjs/common": "^11.0.0",
261
+ "@nestjs/core": "^11.0.0",
262
+ "@nestjs/platform-express": "^11.0.0",
263
+ "@nestjs/swagger": "^11.4.4",
264
+ "@nestjs/testing": "^11.0.0",
265
+ "@types/jest": "^30.0.0",
266
+ "@types/supertest": "^6.0.0",
267
+ "reflect-metadata": "^0.2.0",
268
+ "rxjs": "^7.8.0",
269
+ "supertest": "^7.0.0"
270
+ },
271
+ "peerDependencies": {
272
+ "@decaf-ts/for-http": "latest",
273
+ "@decaf-ts/for-nest": "0.11.2.refactor.2",
274
+ "jose": ">=5.0.0"
275
+ },
276
+ "peerDependenciesMeta": {
277
+ "@decaf-ts/for-http": {
278
+ "optional": true
279
+ },
280
+ "@decaf-ts/for-nest": {
281
+ "optional": true
282
+ },
283
+ "jose": {
284
+ "optional": true
285
+ }
258
286
  },
259
287
  "overrides": {
260
- "js-yaml": "^4.2.0"
288
+ "js-yaml": "^4.2.0",
289
+ "multer": "^2.1.2"
261
290
  },
262
291
  "optionalDependencies": {
263
292
  "@aws-sdk/client-s3": "^3.1075.0",