@abandonware/noble
Advanced tools
Comparing version 1.9.2-14 to 1.9.2-15
@@ -170,2 +170,3 @@ // Type definitions for noble | ||
on(event: "notify", listener: (state: string) => void): this; | ||
on(event: "data", listener: (data: Buffer, isNotification: boolean) => void): this; | ||
on(event: "descriptorsDiscover", listener: (descriptors: Descriptor[]) => void): this; | ||
@@ -179,2 +180,3 @@ on(event: string, listener: Function): this; | ||
once(event: "notify", listener: (state: string) => void): this; | ||
once(event: "data", listener: (data: Buffer, isNotification: boolean) => void): this; | ||
once(event: "descriptorsDiscover", listener: (descriptors: Descriptor[]) => void): this; | ||
@@ -181,0 +183,0 @@ once(event: string, listener: Function): this; |
@@ -120,3 +120,6 @@ const debug = require('debug')('hci'); | ||
} else { | ||
this._socket.bindRaw(this._deviceId); | ||
if (!this._bound) { | ||
this._socket.bindRaw(this._deviceId); | ||
this._bound = true; | ||
} | ||
this._socket.start(); | ||
@@ -123,0 +126,0 @@ |
@@ -10,3 +10,3 @@ { | ||
"description": "A Node.js BLE (Bluetooth Low Energy) central library.", | ||
"version": "1.9.2-14", | ||
"version": "1.9.2-15", | ||
"repository": { | ||
@@ -39,7 +39,6 @@ "type": "git", | ||
"debug": "^4.3.1", | ||
"napi-thread-safe-callback": "0.0.6", | ||
"node-addon-api": "^3.2.0" | ||
}, | ||
"optionalDependencies": { | ||
"@abandonware/bluetooth-hci-socket": "^0.5.3-7" | ||
"@abandonware/bluetooth-hci-socket": "^0.5.3-8" | ||
}, | ||
@@ -49,3 +48,3 @@ "devDependencies": { | ||
"eslint": "^7.27.0", | ||
"eslint-config-semistandard": "^15.0.1", | ||
"eslint-config-semistandard": "^16.0.0", | ||
"eslint-config-standard": "^16.0.3", | ||
@@ -55,6 +54,5 @@ "eslint-plugin-import": "^2.23.3", | ||
"eslint-plugin-promise": "^5.1.0", | ||
"eslint-plugin-standard": "^5.0.0", | ||
"install": "^0.13.0", | ||
"mocha": "^8.4.0", | ||
"node-gyp": "^8.0.0", | ||
"@mapbox/node-pre-gyp": "^1.0.5", | ||
"prettier": "^2.3.0", | ||
@@ -61,0 +59,0 @@ "proxyquire": "^2.1.3", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
632073
3
15
13406
- Removednapi-thread-safe-callback@0.0.6
- Removednapi-thread-safe-callback@0.0.6(transitive)