From a36dce0015aac32ef515eb0185efa5463ec785c9 Mon Sep 17 00:00:00 2001 From: Dominique Date: Tue, 15 May 2018 02:43:06 +0200 Subject: [PATCH 1/3] feat(binding): rename binding --- binding.gyp | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/binding.gyp b/binding.gyp index 241f117..342b273 100644 --- a/binding.gyp +++ b/binding.gyp @@ -1,7 +1,7 @@ { 'targets': [ { - 'target_name': 'binding', + 'target_name': 'bluetooth_hci_socket', 'conditions': [ ['OS=="linux" or OS=="android" or OS=="freebsd"', { 'sources': [ diff --git a/package.json b/package.json index 43ee21f..b77b078 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "test": "jshint lib/*.js" }, "binary": { - "module_name": "binding", + "module_name": "bluetooth_hci_socket", "module_path": "./lib/binding/", "host": "https://github.com/sandeepmistry/node-bluetooth-hci-socket/releases/download/", "package_name": "{module_name}-{version}-{node_abi}-{platform}-{arch}.tar.gz", From fdda59737d1ac0ca5a9654f8ed3d4e989d200c94 Mon Sep 17 00:00:00 2001 From: Dominique Date: Tue, 15 May 2018 02:50:30 +0200 Subject: [PATCH 2/3] fix(path): package path was faulty --- lib/native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/native.js b/lib/native.js index 68c4e79..051c847 100644 --- a/lib/native.js +++ b/lib/native.js @@ -2,7 +2,7 @@ var events = require('events'); var binary = require('node-pre-gyp'); var path = require('path'); -var binding_path = binary.find(path.resolve(path.join(__dirname,'./package.json'))); +var binding_path = binary.find(path.resolve(path.join(__dirname,'../package.json'))); var binding = require(binding_path); var BluetoothHciSocket = binding.BluetoothHciSocket; From a469dc324f61284b53c951956cdb1e9702333195 Mon Sep 17 00:00:00 2001 From: Dominique Date: Tue, 15 May 2018 03:07:27 +0200 Subject: [PATCH 3/3] release(0.5.4) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b77b078..86dd06f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bluetooth-hci-socket", - "version": "0.5.2", + "version": "0.5.4", "description": "Bluetooth HCI socket binding for Node.js", "main": "index.js", "repository": {