@cascateer/core 2.4.26 → 2.4.27

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/store.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cascateer/core",
3
- "version": "2.4.26",
3
+ "version": "2.4.27",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cascateer/core.git"
package/src/store.ts CHANGED
@@ -230,7 +230,7 @@ export class StoreProvider<Data> extends ExtendableStoreAdapter<
230
230
  return action.predicate();
231
231
  }
232
232
 
233
- assert(action.previousId !== previousAction?.id);
233
+ assert(action.previousId === previousAction?.id);
234
234
 
235
235
  return tap(action.predicate(previousState), (state) =>
236
236
  action.callback?.call(null, state),