fiscalia_bo-nest-helpers 0.1.8 → 0.1.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.
@@ -16,6 +16,7 @@ exports.MsSeguridadController = void 0;
16
16
  const common_1 = require("@nestjs/common");
17
17
  const swagger_1 = require("@nestjs/swagger");
18
18
  const ms_seguridad_decorator_1 = require("./ms-seguridad.decorator");
19
+ const ms_seguridad_decorator_2 = require("./ms-seguridad.decorator");
19
20
  const ms_seguridad_service_1 = require("./ms-seguridad.service");
20
21
  const ms_seguridad_input_1 = require("./dto/ms-seguridad.input");
21
22
  const uaParser = require("ua-parser-js");
@@ -59,20 +60,20 @@ __decorate([
59
60
  ], MsSeguridadController.prototype, "login", null);
60
61
  __decorate([
61
62
  (0, common_1.Get)('information'),
62
- (0, swagger_1.ApiBearerAuth)(),
63
+ (0, ms_seguridad_decorator_1.BearerAuthPermision)(),
63
64
  (0, common_1.Version)('1'),
64
65
  (0, swagger_1.ApiOperation)({ summary: 'Servicio obtener la información de token.' }),
65
- __param(0, (0, ms_seguridad_decorator_1.AuthToken)()),
66
+ __param(0, (0, ms_seguridad_decorator_2.AuthToken)()),
66
67
  __metadata("design:type", Function),
67
68
  __metadata("design:paramtypes", [String]),
68
69
  __metadata("design:returntype", Promise)
69
70
  ], MsSeguridadController.prototype, "token", null);
70
71
  __decorate([
71
72
  (0, common_1.Post)('logout'),
72
- (0, swagger_1.ApiBearerAuth)(),
73
+ (0, ms_seguridad_decorator_1.BearerAuthPermision)(),
73
74
  (0, common_1.Version)('1'),
74
75
  (0, swagger_1.ApiOperation)({ summary: 'Servicio de logout.' }),
75
- __param(0, (0, ms_seguridad_decorator_1.AuthToken)()),
76
+ __param(0, (0, ms_seguridad_decorator_2.AuthToken)()),
76
77
  __metadata("design:type", Function),
77
78
  __metadata("design:paramtypes", [String]),
78
79
  __metadata("design:returntype", Promise)
@@ -1 +1 @@
1
- {"version":3,"file":"ms-seguridad.controller.js","s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AA,aAAI,GAAE,CAAA;;qCAA1B,OAAO,UAA0B,6BAAQ;;kDAShE;AAOK;IAJL,IAAA,YAAG,EAAC,aAAa,CAAC;IAClB,IAAA,4CAAmB,GAAE;IACrB,IAAA,gBAAO,EAAC,GAAG,CAAC;IACZ,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,2CAA2C,EAAE,CAAC;IAC1D,WAAA,IAAA,kCAAS,GAAE,CAAA;;;;kDAGvB;AAOK;IAJL,IAAA,aAAI,EAAC,QAAQ,CAAC;IACd,IAAA,4CAAmB,GAAE;IACrB,IAAA,gBAAO,EAAC,GAAG,CAAC;IACZ,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,qBAAqB,EAAE,CAAC;IACjC,WAAA,IAAA,kCAAS,GAAE,CAAA;;;;qDAG1B;AA1CU,qBAAqB;IAFjC,IAAA,mBAAU,EAAC,MAAM,CAAC;IAClB,IAAA,iBAAO,EAAC,qBAAqB,CAAC;qCAGQ,yCAAkB;QAClB,qCAAgB;GAH1C,qBAAqB,CAsDjC;AAtDY,sDAAqB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fiscalia_bo-nest-helpers",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "author": "UTIC",
5
5
  "contact": {
6
6
  "name": "Unidad de Tecnologías de la Información y Comunicación - Ministerio Público",