@caseywebb/growhaus-agent
Advanced tools
Comparing version 0.0.0-latest.20190729T221245Z.0ea20a0 to 0.0.0-latest.20190729T222908Z.7dc45d3
@@ -63,7 +63,5 @@ "use strict"; | ||
async wsMessage(message) { | ||
console.error('Received message:', JSON.stringify(message, null, 2)); | ||
const handlers = this.onMessageHandlers[message.event]; | ||
if (!handlers) { | ||
console.error('Received unknown message:', JSON.stringify(message, null, 2)); | ||
} | ||
else { | ||
if (handlers) { | ||
await Promise.all(handlers.map((h) => h(message))); | ||
@@ -70,0 +68,0 @@ } |
{ | ||
"name": "@caseywebb/growhaus-agent", | ||
"version": "0.0.0-latest.20190729T221245Z.0ea20a0", | ||
"version": "0.0.0-latest.20190729T222908Z.7dc45d3", | ||
"author": "Casey Webb (https://caseyWebb.xyz)", | ||
@@ -20,3 +20,3 @@ "bin": { | ||
"dependencies": { | ||
"@caseywebb/growhaus": "^0.0.0-0ea20a0a81b88aa7e9d1cfcdfd03a074442b09ec.20190729T221245Z.0ea20a0", | ||
"@caseywebb/growhaus": "^0.0.0-7dc45d380e495d3bce08ce2ea8c01110b961ecaa.20190729T222908Z.7dc45d3", | ||
"autobind-decorator": "^2.4.0", | ||
@@ -23,0 +23,0 @@ "dotenv": "^8.0.0", |
Sorry, the diff of this file is not supported yet
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
11361
272