@ubs-platform/users-microservice-helper 9.0.1 → 9.1.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.
@@ -1 +1 @@
1
- {"name":"@ubs-platform/users-consts","version":"9.0.1","description":"","repository":{"type":"git","url":"git+https://github.com/ubs-platform/ubs-mona-mr.git"},"homepage":"https://github.com/ubs-platform/ubs-mona-mr","iksir":{"type":"LIBRARY","libraryMode":"EMBEDDED"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC"}
1
+ {"name":"@ubs-platform/users-consts","version":"9.1.0","description":"","repository":{"type":"git","url":"git+https://github.com/ubs-platform/ubs-mona-mr.git"},"homepage":"https://github.com/ubs-platform/ubs-mona-mr","iksir":{"type":"LIBRARY","libraryMode":"EMBEDDED"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC"}
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@ubs-platform/users-microservice-helper","version":"9.0.1","description":"","repository":{"type":"git","url":"git+https://github.com/ubs-platform/ubs-mona-mr.git"},"homepage":"https://github.com/ubs-platform/ubs-mona-mr","iksir":{"type":"LIBRARY","libraryMode":"PEER","buildSubFolder":"users-microservice-helper/src"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","peerDependencies":{"@nestjs/jwt":"^12.0.0","@nestjs/passport":"^12.0.0","@nestjs/common":"^12.0.0","passport-jwt":"^4.0.1","rxjs":"^7.8.2","@ubs-platform/microservice-setup-util":"9.0.1"}}
1
+ {"name":"@ubs-platform/users-microservice-helper","version":"9.1.0","description":"","repository":{"type":"git","url":"git+https://github.com/ubs-platform/ubs-mona-mr.git"},"homepage":"https://github.com/ubs-platform/ubs-mona-mr","iksir":{"type":"LIBRARY","libraryMode":"PEER","buildSubFolder":"users-microservice-helper/src"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","peerDependencies":{"@nestjs/jwt":"^12.0.0","@nestjs/passport":"^12.0.0","@nestjs/common":"^12.0.0","passport-jwt":"^4.0.1","rxjs":"^7.8.2","@ubs-platform/microservice-setup-util":"9.1.0"}}
@@ -25,9 +25,7 @@ let UserService = class UserService {
25
25
  this.kafkaClient.subscribeToResponseOf?.('user-by-login');
26
26
  }
27
27
  async findUserAuth(userId) {
28
- console.debug('Fetching user');
29
28
  const user = (await (0, rxjs_1.firstValueFrom)(this.kafkaClient.send('user-by-id', userId)));
30
- console.debug(`The request made by: ${user.name} ${user.surname}`);
31
29
  return user;
32
30
  }
33
31
  async findUserByLogin(login) {
@@ -1 +1 @@
1
- {"version":3,"file":"user.service.js","sourceRoot":"","sources":["../../../../../../../libs/users-microservice-helper/src/service/user.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAkE;AAElE,mFAA4E;AAE5E,+BAAsC;AAG/B,IAAM,WAAW,GAAjB,MAAM,WAAW;IACpB,YAEY,WAAkD;QAAlD,gBAAW,GAAX,WAAW,CAAuC;IAC3D,CAAC;IACJ,YAAY;QACP,IAAI,CAAC,WAA2B,CAAC,qBAAqB,EAAE,CAAC,YAAY,CAAC,CAAC;QACvE,IAAI,CAAC,WAA2B,CAAC,qBAAqB,EAAE,CAAC,eAAe,CAAC,CAAC;IAC/E,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,MAAW;QAE1B,OAAO,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QAC/B,MAAM,IAAI,GAAG,CAAC,MAAM,IAAA,qBAAc,EAC9B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAC9C,CAAY,CAAC;QACd,OAAO,CAAC,KAAK,CAAC,wBAAwB,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;QACnE,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,KAAa;QAC/B,MAAM,IAAI,GAAG,CAAC,MAAM,IAAA,qBAAc,EAC9B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC,CAChD,CAAY,CAAC;QACd,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ,CAAA;AA1BY,kCAAW;sBAAX,WAAW;IADvB,IAAA,mBAAU,GAAE;IAGJ,WAAA,IAAA,eAAM,EAAC,6CAAmB,CAAC,CAAA;;GAFvB,WAAW,CA0BvB"}
1
+ {"version":3,"file":"user.service.js","sourceRoot":"","sources":["../../../../../../../libs/users-microservice-helper/src/service/user.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAkE;AAElE,mFAA4E;AAE5E,+BAAsC;AAG/B,IAAM,WAAW,GAAjB,MAAM,WAAW;IACpB,YAEY,WAAkD;QAAlD,gBAAW,GAAX,WAAW,CAAuC;IAC3D,CAAC;IACJ,YAAY;QACP,IAAI,CAAC,WAA2B,CAAC,qBAAqB,EAAE,CAAC,YAAY,CAAC,CAAC;QACvE,IAAI,CAAC,WAA2B,CAAC,qBAAqB,EAAE,CAAC,eAAe,CAAC,CAAC;IAC/E,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,MAAW;QAG1B,MAAM,IAAI,GAAG,CAAC,MAAM,IAAA,qBAAc,EAC9B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAC9C,CAAY,CAAC;QAEd,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,KAAa;QAC/B,MAAM,IAAI,GAAG,CAAC,MAAM,IAAA,qBAAc,EAC9B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC,CAChD,CAAY,CAAC;QACd,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ,CAAA;AA1BY,kCAAW;sBAAX,WAAW;IADvB,IAAA,mBAAU,GAAE;IAGJ,WAAA,IAAA,eAAM,EAAC,6CAAmB,CAAC,CAAA;;GAFvB,WAAW,CA0BvB"}