@canboat/canboatjs 2.12.0 → 2.12.2

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/lib/n2kDevice.js CHANGED
@@ -358,7 +358,7 @@ function sendNAKAcknowledgement(device, src, requestedPGN) {
358
358
  "Group Function": 255,
359
359
  PGN: requestedPGN
360
360
  }
361
- device.sendPGN(device, acknowledgement)
361
+ device.sendPGN(acknowledgement)
362
362
  }
363
363
 
364
364
  function sendPGNList(device, src) {
package/lib/ydgw02.js CHANGED
@@ -131,7 +131,7 @@ Ydgw02Stream.prototype.sendYdgwPGN = function (msg) {
131
131
  msgs = actisenseToYdgwRawFormat(msg)
132
132
  }
133
133
 
134
- msg.forEach(raw => {
134
+ msgs.forEach(raw => {
135
135
  this.sendString(raw + '\r\n')
136
136
  })
137
137
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canboat/canboatjs",
3
- "version": "2.12.0",
3
+ "version": "2.12.2",
4
4
  "description": "Native javascript version of canboat",
5
5
  "main": "index.js",
6
6
  "scripts": {