Skip to content

Commit

Permalink
Merge pull request #160 from eelcocramer/next-release
Browse files Browse the repository at this point in the history
Releases 2.1.4
  • Loading branch information
eelcocramer committed Jul 13, 2017
2 parents 534b447 + 635c4db commit ee1a138
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ If you have any problems make sure to [checkout the FAQ](https://github.com/eelc

## New in this release

* Removes erroneous print statement
* Adds `on` to the TypeScript declaration file

## New in 2.1.3

* Implements `listPairedDevices` on Windows
* Fixes a memory leak that occurs when trying to reconnect to a device repeatedly
* Adds support for TypeScript
Expand Down
5 changes: 5 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## RELEASE NOTES

### 2.1.4

* Removes erroneous print statement
* Adds `on` to the TypeScript declaration file

### 2.1.3

* Implements `listPairedDevices` on Windows
Expand Down
3 changes: 2 additions & 1 deletion lib/bluetooth-serial-port.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ declare module BluetoothSerialPort {
successCallback: (clientAddress: string) => void,
errorCallback?: (err: any) => void,
options?: {uuid?: string; channel: number;}): void;
on(event: string, callback: (arg1:any, arg2:any) => void): void;
write(buffer: Buffer, callback: (err?: Error) => void): void;
close(): void;
isOpen(): boolean;
}
}

export = BluetoothSerialPort;
export = BluetoothSerialPort;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bluetooth-serial-port",
"version": "2.1.3",
"version": "2.1.4",
"description": "Bluetooth serial port communication for Node.js",
"author": "Eelco Cramer <eelco@hailendal.org>",
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion src/windows/DeviceINQ.cc
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,6 @@ NAN_METHOD(DeviceINQ::ListPairedDevices) {

Local<Array> servicesArray = Local<Array>(Nan::New<Array>());
{
printf("enum service\n");
DWORD querySetSize2 = sizeof(WSAQUERYSET);
WSAQUERYSET *querySet2 = (WSAQUERYSET *)malloc(querySetSize2);
if (querySet2 == nullptr) {
Expand Down

0 comments on commit ee1a138

Please sign in to comment.