@inglorious/engine 5.0.0 → 7.0.0

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/README.md CHANGED
@@ -102,9 +102,11 @@ Here is a complete example showing how to set up and run a game using the engine
102
102
 
103
103
  ## License
104
104
 
105
- MIT © [Matteo Antony Mistretta](https://github.com/IngloriousCoderz)
105
+ **MIT License - Free and open source**
106
106
 
107
- This is free and open-source software. Use it however you want!
107
+ Created by [Matteo Antony Mistretta](https://github.com/IngloriousCoderz)
108
+
109
+ You're free to use, modify, and distribute this software. See [LICENSE](./LICENSE) for details.
108
110
 
109
111
  ---
110
112
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inglorious/engine",
3
- "version": "5.0.0",
3
+ "version": "7.0.0",
4
4
  "description": "A JavaScript game engine written with global state, immutability, and pure functions in mind. Have fun(ctional programming) with it!",
5
5
  "author": "IceOnFire <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
6
6
  "license": "MIT",
@@ -30,12 +30,12 @@
30
30
  "access": "public"
31
31
  },
32
32
  "dependencies": {
33
- "@inglorious/store": "5.2.0",
34
- "@inglorious/utils": "3.6.1"
33
+ "@inglorious/store": "5.4.0",
34
+ "@inglorious/utils": "3.6.2"
35
35
  },
36
36
  "peerDependencies": {
37
- "@inglorious/store": "5.2.0",
38
- "@inglorious/utils": "3.6.1"
37
+ "@inglorious/utils": "3.6.2",
38
+ "@inglorious/store": "5.4.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "prettier": "^3.5.3",
@@ -68,7 +68,7 @@ export class Engine {
68
68
  )
69
69
  }
70
70
 
71
- this._store = createStore({ ...this._config, middlewares })
71
+ this._store = createStore({ ...this._config, middlewares, mode: "batched" })
72
72
  this._api = this._store.getApi()
73
73
  this._loop = new Loop[this._config.loop.type]()
74
74