@stoprocent/bleno 0.7.3 → 0.7.4

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.
@@ -98,6 +98,7 @@ class Hci extends EventEmitter {
98
98
  init () {
99
99
  this._socket.on('data', this.onSocketData.bind(this));
100
100
  this._socket.on('error', this.onSocketError.bind(this));
101
+ this._socket.on('state', this.pollIsDevUp.bind(this));
101
102
 
102
103
  const deviceId = process.env.BLENO_HCI_DEVICE_ID ? parseInt(process.env.BLENO_HCI_DEVICE_ID) : undefined;
103
104
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoprocent/bleno",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "A Node.js module for implementing BLE (Bluetooth Low Energy) peripherals",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -68,7 +68,7 @@
68
68
  "node-gyp-build": "^4.6.1"
69
69
  },
70
70
  "optionalDependencies": {
71
- "@stoprocent/bluetooth-hci-socket": "^1.1.5",
71
+ "@stoprocent/bluetooth-hci-socket": "^1.1.6",
72
72
  "bplist-parser": "0.3.2",
73
73
  "xpc-connect": "^3.0.0"
74
74
  },
Binary file
Binary file