homebridge-melcloud-control 3.4.0 → 3.4.1

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.
@@ -1,5 +1,3 @@
1
- "use strict";
2
-
3
1
  import { HomebridgePluginUiServer } from '@homebridge/plugin-ui-utils';
4
2
  import MelCloud from '../src/melcloud.js';
5
3
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "MELCloud Control",
3
3
  "name": "homebridge-melcloud-control",
4
- "version": "3.4.0",
4
+ "version": "3.4.1",
5
5
  "description": "Homebridge plugin to control Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -17,7 +17,9 @@
17
17
  "url": "https://github.com/grzegorz914/homebridge-melcloud-control/issues"
18
18
  },
19
19
  "type": "module",
20
- "main": "index.js",
20
+ "exports": {
21
+ ".": "./index.js"
22
+ },
21
23
  "files": [
22
24
  "src",
23
25
  "homebridge-ui",
package/src/deviceata.js CHANGED
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import EventEmitter from 'events';
3
2
  import MelCloudAta from './melcloudata.js';
4
3
  import RestFul from './restful.js';
package/src/deviceatw.js CHANGED
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import EventEmitter from 'events';
3
2
  import MelCloudAtw from './melcloudatw.js';
4
3
  import RestFul from './restful.js';
package/src/deviceerv.js CHANGED
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import EventEmitter from 'events';
3
2
  import MelCloudErv from './melclouderv.js';
4
3
  import RestFul from './restful.js';
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import EventEmitter from 'events';
3
2
 
4
3
  class ImpulseGenerator extends EventEmitter {
package/src/melcloud.js CHANGED
@@ -1,6 +1,4 @@
1
- "use strict";
2
- import { promises } from 'fs';
3
- const fsPromises = promises;
1
+ import { promises as fsPromises } from 'fs';
4
2
  import { Agent } from 'https';
5
3
  import axios from 'axios';
6
4
  import EventEmitter from 'events';
@@ -1,6 +1,4 @@
1
- "use strict";
2
- import { promises } from 'fs';
3
- const fsPromises = promises;
1
+ import { promises as fsPromises } from 'fs';
4
2
  import { Agent } from 'https';
5
3
  import axios from 'axios';
6
4
  import EventEmitter from 'events';
@@ -1,6 +1,4 @@
1
- "use strict";
2
- import { promises } from 'fs';
3
- const fsPromises = promises;
1
+ import { promises as fsPromises } from 'fs';
4
2
  import { Agent } from 'https';
5
3
  import axios from 'axios';
6
4
  import EventEmitter from 'events';
@@ -1,6 +1,4 @@
1
- "use strict";
2
- import { promises } from 'fs';
3
- const fsPromises = promises;
1
+ import { promises as fsPromises } from 'fs';
4
2
  import axios from 'axios';
5
3
  import EventEmitter from 'events';
6
4
  import ImpulseGenerator from './impulsegenerator.js';
package/src/mqtt.js CHANGED
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import asyncMqtt from 'async-mqtt';
3
2
  const { connectAsync } = asyncMqtt;
4
3
  import EventEmitter from 'events';
package/src/restful.js CHANGED
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  import express, { json } from 'express';
3
2
  import EventEmitter from 'events';
4
3