@canboat/canboatjs 1.28.1 → 1.28.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.
Files changed (2) hide show
  1. package/lib/canbus.js +3 -0
  2. package/package.json +1 -1
package/lib/canbus.js CHANGED
@@ -94,6 +94,9 @@ function CanbusStream (options) {
94
94
  this.socketCanWriter = null
95
95
  var hasWriter = spawn('sh', ['-c', 'which socketcan-writer'])
96
96
 
97
+ const setProviderError = this.setProviderError.bind(this)
98
+ const setProviderStatus = this.setProviderStatus.bind(this)
99
+
97
100
  hasWriter.on('close', code => {
98
101
  if ( code == 0 ) {
99
102
  debug('found socketcan-writer, starting...')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canboat/canboatjs",
3
- "version": "1.28.1",
3
+ "version": "1.28.2",
4
4
  "description": "Native javascript version of canboat",
5
5
  "main": "index.js",
6
6
  "scripts": {