Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,5 @@ | ||
## Version 1.0.1 | ||
* correct peripherals not being created correctly | ||
## Version 1.0 | ||
@@ -2,0 +6,0 @@ |
@@ -13,3 +13,3 @@ var noble = require('../index'); | ||
console.log('peripheral discovered (' + peripheral.uuid + | ||
' with address <' + peripheral.address + ', ' + peripheral.addressType + '>:'); | ||
' with address <' + peripheral.address + ', ' + peripheral.addressType + '>, RSSI ' + peripheral.rssi + ':'); | ||
console.log('\thello my local name is:'); | ||
@@ -16,0 +16,0 @@ console.log('\t\t' + peripheral.advertisement.localName); |
@@ -113,7 +113,7 @@ var debug = require('debug')('noble'); | ||
Noble.prototype.onDiscover = function(uuid, address, advertisement, rssi) { | ||
Noble.prototype.onDiscover = function(uuid, address, addressType, advertisement, rssi) { | ||
var peripheral = this._peripherals[uuid]; | ||
if (!peripheral) { | ||
peripheral = new Peripheral(this, uuid, address, advertisement, rssi); | ||
peripheral = new Peripheral(this, uuid, address, addressType, advertisement, rssi); | ||
@@ -120,0 +120,0 @@ this._peripherals[uuid] = peripheral; |
@@ -5,3 +5,3 @@ { | ||
"description": "A node.js BLE (Bluetooth low energy) central library.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
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
259252