I finally get some time this weekend and decide to work on some unfinished issues. there it go:
- Created and Updated unit tests on library project;
- Created an automated workflow to run unit tests on each PR;
- Created TypeDocs on all Services, Modules and Directives to help you guys to use this lib;
- Removed bad practices on access Window and Document objects directily by Angular Services. I decided to create Injection Tokens to resolve does Broser Objects.;
- Added some validations to ensure it is a Browser Environment;
- Added cleanup code on NgxGoogleAnalyticsRouterModule. In short, we now unsubscribe Router events when bootstrap app is destroied;
- Added a new Settings property
ennableTracing
to log on console Errors and Warnings aboutgtag()
calls; - Now we have
InjectionToken
for everything. You can replace all our default settings;