@knowlearning/agents 0.5.10 → 0.5.11
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 -3
package/package.json
CHANGED
package/persistence/vuex.js
CHANGED
|
@@ -9,9 +9,7 @@ async function scopeIsUninitialized(scope) {
|
|
|
9
9
|
return ii === 0
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export default async function (storeDefinition) {
|
|
13
|
-
// Set up persistance
|
|
14
|
-
const { scope } = await Agent.environment()
|
|
12
|
+
export default async function (storeDefinition, scope=window.location.host) {
|
|
15
13
|
let state = copy(await Agent.state(scope))
|
|
16
14
|
|
|
17
15
|
const scopedPaths = getScopedPaths(storeDefinition)
|