mcutils-js-api 2.0.40 → 2.0.41

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
@@ -8,9 +8,8 @@ import { ServerRegistryEntry } from "./types/server-registry/server-registry-ent
8
8
  import { Player } from "./types/player/player";
9
9
  import { CachedPlayerName } from "./types/cache/cached-player-name";
10
10
  import { StatisticsResponse } from "./types/response/statistics-response";
11
- import { Skin } from "./types/player/skin/skin";
12
- import { Page } from "./types/pagination/pagination";
13
11
  import { PlayerSearchEntry } from "./types/player/player-search-entry";
12
+ import { SkinsResponsePage } from "./types/response/skins-response";
14
13
  export declare class McUtilsAPI {
15
14
  private readonly endpoint;
16
15
  private readonly fetchOptions?;
@@ -203,7 +202,7 @@ export declare class McUtilsAPI {
203
202
  * @returns the list of skins or the error (if one occurred)
204
203
  */
205
204
  fetchSkins(page?: number): Promise<{
206
- skins?: Page<Skin>;
205
+ skins?: SkinsResponsePage;
207
206
  error?: ErrorResponse;
208
207
  }>;
209
208
  /**
@@ -0,0 +1,6 @@
1
+ import { Page } from "../pagination/pagination";
2
+ export type SkinsResponse = {
3
+ imageUrl: string;
4
+ accountsUsed: number;
5
+ };
6
+ export type SkinsResponsePage = Page<SkinsResponse>;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcutils-js-api",
3
- "version": "2.0.40",
3
+ "version": "2.0.41",
4
4
  "module": "dist/index.js",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",