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

noble-device

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

noble-device - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

CHANGELOG.md

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

## Version 1.0.1
* add ``connectedAndSetUp`` property
## Version 1.0

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

@@ -13,2 +13,3 @@ var events = require('events');

this.uuid = peripheral.uuid;
this.connectedAndSetUp = false;

@@ -21,2 +22,3 @@ this._peripheral.on('disconnect', this.onDisconnect.bind(this));

NobleDevice.prototype.onDisconnect = function() {
this.connectedAndSetUp = false;
this.emit('disconnect');

@@ -71,3 +73,6 @@ };

this.discoverServicesAndCharacteristics(callback);
this.discoverServicesAndCharacteristics(function() {
this.connectedAndSetUp = true;
callback();
}.bind(this));
}.bind(this));

@@ -74,0 +79,0 @@ };

2

package.json
{
"name": "noble-device",
"version": "1.0.0",
"version": "1.0.1",
"description": "A node.js lib to abstract BLE (Bluetooth Low Energy) peripherals, uses noble",

@@ -5,0 +5,0 @@ "main": "index.js",

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