Previously all the providers NewProvider functions were doing more than needed by managing creating the required CSP service to access their APIs. This PR changes that to make the providers in the library package to accept the required services and nothing else. Creation of these services is a concern of the library users, not the library itself.
Previously all the providers
NewProvider
functions were doing more than needed by managing creating the required CSP service to access their APIs. This PR changes that to make the providers in the library package to accept the required services and nothing else. Creation of these services is a concern of the library users, not the library itself.