@halsystems/red-bacnet 2.1.0-alpha.0 → 2.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.1.1]
4
+ ### Changed
5
+ - Reinstated `globalBroadcastAddress` filter in transport
6
+
7
+ ## [2.1.0]
8
+ ### Changed
9
+ - Matched v2.1.0-alpha.0 release
10
+ - Removed `globalBroadcastAddress` filter from transport
11
+
3
12
  ## [2.1.0-alpha.0]
4
13
  ### Added
5
14
  - BACnet client now listening to both `interface` and `broadcastAddress`
@@ -60,6 +60,7 @@ class Client extends events_1.EventEmitter {
60
60
  this._transport.on('message', this._receiveData.bind(this));
61
61
  this._transport.on('error', this._receiveError.bind(this));
62
62
 
63
+ // HAL added
63
64
  // Add a default error handler to prevent unhandled error events
64
65
  // This will be overridden if the user adds their own error listener
65
66
  this.on('error', (err) => {
@@ -7,6 +7,8 @@ const DEFAULT_BACNET_PORT = 47808;
7
7
  const GLOBAL_BROADCAST_ADDRESS = "255.255.255.255";
8
8
  const UDP_TYPE = "udp4";
9
9
 
10
+ // HAL modified
11
+ // to allow UDP listening on broadcast address
10
12
  class Transport extends events_1.EventEmitter {
11
13
  constructor(settings) {
12
14
  super();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@halsystems/red-bacnet",
3
- "version": "2.1.0-alpha.0",
3
+ "version": "2.1.1",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"