mowojang 0.4.4 → 0.4.5

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
@@ -28,6 +28,11 @@ type ClientOptions = {
28
28
  baseURL?: string;
29
29
  fallback?: boolean;
30
30
  };
31
+ type AxiosOptions = {
32
+ timeout?: number;
33
+ cache?: CacheOptions;
34
+ fallback: boolean;
35
+ };
31
36
  type ValidationOptions = {
32
37
  enabled?: boolean;
33
38
  minimumUsernameLength?: 1 | 2;
@@ -146,4 +151,4 @@ declare const cache: {
146
151
  buildMemoryStorage: typeof buildMemoryStorage;
147
152
  };
148
153
 
149
- export { Client, cache, utils, validate };
154
+ export { type AxiosOptions, Client, type ClientOptions, type MowojangCape, type MowojangError, type MowojangProfile, type MowojangRequestConfig, type MowojangResponse, type MowojangSession, type MowojangSkin, type Player, type UUID, type Username, type ValidationOptions, cache, utils, validate };
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import { setupCache } from "axios-cache-interceptor";
11
11
  // package.json
12
12
  var package_default = {
13
13
  name: "mowojang",
14
- version: "0.4.4",
14
+ version: "0.4.5",
15
15
  description: "A simple JavaScript and TypeScript compatible wrapper for the Mowojang-API.",
16
16
  exports: {
17
17
  ".": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mowojang",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "A simple JavaScript and TypeScript compatible wrapper for the Mowojang-API.",
5
5
  "exports": {
6
6
  ".": {