@logux/vuex
Advanced tools
Comparing version 0.8.1 to 0.8.2
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 0.8.2 | ||
* Fix broken state after second logux/undo | ||
* Update dependencies | ||
* Logux Client to 0.9.2 | ||
* Vue to 2.6.12 | ||
## 0.8.1 | ||
* Update dependencies | ||
## 0.8.0 | ||
@@ -5,0 +14,0 @@ * Add logux `commit` to vuex `action` context ([#31](https://github.com/logux/vuex/issues/31)) |
@@ -187,3 +187,4 @@ import { createNanoEvents } from 'nanoevents' | ||
replayed = true | ||
replaceState(stateHistory[meta.id], actions) | ||
let stateFromHistory = deepCopy(stateHistory[meta.id]) | ||
replaceState(stateFromHistory, actions) | ||
return false | ||
@@ -201,4 +202,5 @@ } | ||
replayed = true | ||
let stateFromHistory = deepCopy(stateHistory[id]) | ||
replaceState( | ||
stateHistory[id], | ||
stateFromHistory, | ||
actions.slice(0, i).concat([[newAction, actionId]]), | ||
@@ -205,0 +207,0 @@ id |
{ | ||
"name": "@logux/vuex", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "Vuex compatible API for Logux", | ||
@@ -20,7 +20,7 @@ "keywords": [ | ||
"peerDependencies": { | ||
"vue": ">=2.6.11", | ||
"vue": ">=2.6.12", | ||
"vuex": ">=3.0.0" | ||
}, | ||
"dependencies": { | ||
"@logux/client": "^0.9.1", | ||
"@logux/client": "^0.9.2", | ||
"@logux/core": "^0.6.1", | ||
@@ -27,0 +27,0 @@ "nanoevents": "^5.1.8" |
Sorry, the diff of this file is not supported yet
61313
1714
Updated@logux/client@^0.9.2