homebridge-melcloud-control 4.0.0-beta.240 → 4.0.0-beta.242

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "4.0.0-beta.240",
4
+ "version": "4.0.0-beta.242",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -11,9 +11,8 @@ const SCOPE = 'openid profile email offline_access IdentityServerApi';
11
11
  const TOKEN_ENDPOINT = 'https://auth.melcloudhome.com/connect/token';
12
12
  const AUTHORIZE_ENDPOINT = 'https://auth.melcloudhome.com/connect/authorize';
13
13
 
14
- export class MelCloudHomeToken {
14
+ class MelCloudHomeToken {
15
15
  constructor(log) {
16
- this.log = log;
17
16
  this.jar = new CookieJar();
18
17
  this.axiosInstance = wrapper(axios.create({
19
18
  jar: this.jar,
@@ -172,7 +171,7 @@ export class MelCloudHomeToken {
172
171
  }
173
172
  }
174
173
 
175
- module.exports = MelCloudHomeToken;
174
+ export default MelCloudHomeToken;
176
175
 
177
176
 
178
177