@domql/state
Advanced tools
Comparing version 2.3.129 to 2.3.130
@@ -96,3 +96,3 @@ "use strict"; | ||
const rootState = state.__element.__ref.__root.state; | ||
return rootState.update(obj, options); | ||
return rootState.update(obj, { isHoisted: false, options }); | ||
}; | ||
@@ -99,0 +99,0 @@ const add = function(value, options = {}) { |
@@ -33,4 +33,5 @@ "use strict"; | ||
updateByState: true, | ||
execStateFunction: false, | ||
stateFunctionOverwrite: "replace" | ||
execStateFunction: true, | ||
isHoisted: true, | ||
stateFunctionOverwrite: true | ||
}; | ||
@@ -37,0 +38,0 @@ const updateState = function(obj, options = STATE_UPDATE_OPTIONS) { |
@@ -75,3 +75,3 @@ 'use strict' | ||
const rootState = (state.__element.__ref.__root).state | ||
return rootState.update(obj, options) | ||
return rootState.update(obj, { isHoisted: false, options }) | ||
} | ||
@@ -78,0 +78,0 @@ |
{ | ||
"name": "@domql/state", | ||
"version": "2.3.129", | ||
"version": "2.3.130", | ||
"license": "MIT", | ||
@@ -29,3 +29,3 @@ "type": "module", | ||
}, | ||
"gitHead": "0e8a2af0c841d2a7f189fdf9968983d2a8566432" | ||
"gitHead": "6160195e1279dda74af7a092e863e4bbf397e81e" | ||
} |
@@ -13,4 +13,5 @@ 'use strict' | ||
updateByState: true, | ||
execStateFunction: false, | ||
stateFunctionOverwrite: 'replace' | ||
execStateFunction: true, | ||
isHoisted: true, | ||
stateFunctionOverwrite: true | ||
} | ||
@@ -17,0 +18,0 @@ |
34160
908