litecanvas 0.69.1 → 0.69.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.
package/README.md CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  # Litecanvas
4
4
 
5
- [![Discord Server](https://img.shields.io/badge/Discord-7289DA?style=for-the-badge&logo=discord&logoColor=white)](https://discord.com/invite/r2c3rGsvH3)
5
+ ![](https://badgen.net/bundlephobia/min/litecanvas)
6
+ ![](https://badgen.net/bundlephobia/minzip/litecanvas)
7
+
8
+ [![Discord Server](https://badgen.net/static/CHAT/ON%20DISCORD/5865f2)](https://discord.com/invite/r2c3rGsvH3)
9
+ [![Discord Server](https://badgen.net/static/FOLLOW/ON%20ITCH.IO/fa5c5c)](https://bills.itch.io/litecanvas)
6
10
 
7
11
  Litecanvas is a lightweight HTML5 canvas engine suitable for small web games, prototypes, game jams, animations, creative coding, learning game programming and game design, etc.
8
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "litecanvas",
3
- "version": "0.69.1",
3
+ "version": "0.69.2",
4
4
  "description": "Lightweight HTML5 canvas engine suitable for small games and animations.",
5
5
  "license": "MIT",
6
6
  "author": "Luiz Bills <luizbills@pm.me>",
package/src/types.js CHANGED
@@ -37,7 +37,6 @@
37
37
 
38
38
  /**
39
39
  * @callback drawCallback
40
- * @param {OffscreenCanvas} offcanvas
41
40
  * @param {CanvasRenderingContext2D} context
42
41
  * @returns {void}
43
42
  */
package/types/types.d.ts CHANGED
@@ -696,10 +696,7 @@ type LitecanvasGameLoop = {
696
696
  tapping?: (tapX: number, tapY: number, tapId: number) => void
697
697
  }
698
698
 
699
- type drawCallback = (
700
- offcanvas: OffscreenCanvas,
701
- context: CanvasRenderingContext2D
702
- ) => void
699
+ type drawCallback = (context: CanvasRenderingContext2D) => void
703
700
 
704
701
  type LitecanvasPluginHelpers = {
705
702
  /**