@awesome-ecs/abstract 0.14.1 → 0.15.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.
@@ -20,7 +20,7 @@ export interface IEntityModel<TFeatures extends BooleanProps<TFeatures> = unknow
20
20
  * apart from quick-access functionality.
21
21
  */
22
22
  export interface IEntity {
23
- readonly components: ReadonlyMap<ComponentTypeUid, IComponent>;
23
+ readonly components: Map<ComponentTypeUid, IComponent>;
24
24
  readonly proxies: Map<EntityTypeUid, Map<EntityUid, IEntityProxy>>;
25
25
  /**
26
26
  * The IdentityComponent represents mandatory state any Entity needs to have.
@@ -2,11 +2,11 @@
2
2
  * An ILogger instance allows printing messages to console or other targets.
3
3
  */
4
4
  export interface ILogger {
5
- log(level: LogLevel, message: string, ...args: any[]): void;
6
- trace(message: string, ...args: any[]): void;
7
- debug(message: string, ...args: any[]): void;
8
- warn(message: string, ...args: any[]): void;
9
- error(message: string, ...args: any[]): void;
5
+ log(level: LogLevel, message: any, ...args: any[]): void;
6
+ trace(message: any, ...args: any[]): void;
7
+ debug(message: any, ...args: any[]): void;
8
+ warn(message: any, ...args: any[]): void;
9
+ error(message: any, ...args: any[]): void;
10
10
  }
11
11
  export declare enum LogLevel {
12
12
  trace = 0,
package/package.json CHANGED
@@ -1,12 +1,9 @@
1
1
  {
2
2
  "name": "@awesome-ecs/abstract",
3
- "version": "0.14.1",
3
+ "version": "0.15.0",
4
4
  "description": "A comprehensive Entity-Component-System (ECS) Architecture implementation. Abstract components.",
5
5
  "scripts": {
6
- "build": "rimraf ./dist && npx tsc --build tsconfig.build.json"
7
- },
8
- "devDependencies": {
9
- "typescript": "^5.2.2"
6
+ "build": "rimraf ./dist && tsc --build tsconfig.build.json"
10
7
  },
11
8
  "exports": {
12
9
  "./components": {
@@ -61,5 +58,8 @@
61
58
  "url": "https://github.com/andreicojocaru/awesome-ecs/issues"
62
59
  },
63
60
  "homepage": "https://github.com/andreicojocaru/awesome-ecs#readme",
64
- "gitHead": "850e46cec9ea87bffd8f4e4c7ee5d53aaa1f98fe"
61
+ "devDependencies": {
62
+ "rimraf": "^5.0.5"
63
+ },
64
+ "gitHead": "996ca515e8d363fcc802d27874ed67ed73221736"
65
65
  }