utilium 1.2.7 → 1.2.8
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/dist/cache.d.ts +1 -1
- package/package.json +1 -1
- package/src/cache.ts +1 -1
package/dist/cache.d.ts
CHANGED
@@ -38,7 +38,7 @@ export declare class Resource<ID> {
|
|
38
38
|
/** The resource ID */
|
39
39
|
readonly id: ID;
|
40
40
|
/** The full size of the resource */
|
41
|
-
|
41
|
+
size: number;
|
42
42
|
protected readonly options: Options;
|
43
43
|
/** Regions used to reduce unneeded allocations. Think of sparse arrays. */
|
44
44
|
readonly regions: Region[];
|
package/package.json
CHANGED
package/src/cache.ts
CHANGED
@@ -49,7 +49,7 @@ export class Resource<ID> {
|
|
49
49
|
/** The resource ID */
|
50
50
|
public readonly id: ID,
|
51
51
|
/** The full size of the resource */
|
52
|
-
public
|
52
|
+
public size: number,
|
53
53
|
protected readonly options: Options,
|
54
54
|
resources?: Map<ID, Resource<ID> | undefined>
|
55
55
|
) {
|