bluetooth-serial-port 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,8 +1,12 @@
1
1
  # Bluetooth serial port communication for Node.js
2
2
 
3
- > MacOS support has (temporarely) been dropped as of version v3.0.0 of the module. If you use the module on a Mac please stay on v2 of this module.
3
+ ## Consider a donation
4
4
 
5
- > _DEPRECATED_ Currently I have no plans to add support for nodejs version 1.13 and up. If you want to help out by adding support please contact me. It was a great experience maintaining this project for almost 8 years. It was great to see people step in to improve this project. Thank you all!
5
+ This piece of open source software is free (as in speech) to [use, modify and distribute](LICENSE.md), no strings attached. If this software saves you some cash and you want to do something for the good please consider making a donation to a [charity](https://www.doctorswithoutborders.org). Any charity will do. 🙏
6
+
7
+ > MacOS support has (temporarily) been dropped as of version v3.0.0 of the module. If you use the module on a Mac please stay on v2 of this module.
8
+
9
+ > _DEPRECATED_ Currently I have no plans to add support for NodeJS version 1.13 and up. If you want to help out by adding support please contact me. It was a great experience maintaining this project for almost 8 years. It was great to see people step in to improve this project. Thank you all!
6
10
 
7
11
  [![Build status](https://dl.circleci.com/status-badge/img/gh/eelcocramer/node-bluetooth-serial-port/tree/master.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/eelcocramer/node-bluetooth-serial-port/tree/master)
8
12
  [![Build status](https://ci.appveyor.com/api/projects/status/4p1r3ddoid98qc7k?svg=true)](https://ci.appveyor.com/project/eelcocramer/node-bluetooth-serial-port)
package/RELEASE_NOTES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## RELEASE NOTES
2
2
 
3
+ ### 3.0.1
4
+
5
+ * Fixes typescript definition for `listPairedDevices`.
6
+
3
7
  ### 3.0.0
4
8
 
5
9
  * Fixes building issues with recent version of NodeJS.
@@ -20,7 +20,7 @@ declare module BluetoothSerialPort {
20
20
  write(buffer: Buffer, cb: (err?: Error) => void): void;
21
21
  close(): void;
22
22
  isOpen(): boolean;
23
- listPairedDevices(): void;
23
+ listPairedDevices(cb: (devices: any) => void): void;
24
24
  }
25
25
  class BluetoothSerialPortServer {
26
26
  constructor();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bluetooth-serial-port",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "Bluetooth serial port communication for Node.js",
5
5
  "author": "Eelco Cramer <eelco@hailendal.org>",
6
6
  "keywords": [
@@ -27,7 +27,7 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "bindings": "1.5.x",
30
- "nan": "2.16.x",
30
+ "nan": "2.17.x",
31
31
  "stable": "^0.1.8"
32
32
  },
33
33
  "optionalDependencies": {