node-red-node-physical-web: make it work with newer versions (#799)

* Added msg.advertising = true/false to enable/disable advertising

* Fixed comparison with bool

* physical- web: Added status
Added status (lost, updated, found) as msg.topic.  Added checkbox to allow duplicates or not.

* Re-added optional topic to avoid breaking compatibility

* Cleaner topic slection

* node-red-node-wol: added address field

* node-red-node-wol: remove warning

* node-red-node-wol: bump version

* node-red-node-wol: typo in version

* Ensure service is stopped before being created

* Bump version of node-red-node-discovery to 0.0.19

* node-red-node-discovery: correction to Readme

* node-red-node-discovery: Add stop method and show status

* node-red-node-discovery: bump version to 0.0.20

* node-red-node-discovery: remove status text

* serial: ensure serialReconnectTime has a default value

* physical-web: update dependencies to make it work with recent node versions

* physical-web: update package.json
This commit is contained in:
Nathanaël Lécaudé 2021-05-06 10:06:57 -04:00 committed by GitHub
parent c4cb92cd61
commit 263031d6c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
{
"name": "node-red-node-physical-web",
"version": "0.0.15",
"version": "0.0.16",
"description": "Node-RED nodes to interact with the Physical Web",
"main": "physical-web.js",
"scripts": {
@ -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"
}
}

View File

@ -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) {