- Switch hostname on error in GraphQL response with status > 499
- Throw on errors in GraphQL response.
- Breaking: Auth using all cookies.
- Breaking: GraphQL interface.
- Update hostname and method for authentication.
- Breaking: Support for MFA.
- Handle auth with missing cookie.
- Support new auth hosts.
- Breaking: Replace
request
withaxios
as underlying http client. - Breaking: Drop support for Node <8.
- Default client requests to JSON.
- Expose all installation data as config properties.
- Expose installation
locale
as instance property.
- Fix syntax error in Node 7.
- Reuse promises when doing the same call in parallel.
- Breaking: Promises in favor of callbacks.
- Refactor to class definitions.
- Support for Node 4 & 5.
- Retry failed request to different Verisure host.
- Basic support for auth, installations and overview.