@knowlearning/agents 0.9.4 → 0.9.6

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.
@@ -40,7 +40,7 @@ export default function EmbeddedAgent() {
40
40
  addEventListener('message', async ({ data }) => {
41
41
  if (data.type === 'auth') {
42
42
  // TODO: switch to access_token
43
- if (localStorage.getItem('debug')) debugger
43
+ debugger
44
44
  console.log('localStorage "state", data.state, token, location --->>>', localStorage.getItem('state'), data.state, data.token, window.location)
45
45
  if (localStorage.getItem('state') === data.state) {
46
46
  localStorage.setItem('token', data.token)
package/agents/generic.js CHANGED
@@ -433,7 +433,6 @@ export default function Agent({ host, token, WebSocket, protocol='ws', uuid, fet
433
433
  }
434
434
 
435
435
  function tag(tag_type, target, context=[]) {
436
- console.log('TAGGING', tag_type, target, context)
437
436
  return create({
438
437
  active_type: TAG_TYPE,
439
438
  active: { tag_type, target, context }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowlearning/agents",
3
- "version": "0.9.4",
3
+ "version": "0.9.6",
4
4
  "description": "API for embedding applications in KnowLearning systems.",
5
5
  "main": "node.js",
6
6
  "browser": "browser.js",