@homebridge/dbus-native 0.4.2 → 0.5.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.
Files changed (3) hide show
  1. package/README.md +2 -1
  2. package/lib/bus.js +1 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -2,9 +2,10 @@ node-dbus
2
2
  ===========
3
3
 
4
4
  [![Greenkeeper badge](https://badges.greenkeeper.io/sidorares/dbus-native.svg)](https://greenkeeper.io/)
5
+ [![Node Test](https://github.com/homebridge/dbus-native/actions/workflows/run-test.yml/badge.svg)](https://github.com/homebridge/dbus-native/actions/workflows/run-test.yml)
6
+
5
7
  D-bus protocol client and server for node.js
6
8
 
7
- [![Build Status](https://secure.travis-ci.org/sidorares/dbus-native.png)](http://travis-ci.org/sidorares/dbus-native)
8
9
 
9
10
  Fork Status
10
11
  ------------
package/lib/bus.js CHANGED
@@ -137,7 +137,7 @@ module.exports = function bus(conn, opts) {
137
137
  args = [null].concat(args); // first argument - no errors, null
138
138
  handler.apply(props, args); // body as array of arguments
139
139
  } else {
140
- handler.call(props, args); // body as first argument
140
+ handler.call(props, {name: msg.errorName, message: args}); // body as first argument
141
141
  }
142
142
  }
143
143
  } else if (msg.type === constants.messageType.signal) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@homebridge/dbus-native",
3
3
  "author": "Andrey Sidorov <sidorares@yandex.com>",
4
- "version": "0.4.2",
4
+ "version": "0.5.1",
5
5
  "keywords": [
6
6
  "dbus",
7
7
  "dcop",
@@ -44,7 +44,7 @@
44
44
  "minimist": "^1.2.6",
45
45
  "@homebridge/put": "~0.0.8",
46
46
  "safe-buffer": "^5.1.1",
47
- "xml2js": "^0.4.17"
47
+ "xml2js": "^0.5.0"
48
48
  },
49
49
  "comment": {
50
50
  "optionalDependencies": {