@knowlearning/agents 0.9.115 → 0.9.116
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/deno.js +1 -1
- package/package.json +1 -1
package/deno.js
CHANGED
|
@@ -29,7 +29,7 @@ function getAgent(domain, forceNew) {
|
|
|
29
29
|
if (agents[domain] && !forceNew) return agents[domain]
|
|
30
30
|
|
|
31
31
|
agents[domain] = new Agent({
|
|
32
|
-
Connection: Connection(domain), // TODO: probably don't want to need to pass domain here, as first message from generic agent should pass it
|
|
32
|
+
Connection: new Connection(domain), // TODO: probably don't want to need to pass domain here, as first message from generic agent should pass it
|
|
33
33
|
domain,
|
|
34
34
|
token: () => AGENT_TOKEN,
|
|
35
35
|
uuid: () => crypto.randomUUID(),
|