@knowlearning/agents 0.9.91 → 0.9.92

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 -0
  2. package/package.json +1 -1
package/deno.js CHANGED
@@ -34,6 +34,7 @@ const agent = new Agent({
34
34
  // concept probably has a place in the generic agent
35
35
  if (type === 'open') {
36
36
  const child = {
37
+ environment: data,
37
38
  on: (eventType, reaction) => {
38
39
  if (!listeners[session]) throw new Error('Error attaching listener, child is closed')
39
40
  if (!listeners[session][eventType]) throw new Error('Only "mutate" and "close" events can be listened to with Agent.on')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowlearning/agents",
3
- "version": "0.9.91",
3
+ "version": "0.9.92",
4
4
  "description": "API for embedding applications in KnowLearning systems.",
5
5
  "main": "node.js",
6
6
  "browser": "browser.js",