@knowlearning/agents 0.3.10 → 0.3.11

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/agents/generic.js CHANGED
@@ -320,12 +320,14 @@ export default function Agent({ host, token, WebSocket, protocol='ws', uuid, fet
320
320
 
321
321
  function disconnect() {
322
322
  log('DISCONNECTED AGENT!!!!!!!!!!!!!!!')
323
+ authed = false
323
324
  disconnected = true
324
325
  ws.close()
325
326
  }
326
327
 
327
328
  function reconnect() {
328
329
  log('RECONNECTED AGENT!!!!!!!!!!!!!!!')
330
+ disconnected = false
329
331
  initWS()
330
332
  }
331
333
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowlearning/agents",
3
- "version": "0.3.10",
3
+ "version": "0.3.11",
4
4
  "description": "API for embedding applications in KnowLearning systems.",
5
5
  "main": "node.js",
6
6
  "browser": "browser.js",