extract init logic to an initService so that it's not mixed in with provider logic
add @Injectable() to WebPlatformUtilsService so that we don't have to specify its deps. I was a little unsure about mixing patterns/approaches, but I settled on making use of Angular's features where we can.
Screenshots
Testing requirements
Before you submit
[x] I have checked for linting errors (npm run lint) (required)
[ ] This change requires a documentation update (notify the documentation team)
[ ] This change has particular deployment requirements (notify the DevOps team)
Type of change
Objective
See https://github.com/bitwarden/jslib/pull/775.
Code changes
services.module.ts
to use the new tokensinitService
so that it's not mixed in with provider logic@Injectable()
toWebPlatformUtilsService
so that we don't have to specify its deps. I was a little unsure about mixing patterns/approaches, but I settled on making use of Angular's features where we can.Screenshots
Testing requirements
Before you submit
npm run lint
) (required)