@jsenv/navi 0.18.21 → 0.18.22
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/dist/jsenv_navi.js +4 -1
- package/dist/jsenv_navi.js.map +3 -3
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -1596,6 +1596,9 @@ const createAction = (callback, rootOptions = {}) => {
|
|
|
1596
1596
|
writable: true,
|
|
1597
1597
|
value: name,
|
|
1598
1598
|
});
|
|
1599
|
+
// Register the action function itself so that createAction(action) returns
|
|
1600
|
+
// the same action instead of creating a new one
|
|
1601
|
+
actionWeakMap.set(action, action);
|
|
1599
1602
|
}
|
|
1600
1603
|
|
|
1601
1604
|
const callSource = generateActionCallSource(name, params);
|
|
@@ -1914,7 +1917,7 @@ const createAction = (callback, rootOptions = {}) => {
|
|
|
1914
1917
|
valueSignal.value = valueInitial;
|
|
1915
1918
|
}
|
|
1916
1919
|
if (outputSignal) {
|
|
1917
|
-
outputSignal.value =
|
|
1920
|
+
outputSignal.value = undefined;
|
|
1918
1921
|
}
|
|
1919
1922
|
isPrerunSignal.value = true;
|
|
1920
1923
|
runningStateSignal.value = IDLE;
|