ble-glucose
Advanced tools
Comparing version 0.2.8 to 0.2.9
@@ -138,3 +138,2 @@ /* | ||
try { | ||
await this.glucoseMeasurement.stopNotifications(); | ||
this.glucoseMeasurement.removeEventListener( | ||
@@ -144,2 +143,3 @@ 'characteristicvaluechanged', | ||
); | ||
await this.glucoseMeasurement.stopNotifications(); | ||
this.glucoseMeasurement = null; | ||
@@ -150,3 +150,2 @@ } catch (err) { | ||
try { | ||
await this.glucoseMeasurementContext.stopNotifications(); | ||
this.glucoseMeasurementContext.removeEventListener( | ||
@@ -156,2 +155,3 @@ 'characteristicvaluechanged', | ||
); | ||
await this.glucoseMeasurementContext.stopNotifications(); | ||
this.glucoseMeasurementContext = null; | ||
@@ -162,3 +162,2 @@ } catch (err) { | ||
try { | ||
await this.racp.stopNotifications(); | ||
this.racp.removeEventListener( | ||
@@ -168,2 +167,4 @@ 'characteristicvaluechanged', | ||
); | ||
debug('Removed RACP listener'); | ||
await this.racp.stopNotifications(); | ||
this.racp = null; | ||
@@ -170,0 +171,0 @@ } catch (err) { |
{ | ||
"name": "ble-glucose", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "Reads blood glucose values from Bluetooth LE enabled meters", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
14447
343