Overview
The methods to create a new client and new dev client currently use hard coded URLs for api calls. There should be only one method which should take a parameter for base URL
Background
Previously there was only write.as and development.write.as. We are now using some other development test servers and soon will support custom instances.
Implementation
- NewDevClient should be removed
- NewClient and NewTorClient should take an additional parameter baseURL
- tests should be updated to pass a dev server URL when creating clients for test purposes,