Skip to content

v2.7: Update apiUrl and pass on API errors to client SDK

Compare
Choose a tag to compare
@artemlos artemlos released this 26 Apr 08:47
· 42 commits to master since this release

This update comes with the following changes:

  1. All requests are now forwarded to the new API endpoint, i.e. api.cryptolens.io.
  2. The content type that is returned is now the same as the one from the API, i.e. application/json.
  3. In case of an error (400 or 500) from the API, it will be passed on to the client library.