mowojang 0.2.0 → 0.2.1
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/README.md +1 -1
- package/dist/package.json +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ const username = await Mowojang.getUsername("14727fae-fbdc-4aff-848c-d2713eb9939
|
|
|
33
33
|
- `getSkin()`: Returns the Skin the specified Player is currently wearing
|
|
34
34
|
- `getSkinBuffer()`: Skin-Data fetched via getSkin() as a Buffer
|
|
35
35
|
- `getCape()`: Returns the Cape the specified Player is currently wearing
|
|
36
|
-
- `getCapeBuffer()`:
|
|
36
|
+
- `getCapeBuffer()`: Cape-Data fetched via getCape() as a Buffer
|
|
37
37
|
|
|
38
38
|
All above Functions accept an second Argument containing an optional config.
|
|
39
39
|
Cache options can also be passed there via the cache key. All available cache options can be found [here](https://axios-cache-interceptor.js.org/config/request-specifics#cache).
|
package/dist/package.json
CHANGED
package/dist/src/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { buildStorage, buildMemoryStorage } from "axios-cache-interceptor";
|
|
|
3
3
|
export declare const Client: typeof client;
|
|
4
4
|
export declare const validate: {
|
|
5
5
|
player: (player: import("../types/player.js").Player) => boolean;
|
|
6
|
-
|
|
6
|
+
UUID: (UUID: string) => boolean;
|
|
7
7
|
username: (username: string) => boolean;
|
|
8
8
|
};
|
|
9
9
|
export declare const utils: {
|
package/dist/src/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { buildStorage, buildMemoryStorage } from "axios-cache-interceptor";
|
|
|
5
5
|
export const Client = client;
|
|
6
6
|
export const validate = {
|
|
7
7
|
player: validatePlayer,
|
|
8
|
-
|
|
8
|
+
UUID: validateUUID,
|
|
9
9
|
username: validateUsername,
|
|
10
10
|
};
|
|
11
11
|
export const utils = {
|