@inglorious/store 9.5.1 → 9.5.2

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.js +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inglorious/store",
3
- "version": "9.5.1",
3
+ "version": "9.5.2",
4
4
  "description": "A state manager for real-time, collaborative apps, inspired by game development patterns and compatible with Redux.",
5
5
  "author": "IceOnFire <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
6
6
  "license": "MIT",
package/src/store.js CHANGED
@@ -50,6 +50,11 @@ export function createStore({
50
50
  : baseStore
51
51
  const api = createApi(store, store.extras)
52
52
  store._api = api
53
+
54
+ if (updateMode === "auto" && incomingEvents.length) {
55
+ update()
56
+ }
57
+
53
58
  return store
54
59
 
55
60
  /**