diff --git a/hardware/physical-web/package.json b/hardware/physical-web/package.json index 83062f6d..a3623295 100644 --- a/hardware/physical-web/package.json +++ b/hardware/physical-web/package.json @@ -14,7 +14,7 @@ "ble" ], "node-red": { - "nodes" : { + "nodes": { "physical-web": "physical-web.js" } }, @@ -29,7 +29,7 @@ }, "license": "APACHE-2.0", "dependencies": { - "eddystone-beacon": "~1.0.4", - "eddystone-beacon-scanner": "~3.0.0" + "eddystone-beacon": "natcl/node-eddystone-beacon", + "@abandonware/eddystone-beacon-scanner": "3.0.1-2" } } diff --git a/hardware/physical-web/physical-web.js b/hardware/physical-web/physical-web.js index 3631b598..0fa6043f 100644 --- a/hardware/physical-web/physical-web.js +++ b/hardware/physical-web/physical-web.js @@ -2,7 +2,7 @@ module.exports = function(RED) { "use strict"; var eddystoneBeacon = require('eddystone-beacon'); - var EddystoneBeaconScanner = require('eddystone-beacon-scanner'); + var EddystoneBeaconScanner = require('@abandonware/eddystone-beacon-scanner'); var eddyBeacon = false; var checkLength = function(text) {