homebridge-xbox-tv 3.2.0-beta.5 → 3.2.0

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/CHANGELOG.md CHANGED
@@ -10,6 +10,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  - After update to 2.x.x the plugin settings (xboxLiveId) need to be updated
11
11
  - After update to v3.0.0 RESTFull and MQTT config settings need to be updated
12
12
 
13
+ ## [3.2.0] - (30.11.2024)
14
+
15
+ ## Changes
16
+
17
+ - move from commonJS to esm module
18
+ - moved constants.json to constants.js
19
+ - cleanup
20
+
13
21
  ## [3.1.12] - (27.09.2024)
14
22
 
15
23
  ## Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Xbox TV",
3
3
  "name": "homebridge-xbox-tv",
4
- "version": "3.2.0-beta.5",
4
+ "version": "3.2.0",
5
5
  "description": "Homebridge plugin to control Xbox game consoles.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  import JsRsaSign from 'jsrsasign';
3
- import * as Crypto from 'crypto';
3
+ import Crypto from 'crypto';
4
4
  import { EOL } from 'os';
5
5
  import Elliptic from 'elliptic';
6
6
  const EC = Elliptic.ec;
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  import { promises } from 'fs';
3
3
  const fsPromises = promises;
4
- import * as Dgram from 'dgram';
5
- import * as Net from 'net';
4
+ import Dgram from 'dgram';
5
+ import Net from 'net';
6
6
  import { parse as UuIdParse, v4 as UuIdv4 } from 'uuid';
7
7
  import EventEmitter from 'events';
8
- import * as Ping from 'ping';
8
+ import Ping from 'ping';
9
9
  import SimplePacket from './simple.js';
10
10
  import MessagePacket from'./message.js';
11
11
  import SGCrypto from './sgcrypto.js';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
  import { promises } from 'fs';
3
3
  const fsPromises = promises;
4
- import * as QueryString from 'querystring';
4
+ import QueryString from 'querystring';
5
5
  import axios from 'axios';
6
6
  import { WebApi } from '../constants.js';
7
7
 
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- import * as QueryString from 'querystring';
2
+ import QueryString from 'querystring';
3
3
  import axios from 'axios';
4
4
 
5
5
  class Catalog {
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- import * as QueryString from 'querystring';
2
+ import QueryString from 'querystring';
3
3
  import axios from 'axios';
4
4
 
5
5
  class GameClip {
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
- import * as QueryString from 'querystring';
2
+ import QueryString from 'querystring';
3
3
  import axios from 'axios';
4
4
 
5
5
  class Catalog {