@yuuvis/client-core 2.5.0 → 2.5.1

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.
@@ -4152,7 +4152,7 @@ class IdmService {
4152
4152
  return this.#backend.get(`/idm/roles?${searchParams.toString()}`).pipe(catchError$1(() => of([])));
4153
4153
  }
4154
4154
  getUserById(id) {
4155
- return this.#backend.get(`/idm/users/${id}`).pipe(catchError$1(() => of(null)));
4155
+ return this.#backend.get(`/idm/users/${id}`).pipe(map$1((res) => (res ? new YuvUser(res) : null)), catchError$1(() => of(null)));
4156
4156
  }
4157
4157
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IdmService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4158
4158
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IdmService, providedIn: 'root' }); }