@canboat/canboatjs 3.0.0-beta.9 → 3.0.0

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/bin/cansend +3 -1
  2. package/package.json +2 -2
package/bin/cansend CHANGED
@@ -36,9 +36,11 @@ const srcArg = argv.src
36
36
  const logOut = argv['log-output']
37
37
  const test = argv.test
38
38
 
39
+ let channel
40
+
39
41
  if ( !test ) {
40
42
  const socketcan = require('socketcan')
41
- const channel = socketcan.createRawChannel(canDevice);
43
+ channel = socketcan.createRawChannel(canDevice);
42
44
 
43
45
  channel.addListener('onStopped', (msg) => {
44
46
  console.error('socketcan stopped')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canboat/canboatjs",
3
- "version": "3.0.0-beta.9",
3
+ "version": "3.0.0",
4
4
  "description": "Native javascript version of canboat",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -54,7 +54,7 @@
54
54
  ],
55
55
  "license": "Apache-2.0",
56
56
  "dependencies": {
57
- "@canboat/pgns": "6.0.0-beta.3",
57
+ "@canboat/pgns": "6.0.x",
58
58
  "bit-buffer": "0.2.3",
59
59
  "debug": "^4.3.4",
60
60
  "dnssd": "^0.4.1",