@knowlearning/agents 0.9.117 → 0.9.119

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.
Files changed (2) hide show
  1. package/deno.js +1 -1
  2. package/package.json +1 -1
package/deno.js CHANGED
@@ -34,7 +34,7 @@ function getAgent(domain, forceNew) {
34
34
  token: () => AGENT_TOKEN,
35
35
  uuid: () => crypto.randomUUID(),
36
36
  async log() {
37
- await new Promise(r => r()) // so we can access our own agent instance
37
+ await new Promise(r => setTimeout(r)) // so we can access our own agent instance
38
38
 
39
39
  const { session } = await agent.environment()
40
40
  let value
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowlearning/agents",
3
- "version": "0.9.117",
3
+ "version": "0.9.119",
4
4
  "description": "API for embedding applications in KnowLearning systems.",
5
5
  "main": "node.js",
6
6
  "browser": "browser.js",