@knowlearning/agents 0.4.12 → 0.4.13

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.
@@ -26,9 +26,9 @@ export default () => {
26
26
  reboot: () => window.location.reload()
27
27
  })
28
28
 
29
- const { state, mutate } = agent
29
+ const { state } = agent
30
+ // TODO: remove agent.state proxy here as part of "get rid of default scope" work
30
31
  agent.state = (scope=host,user,domain) => state(scope, user, domain)
31
- agent.mutate = (scope=host) => mutate(scope)
32
32
  agent.local = () => {
33
33
  if (isLocal()) return
34
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowlearning/agents",
3
- "version": "0.4.12",
3
+ "version": "0.4.13",
4
4
  "description": "API for embedding applications in KnowLearning systems.",
5
5
  "main": "node.js",
6
6
  "browser": "browser.js",