According to this threat https://github.com/angular/angular/issues/20575 HttpClientModule must not be imported by a library. In order to use HTTP_INTERCEPTORS (e.g. for authentication) HttpClientModule has to be imported by the root or a core module. If it is also imported by a library then the HTTP_INTERCEPTORS are not used in lazy loaded modules.
You should rely only on DI in order to get the HttpClient!
This problem prevents me from using your library because it breaks authentication in my lazy loaded modules!
According to this threat https://github.com/angular/angular/issues/20575 HttpClientModule must not be imported by a library. In order to use HTTP_INTERCEPTORS (e.g. for authentication) HttpClientModule has to be imported by the root or a core module. If it is also imported by a library then the HTTP_INTERCEPTORS are not used in lazy loaded modules.
You should rely only on DI in order to get the HttpClient!
This problem prevents me from using your library because it breaks authentication in my lazy loaded modules!