@knowlearning/agents 0.9.173 → 0.9.175

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.
@@ -211,6 +211,7 @@ function embed(environment, iframe) {
211
211
 
212
212
  function on(event, fn) {
213
213
  listeners[event] = fn
214
+ return this
214
215
  }
215
216
 
216
217
  function auth(token, state) {
package/browser.d.ts CHANGED
@@ -15,6 +15,7 @@ export interface AgentEnvironment {
15
15
  server: string;
16
16
  session: string;
17
17
  context: string[];
18
+ variables: object;
18
19
  }
19
20
 
20
21
  export interface AgentUploadInfo {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowlearning/agents",
3
- "version": "0.9.173",
3
+ "version": "0.9.175",
4
4
  "description": "API for embedding applications in KnowLearning systems.",
5
5
  "main": "node.js",
6
6
  "browser": "browser.js",