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

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.239",
4
+ "version": "4.0.0-beta.240",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -150,7 +150,7 @@ export class MelCloudHomeToken {
150
150
  }
151
151
 
152
152
  async getTokensWithCredentials(email, password) {
153
- this.log.info('Obtaining OAuth tokens automatically...');
153
+ console.log('Obtaining OAuth tokens automatically...');
154
154
  const pkce = this.generatePKCE();
155
155
  const state = this.generateState();
156
156
 
@@ -167,7 +167,7 @@ export class MelCloudHomeToken {
167
167
  const authCode = await this.submitLogin(loginPage.loginUrl, loginPage.csrf, email, password, loginPage.cookies);
168
168
  const tokens = await this.exchangeCodeForTokens(authCode, pkce.verifier);
169
169
 
170
- this.log.info('✓ Successfully obtained OAuth tokens');
170
+ console.log('✓ Successfully obtained OAuth tokens');
171
171
  return tokens;
172
172
  }
173
173
  }