mcutils-js-api 2.0.21 → 2.0.23
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/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import type { BedrockServer } from "./types/server/impl/bedrock-server";
|
|
|
4
4
|
import type { JavaServer } from "./types/server/impl/java-server";
|
|
5
5
|
import type { CachedPlayer } from "./types/cache/cached-player";
|
|
6
6
|
import type { CachedPlayerName } from "./types/cache/cached-player-name";
|
|
7
|
-
import type {
|
|
8
|
-
import {
|
|
7
|
+
import type { ServerType } from "./types/server/server";
|
|
8
|
+
import type { Cape } from "./types/player/cape/cape";
|
|
9
9
|
export declare class McUtilsAPI {
|
|
10
10
|
private readonly endpoint;
|
|
11
11
|
constructor(endpoint?: string);
|
|
@@ -138,7 +138,7 @@ export declare class McUtilsAPI {
|
|
|
138
138
|
* @returns the list of cape data or the error (if one occurred)
|
|
139
139
|
*/
|
|
140
140
|
fetchCapes(): Promise<{
|
|
141
|
-
capes?:
|
|
141
|
+
capes?: Cape[];
|
|
142
142
|
error?: ErrorResponse;
|
|
143
143
|
}>;
|
|
144
144
|
/**
|