@kayelaa/canvas 0.1.2 → 0.1.3

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/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -19,8 +19,7 @@ Made by **Kayelaa Cagara** (@LianeKayee39 on X / GitHub) in Calamba, Philippines
19
19
 
20
20
  ```ts
21
21
  // main.ts
22
- import { Kayla } from '@kayelaa/canvas';
23
- const {
22
+ import {
24
23
  createGame,
25
24
  createScene,
26
25
  createRenderer,
@@ -33,7 +32,8 @@ const {
33
32
  Vector2
34
33
  useEffect,
35
34
  useRef,
36
- } = Kayla;
35
+ Kayla
36
+ } = from "@kayelaa/canvas/kayla";
37
37
 
38
38
  // Define typed props (optional but recommended)
39
39
  interface PlayerProps extends FCProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kayelaa/canvas",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Declarative entity composition hooks + canvas utilities for LEA-based 2D games",
5
5
  "license": "MIT",
6
6
  "author": "Kayelaa Cagara",