Comparing version 1.9.7 to 1.9.9
@@ -134,3 +134,3 @@ 'use strict'; | ||
debug('>>>>>>>>>>>send message to server: %j', message); | ||
if (this.state === AgentState.WORK && this.conn) { | ||
if (this.conn && typeof this.conn.sendMessage === 'function') { | ||
this.conn.sendMessage(message); | ||
@@ -137,0 +137,0 @@ } |
{ | ||
"name": "agentx", | ||
"version": "1.9.7", | ||
"version": "1.9.9", | ||
"description": "agentx is powered by alinode", | ||
@@ -5,0 +5,0 @@ "scripts": { |
47549