Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

noble

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

noble - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## Version 1.0.1
* correct peripherals not being created correctly
## Version 1.0

@@ -2,0 +6,0 @@

2

examples/advertisement-discovery.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc