@knowlearning/agents 0.4.2 → 0.4.3

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
@@ -353,7 +353,7 @@ export default function Agent({ host, token, WebSocket, protocol='ws', uuid, fet
353
353
  function reconnect() {
354
354
  log('RECONNECTED AGENT!!!!!!!!!!!!!!!')
355
355
  disconnected = false
356
- initWS()
356
+ restartConnection()
357
357
  }
358
358
 
359
359
  function debug() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowlearning/agents",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "API for embedding applications in KnowLearning systems.",
5
5
  "main": "node.js",
6
6
  "browser": "browser.js",