Skip to content

Commit

Permalink
Merge pull request #37 from loginov-rocks/dev
Browse files Browse the repository at this point in the history
Release v1.4.1
  • Loading branch information
loginov-rocks committed Jun 2, 2019
2 parents 2330f57 + 02200d6 commit 8e8188d
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 77 deletions.
151 changes: 86 additions & 65 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "bluetooth-terminal",
"version": "1.4.0",
"version": "1.4.1",
"description": "ES6 class for serial communication with Bluetooth Low Energy (Smart) devices",
"main": "src/BluetoothTerminal.js",
"scripts": {
Expand Down Expand Up @@ -37,10 +37,10 @@
"chai-as-promised": "^7.1.1",
"coveralls": "^3.0.3",
"eslint": "^5.16.0",
"eslint-config-google": "^0.12.0",
"eslint-plugin-jsdoc": "^4.8.3",
"eslint-config-google": "^0.13.0",
"eslint-plugin-jsdoc": "^7.2.3",
"istanbul": "^0.4.5",
"jsdom": "^14.0.0",
"jsdom": "^15.1.1",
"mocha": "^6.1.4",
"sinon": "^7.3.2",
"web-bluetooth-mock": "^1.0.2"
Expand Down
16 changes: 8 additions & 8 deletions src/BluetoothTerminal.js
Expand Up @@ -226,7 +226,7 @@ class BluetoothTerminal {
/**
* Connect to device.
*
* @param {Object} device - Device.
* @param {object} device - Device.
* @returns {Promise} Promise.
* @private
*/
Expand All @@ -243,7 +243,7 @@ class BluetoothTerminal {
/**
* Disconnect from device.
*
* @param {Object} device - Device.
* @param {object} device - Device.
* @returns {undefined} Undefined.
* @private
*/
Expand Down Expand Up @@ -291,7 +291,7 @@ class BluetoothTerminal {
/**
* Connect device and cache characteristic.
*
* @param {Object} device - Device.
* @param {object} device - Device.
* @returns {Promise} Promise.
* @private
*/
Expand Down Expand Up @@ -326,7 +326,7 @@ class BluetoothTerminal {
/**
* Start notifications.
*
* @param {Object} characteristic - Characteristic.
* @param {object} characteristic - Characteristic.
* @returns {Promise} Promise.
* @private
*/
Expand All @@ -344,7 +344,7 @@ class BluetoothTerminal {
/**
* Stop notifications.
*
* @param {Object} characteristic - Characteristic.
* @param {object} characteristic - Characteristic.
* @returns {Promise} Promise.
* @private
*/
Expand All @@ -362,7 +362,7 @@ class BluetoothTerminal {
/**
* Handle disconnection.
*
* @param {Object} event - Event.
* @param {object} event - Event.
* @returns {undefined} Undefined.
* @private
*/
Expand All @@ -388,7 +388,7 @@ class BluetoothTerminal {
/**
* Handle characteristic value changed.
*
* @param {Object} event - Event.
* @param {object} event - Event.
* @private
*/
_handleCharacteristicValueChanged(event) {
Expand All @@ -411,7 +411,7 @@ class BluetoothTerminal {
/**
* Write to characteristic.
*
* @param {Object} characteristic - Characteristic.
* @param {object} characteristic - Characteristic.
* @param {string} data - Data.
* @returns {Promise} Promise.
* @private
Expand Down

0 comments on commit 8e8188d

Please sign in to comment.