blue-owl-core
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -157,3 +157,5 @@ "use strict"; | ||
requestConfig() { | ||
this.mqtt?.publish('owlcms/config', ''); | ||
// Raspberry Pi OS 12 throws EFAULT if trying to publish an empty string | ||
// for the message, so we must send a space | ||
this.mqtt?.publish('owlcms/config', ' '); | ||
} | ||
@@ -160,0 +162,0 @@ resumeCompetition({ platform, }) { |
{ | ||
"name": "blue-owl-core", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Technical Official device integration for owlcms", | ||
@@ -36,10 +36,10 @@ "keywords": [ | ||
"dependencies": { | ||
"debug": "^4.3.4", | ||
"debug": "^4.3.7", | ||
"johnny-five": "scottgonzalez/johnny-five#f548f9aed5b1992cb8f847e95b5a4583f952fc73", | ||
"mqtt": "^4.3.7" | ||
"mqtt": "^5.10.2" | ||
}, | ||
"devDependencies": { | ||
"@tsconfig/node16-strictest": "^1.0.4", | ||
"@types/debug": "^4.1.7", | ||
"@types/johnny-five": "^2.1.9", | ||
"@types/debug": "^4.1.12", | ||
"@types/johnny-five": "^2.1.11", | ||
"@types/node": "^16.11.66", | ||
@@ -46,0 +46,0 @@ "@typescript-eslint/eslint-plugin": "^5.43.0", |
@@ -6,2 +6,3 @@ import type { | ||
IClientOptions, | ||
MqttClient, | ||
} from 'mqtt'; | ||
@@ -126,3 +127,3 @@ import type { | ||
private mqtt?: mqtt.Client; | ||
private mqtt?: MqttClient; | ||
@@ -333,3 +334,5 @@ private options: OwlcmsOptions; | ||
public requestConfig() { | ||
this.mqtt?.publish('owlcms/config', ''); | ||
// Raspberry Pi OS 12 throws EFAULT if trying to publish an empty string | ||
// for the message, so we must send a space | ||
this.mqtt?.publish('owlcms/config', ' '); | ||
} | ||
@@ -336,0 +339,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
201825
5605
+ Added@babel/runtime@7.26.0(transitive)
+ Added@types/node@22.10.5(transitive)
+ Added@types/readable-stream@4.0.18(transitive)
+ Added@types/ws@8.5.13(transitive)
+ Addedabort-controller@3.0.0(transitive)
+ Addedbl@6.0.18(transitive)
+ Addedbuffer@6.0.3(transitive)
+ Addedcommist@3.2.0(transitive)
+ Addedevent-target-shim@5.0.1(transitive)
+ Addedevents@3.3.0(transitive)
+ Addedfast-unique-numbers@8.0.13(transitive)
+ Addedhelp-me@5.0.0(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedmqtt@5.10.3(transitive)
+ Addedmqtt-packet@9.0.1(transitive)
+ Addedprocess@0.11.10(transitive)
+ Addedreadable-stream@4.6.0(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsplit2@4.2.0(transitive)
+ Addedtslib@2.8.1(transitive)
+ Addedundici-types@6.20.0(transitive)
+ Addedworker-timers@7.1.8(transitive)
+ Addedworker-timers-broker@6.1.8(transitive)
+ Addedworker-timers-worker@7.0.71(transitive)
+ Addedws@8.18.0(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbl@4.1.0(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbuffer@5.7.1(transitive)
- Removedcommist@1.1.0(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedduplexify@4.1.3(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedhelp-me@3.0.0(transitive)
- Removedinflight@1.0.6(transitive)
- Removedleven@2.1.0(transitive)
- Removedlru-cache@6.0.0(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedmqtt@4.3.8(transitive)
- Removedmqtt-packet@6.10.0(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpump@3.0.2(transitive)
- Removedsplit2@3.2.2(transitive)
- Removedstream-shift@1.0.3(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedws@7.5.10(transitive)
- Removedxtend@4.0.2(transitive)
- Removedyallist@4.0.0(transitive)
Updateddebug@^4.3.7
Updatedmqtt@^5.10.2