@knowlearning/agents 0.9.22 → 0.9.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowlearning/agents",
3
- "version": "0.9.22",
3
+ "version": "0.9.24",
4
4
  "description": "API for embedding applications in KnowLearning systems.",
5
5
  "main": "node.js",
6
6
  "browser": "browser.js",
@@ -3,7 +3,11 @@
3
3
  :v-if="resolvedId"
4
4
  :key="resolvedId"
5
5
  :ref="el => setup(el, resolvedId)"
6
- class="wrapper"
6
+ style="
7
+ width: 100%;
8
+ height: 100%;
9
+ border: none;
10
+ "
7
11
  allow="camera;microphone"
8
12
  />
9
13
  </template>
@@ -39,7 +43,7 @@ export default {
39
43
  startWatching() {
40
44
  if (this.stopWatching) this.stopWatching()
41
45
  if (this.path.length) {
42
- this.stopWatching = await Agent.watch([this.id, ...this.path], value => {
46
+ this.stopWatching = Agent.watch([this.id, ...this.path], value => {
43
47
  // TODO: ensure resolved value is uuid or URL
44
48
  this.resolvedId = value
45
49
  })
@@ -59,14 +63,3 @@ export default {
59
63
  }
60
64
 
61
65
  </script>
62
-
63
- <style scoped>
64
-
65
- .wrapper
66
- {
67
- width: 100%;
68
- height: 100%;
69
- border: none;
70
- }
71
-
72
- </style>