@signalk/streams 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mdns-ws.js +2 -2
- package/nmea0183-signalk.js +3 -2
- package/package.json +1 -1
- package/signalk-streams-3.0.1.tgz +0 -0
package/mdns-ws.js
CHANGED
|
@@ -34,12 +34,12 @@ function MdnsWs(options) {
|
|
|
34
34
|
const createDebug = options.createDebug || require('debug')
|
|
35
35
|
this.debug = createDebug('signalk:streams:mdns-ws')
|
|
36
36
|
this.dataDebug = createDebug('signalk:streams:mdns-ws-data')
|
|
37
|
-
debug(`deltaStreamBehaviour:${deltaStreamBehaviour}`)
|
|
37
|
+
this.debug(`deltaStreamBehaviour:${deltaStreamBehaviour}`)
|
|
38
38
|
|
|
39
39
|
this.handleContext = () => {}
|
|
40
40
|
if (options.selfHandling === 'manualSelf') {
|
|
41
41
|
if (options.remoteSelf) {
|
|
42
|
-
debug(`Using manual remote self ${options.remoteSelf}`)
|
|
42
|
+
this.debug(`Using manual remote self ${options.remoteSelf}`)
|
|
43
43
|
this.handleContext = (delta) => {
|
|
44
44
|
if (delta.context === options.remoteSelf) {
|
|
45
45
|
delete delta.context
|
package/nmea0183-signalk.js
CHANGED
|
@@ -39,8 +39,9 @@ function Nmea0183ToSignalK(options) {
|
|
|
39
39
|
Transform.call(this, {
|
|
40
40
|
objectMode: true,
|
|
41
41
|
})
|
|
42
|
-
this.debug = (options.createDebug || require('debug'))(
|
|
43
|
-
|
|
42
|
+
this.debug = (options.createDebug || require('debug'))(
|
|
43
|
+
'signalk:streams:nmea0183-signalk'
|
|
44
|
+
)
|
|
44
45
|
|
|
45
46
|
this.parser = new Parser(options)
|
|
46
47
|
this.n2kParser = new FromPgn(options)
|
package/package.json
CHANGED
|
Binary file
|