@knowlearning/agents 0.0.7 → 0.0.8
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 +1 -1
- package/persistence/vuex.js +1 -2
package/package.json
CHANGED
package/persistence/vuex.js
CHANGED
|
@@ -7,8 +7,7 @@ const copy = x => JSON.parse(JSON.stringify(x))
|
|
|
7
7
|
|
|
8
8
|
export default async function (storeDefinition) {
|
|
9
9
|
// Set up persistance
|
|
10
|
-
const scope =
|
|
11
|
-
// TODO: assess the function of this from the old implementation
|
|
10
|
+
const { scope } = await Agent.environment()
|
|
12
11
|
const savedState = await Agent.state(scope)
|
|
13
12
|
|
|
14
13
|
const scopedPaths = getScopedPaths(storeDefinition)
|