@signalk/streams 5.0.2 → 5.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/canboatjs.js CHANGED
@@ -23,7 +23,9 @@ function CanboatJs(options) {
23
23
  objectMode: true
24
24
  })
25
25
 
26
- options.useCamelCompat = true
26
+ if (options.useCamelCompat === undefined) {
27
+ options.useCamelCompat = true
28
+ }
27
29
  this.fromPgn = new FromPgn(options)
28
30
  const createDebug = options.createDebug || require('debug')
29
31
  const debug = createDebug('signalk:streams:canboatjs')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalk/streams",
3
- "version": "5.0.2",
3
+ "version": "5.0.4",
4
4
  "description": "Utilities for handling streams of Signal K data",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "homepage": "https://github.com/SignalK/signalk-server-node#readme",
24
24
  "dependencies": {
25
- "@canboat/canboatjs": "^3.0.0",
25
+ "@canboat/canboatjs": "^3.3.0",
26
26
  "@signalk/client": "^2.3.0",
27
- "@signalk/n2k-signalk": ">=4.1.0-beta",
27
+ "@signalk/n2k-signalk": "^4.1.0",
28
28
  "@signalk/nmea0183-signalk": "^3.0.0",
29
29
  "@signalk/nmea0183-utilities": "^0.8.0",
30
30
  "@signalk/signalk-schema": "^1.5.0",
package/simple.js CHANGED
@@ -207,7 +207,7 @@ const dataTypeMapping = {
207
207
  NMEA2000YD: (options) => {
208
208
  const result = [
209
209
  new Ydwg02(
210
- { ...options.subOptions, useCamelCompat: true },
210
+ { ...options.subOptions },
211
211
  options.subOptions.type === 'ydwg02-usb-canboatjs' ? 'usb' : 'network'
212
212
  )
213
213
  ]