@knowlearning/agents 0.9.155 → 0.9.156

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.
@@ -166,7 +166,7 @@ export default function EmbeddedAgent() {
166
166
  const res = await download(id)
167
167
  const { name } = await metadata(id)
168
168
  const type = res.headers.get('Content-Type')
169
- const blob = new Blob([ await res.blob() ], { type })
169
+ const blob = new Blob([ await res.blob() ], { type })
170
170
  const url = window.URL.createObjectURL(blob)
171
171
  const a = document.createElement('a')
172
172
  a.style.display = 'none'
@@ -28,7 +28,7 @@ export default function download (id, { create, lastMessageResponse, fetch, meta
28
28
  const res = await download(id, { create, lastMessageResponse, fetch, metadata })
29
29
  const { name } = await metadata(id)
30
30
  const type = res.headers.get('Content-Type')
31
- const blob = new Blob([ await res.blob() ], { type })
31
+ const blob = new Blob([ await res.blob() ], { type })
32
32
  const url = window.URL.createObjectURL(blob)
33
33
  const a = document.createElement('a')
34
34
  a.style.display = 'none'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowlearning/agents",
3
- "version": "0.9.155",
3
+ "version": "0.9.156",
4
4
  "description": "API for embedding applications in KnowLearning systems.",
5
5
  "main": "node.js",
6
6
  "browser": "browser.js",
@@ -30,7 +30,7 @@ export default {
30
30
  required: false
31
31
  },
32
32
  namespace: {
33
- type: String,
33
+ type: [Object, String],
34
34
  required: false
35
35
  },
36
36
  environmentProxy: {