@signalk/streams 2.2.0 → 2.2.1

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 CHANGED
@@ -66,7 +66,7 @@ function MdnsWs(options) {
66
66
  autoConnect: false,
67
67
  deltaStreamBehaviour,
68
68
  rejectUnauthorized: !(options.selfsignedcert === true),
69
- wsKeepaliveInterval: 10
69
+ wsKeepaliveInterval: 10,
70
70
  })
71
71
  this.connect(this.signalkClient)
72
72
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signalk/streams",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Utilities for handling streams of Signal K data",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/pigpio-seatalk.js CHANGED
@@ -29,7 +29,11 @@ import pigpio, time, signal, sys
29
29
  if sys.argv[1] == "undefined":
30
30
  gpio = 4 #Default GPIO4 if not set
31
31
  else:
32
- gpio = int(filter(str.isdigit, sys.argv[1])) #Ggpio, info as "GPIOnn", from GUI setup. Sensing the seatalk1 (yellow wire)
32
+ #Ggpio, info as "GPIOnn", from GUI setup. Sensing the seatalk1 (yellow wire)
33
+ try:
34
+ gpio = int(filter(str.isdigit, sys.argv[1])) #python2
35
+ except:
36
+ gpio = int("".join(filter(str.isdigit, sys.argv[1]))) #python3
33
37
 
34
38
  if __name__ == "__main__":
35
39
  st1read =pigpio.pi()