@knowlearning/agents 0.2.3 → 0.2.4
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/agents/generic.js +1 -1
- package/package.json +1 -1
package/agents/generic.js
CHANGED
|
@@ -283,7 +283,7 @@ export default function Agent({ host, token, WebSocket, protocol='ws', uuid, fet
|
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
async function mutate(scope, initialize=true) {
|
|
286
|
-
const initial = initialize ? await
|
|
286
|
+
const initial = initialize ? await state(scope) || {} : {}
|
|
287
287
|
return new MutableProxy(initial, patch => interact(scope, patch))
|
|
288
288
|
}
|
|
289
289
|
|