fpavon-ee-shared 1.0.53 → 1.0.54

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.
@@ -9,5 +9,5 @@ export declare class DocumentosUseCase {
9
9
  getDocumentoAdjunto: (uuid: string) => Promise<DocumentoFTP>;
10
10
  deleteDocumento: (uuid: any) => Promise<Boolean>;
11
11
  generarPinDeFirmaUseCase: (registrosDeFirma: any) => Promise<any>;
12
- firmarDocumentoUseCase: (registrosDeFirma: any, documento: any, usuario: any) => Promise<void>;
12
+ firmarDocumentoUseCase: (registrosDeFirma: any, documento: any, usuario?: any) => Promise<void>;
13
13
  }
@@ -67,7 +67,7 @@ export class DocumentosUseCase{
67
67
  return registrosDeFirma;
68
68
  }
69
69
 
70
- firmarDocumentoUseCase = async (registrosDeFirma:any, documento, usuario)=>{
70
+ firmarDocumentoUseCase = async (registrosDeFirma:any, documento, usuario?)=>{
71
71
  const doc = await this.documentosRepository.createDocumento(new DocumentoFTP(documento));
72
72
  return await this.documentosRepository.firmarDocumentoEvent(registrosDeFirma, doc.uuid, usuario);
73
73
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fpavon-ee-shared",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "description": "Carpeta compartida entre servicios de Expediente Electronico",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",