@knowlearning/agents 0.9.105 → 0.9.106

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.
@@ -72,6 +72,7 @@ export default function messageQueue({ token, domain, Connection, watchers, stat
72
72
  try {
73
73
  connection.send(messageQueue[lastSentSI + 1])
74
74
  lastSentSI += 1
75
+ console.log('SENDING MESSAGE!!!!!!!!!!', lastSentSI, messageQueue[lastSentSI])
75
76
  // async so we don't try and push more to a closed connection
76
77
  await new Promise(r=>r())
77
78
  }
@@ -166,6 +167,7 @@ export default function messageQueue({ token, domain, Connection, watchers, stat
166
167
  }
167
168
  }
168
169
  else if (message.si !== undefined) {
170
+ console.log('GOT RESPONSE', message.si, message)
169
171
  if (responses[message.si]) {
170
172
  // TODO: remove "acknowledged" messages from queue and do accounting with si
171
173
  responses[message.si]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowlearning/agents",
3
- "version": "0.9.105",
3
+ "version": "0.9.106",
4
4
  "description": "API for embedding applications in KnowLearning systems.",
5
5
  "main": "node.js",
6
6
  "browser": "browser.js",