@knowlearning/agents 0.9.108 → 0.9.109

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.
@@ -122,17 +122,17 @@ export default function Agent({ Connection, domain, token, uuid, fetch, applyPat
122
122
  if (manageLocalState && states[qualifiedScope] !== undefined) {
123
123
  lastInteractionResponse[qualifiedScope] = new Promise(resolve => {
124
124
  const resolveAndUnwatch = async update => {
125
- log('AWAITING INTERACTION RESPONSE', qualifiedScope, update)
125
+ console.log('AWAITING INTERACTION RESPONSE', qualifiedScope, update)
126
126
  const { ii } = await response
127
- log('GOT INTERACTION RESPONSE', qualifiedScope, await response)
127
+ console.log('GOT INTERACTION RESPONSE', qualifiedScope, await response)
128
128
  if (update.ii === ii) {
129
129
  resolve(ii)
130
130
  removeWatcher(qualifiedScope, resolveAndUnwatch)
131
131
  }
132
132
  }
133
133
  watchers[qualifiedScope].push(resolveAndUnwatch)
134
- log('SETTING LAST INTERACTION RESPONSE PROMISE', qualifiedScope)
135
- response.then(r => log('GOT INTERACTION RESPONSE FOR', qualifiedScope, r))
134
+ console.log('SETTING LAST INTERACTION RESPONSE PROMISE', qualifiedScope)
135
+ response.then(r => console.log('GOT INTERACTION RESPONSE FOR', qualifiedScope, r))
136
136
  })
137
137
  return response
138
138
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowlearning/agents",
3
- "version": "0.9.108",
3
+ "version": "0.9.109",
4
4
  "description": "API for embedding applications in KnowLearning systems.",
5
5
  "main": "node.js",
6
6
  "browser": "browser.js",