Skip to content

Commit

Permalink
Fix regression in generated code that broke notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongin committed Jul 31, 2017
1 parent 2d997b1 commit 0d97548
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "noble-uwp",
"version": "0.5.1",
"version": "0.5.2",
"description": "Noble (Node.js Bluetooth LE) with Windows 10 UWP bindings",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion uwp/windows.devices.bluetooth.advertisement/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "windows.devices.bluetooth.advertisement",
"version": "0.15063.0",
"version": "0.15063.1",
"description": "Use the Windows.Devices.Bluetooth.Advertisement UWP API directly from Node.js",
"main": "lib/main.js",
"scripts" : {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "windows.devices.bluetooth.genericattributeprofile",
"version": "0.15063.0",
"version": "0.15063.1",
"description": "Use the Windows.Devices.Bluetooth.GenericAttributeProfile UWP API directly from Node.js",
"main": "lib/main.js",
"scripts" : {
Expand Down
5 changes: 4 additions & 1 deletion uwp/windows.devices.bluetooth/_nodert_generated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6536,7 +6536,10 @@ NAN_MODULE_INIT(init)
Nan::ThrowError(Nan::Error(NodeRT::Utils::NewString(L"error in CoInitializeEx()")));
return;
}*/


// (jasongin) Hand-patched generated code due to Bluetooth bug in 15063
InitializeSecurity();

NodeRT::Windows::Devices::Bluetooth::InitBluetoothCacheModeEnum(target);
NodeRT::Windows::Devices::Bluetooth::InitBluetoothMajorClassEnum(target);
NodeRT::Windows::Devices::Bluetooth::InitBluetoothMinorClassEnum(target);
Expand Down
2 changes: 1 addition & 1 deletion uwp/windows.devices.bluetooth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "windows.devices.bluetooth",
"version": "0.15063.0",
"version": "0.15063.1",
"description": "Use the Windows.Devices.Bluetooth UWP API directly from Node.js",
"main": "lib/main.js",
"scripts" : {
Expand Down
2 changes: 1 addition & 1 deletion uwp/windows.devices.enumeration/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "windows.devices.enumeration",
"version": "0.15063.0",
"version": "0.15063.1",
"description": "Use the Windows.Devices.Enumeration UWP API directly from Node.js",
"main": "lib/main.js",
"scripts" : {
Expand Down
2 changes: 1 addition & 1 deletion uwp/windows.devices.radios/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "windows.devices.radios",
"version": "0.15063.0",
"version": "0.15063.1",
"description": "Use the Windows.Devices.Radios UWP API directly from Node.js",
"main": "lib/main.js",
"scripts" : {
Expand Down
2 changes: 1 addition & 1 deletion uwp/windows.foundation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "windows.foundation",
"version": "0.15063.0",
"version": "0.15063.1",
"description": "Use the Windows.Foundation UWP API directly from Node.js",
"main": "lib/main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion uwp/windows.storage.streams/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "windows.storage.streams",
"version": "0.15063.0",
"version": "0.15063.1",
"description": "Use the Windows.Storage.Streams UWP API directly from Node.js",
"main": "lib/main.js",
"scripts": {
Expand Down

0 comments on commit 0d97548

Please sign in to comment.