@woosh/meep-engine 2.92.5 → 2.92.6

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "description": "Fully featured ECS game engine written in JavaScript",
6
6
  "type": "module",
7
7
  "author": "Alexander Goldring",
8
- "version": "2.92.5",
8
+ "version": "2.92.6",
9
9
  "main": "build/meep.module.js",
10
10
  "module": "build/meep.module.js",
11
11
  "exports": {
@@ -1,8 +1,8 @@
1
- import {AssetLoader} from "./loaders/AssetLoader";
1
+ import ConcurrentExecutor from "../../core/process/executor/ConcurrentExecutor";
2
2
  import {Asset} from "./Asset";
3
- import {CrossOriginConfig} from "./CORS/CrossOriginConfig";
4
3
  import {AssetTransformer} from "./AssetTransformer";
5
- import ConcurrentExecutor from "../../core/process/executor/ConcurrentExecutor";
4
+ import {CrossOriginConfig} from "./CORS/CrossOriginConfig";
5
+ import {AssetLoader} from "./loaders/AssetLoader";
6
6
 
7
7
  interface PromiseOptions {
8
8
  skip_queue: boolean
@@ -16,9 +16,9 @@ interface AssetManagerOptions<CTX> {
16
16
  interface GetOptions<T> {
17
17
  type: string
18
18
  path: string
19
- callback: (asset: Asset<T>) => any
20
- failure: (reason: any) => any
21
- progress: (current: number, total: number) => any
19
+ callback?: (asset: Asset<T>) => any
20
+ failure?: (reason: any) => any
21
+ progress?: (current: number, total: number) => any
22
22
  }
23
23
 
24
24
  export declare class AssetManager<CTX> {