@esotericsoftware/spine-core 4.2.115 → 4.2.116
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.
|
@@ -87,8 +87,8 @@ export declare class Downloader {
|
|
|
87
87
|
private callbacks;
|
|
88
88
|
rawDataUris: StringMap<string>;
|
|
89
89
|
dataUriToString(dataUri: string): string;
|
|
90
|
-
base64ToUint8Array(base64: string): Uint8Array
|
|
91
|
-
dataUriToUint8Array(dataUri: string): Uint8Array
|
|
90
|
+
base64ToUint8Array(base64: string): Uint8Array;
|
|
91
|
+
dataUriToUint8Array(dataUri: string): Uint8Array;
|
|
92
92
|
downloadText(url: string, success: (data: string) => void, error: (status: number, responseText: string) => void): void;
|
|
93
93
|
downloadJson(url: string, success: (data: object) => void, error: (status: number, responseText: string) => void): void;
|
|
94
94
|
downloadBinary(url: string, success: (data: Uint8Array) => void, error: (status: number, responseText: string) => void): void;
|
package/dist/SkeletonBinary.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export declare class BinaryInput {
|
|
|
55
55
|
strings: string[];
|
|
56
56
|
private index;
|
|
57
57
|
private buffer;
|
|
58
|
-
constructor(data: Uint8Array | ArrayBuffer, strings?: string[], index?: number, buffer?: DataView
|
|
58
|
+
constructor(data: Uint8Array | ArrayBuffer, strings?: string[], index?: number, buffer?: DataView);
|
|
59
59
|
readByte(): number;
|
|
60
60
|
readUnsignedByte(): number;
|
|
61
61
|
readShort(): number;
|
package/dist/Utils.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ export declare class Utils {
|
|
|
116
116
|
static newArray<T>(size: number, defaultValue: T): Array<T>;
|
|
117
117
|
static newFloatArray(size: number): NumberArrayLike;
|
|
118
118
|
static newShortArray(size: number): IntArrayLike;
|
|
119
|
-
static toFloatArray(array: Array<number>): number[] | Float32Array
|
|
119
|
+
static toFloatArray(array: Array<number>): number[] | Float32Array;
|
|
120
120
|
static toSinglePrecision(value: number): number;
|
|
121
121
|
static webkit602BugfixHelper(alpha: number, blend: MixBlend): void;
|
|
122
122
|
static contains<T>(array: Array<T>, element: T, identity?: boolean): boolean;
|