mowojang 0.3.1 → 0.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mowojang",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "A simple JavaScript and TypeScript compatible wrapper for the Mowojang-API.",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -1,4 +1,4 @@
1
- import { AxiosCacheInstance } from "axios-cache-interceptor";
2
- import { AxiosOptions } from "../types/index.js";
1
+ import { type AxiosCacheInstance } from "axios-cache-interceptor";
2
+ import type { AxiosOptions } from "../types/index.d.ts";
3
3
  declare const _default: (options?: AxiosOptions) => AxiosCacheInstance;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- import { Player, Username, UUID, ClientOptions, MowojangCape, MowojangProfile, MowojangRequestConfig, MowojangResponse, MowojangSession, MowojangSkin } from "../types/index.js";
1
+ import type { Player, Username, UUID, ClientOptions, MowojangCape, MowojangProfile, MowojangRequestConfig, MowojangResponse, MowojangSession, MowojangSkin } from "../types/index.d.ts";
2
2
  export default class Client {
3
3
  private axios;
4
4
  constructor(clientOptions?: ClientOptions);
@@ -1,4 +1,4 @@
1
- import { UUID } from "../types/index.js";
1
+ import type { UUID } from "../types/index.d.ts";
2
2
  /**
3
3
  * Removes dashes from a UUID string
4
4
  *
@@ -1,4 +1,4 @@
1
- import { Player } from "../types/index.js";
1
+ import type { Player } from "../types/index.d.ts";
2
2
  /**
3
3
  * Validates a UUIDv4 string
4
4
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mowojang",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "A simple JavaScript and TypeScript compatible wrapper for the Mowojang-API.",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
package/tsconfig.json CHANGED
@@ -7,6 +7,7 @@
7
7
  "strict": true,
8
8
  "declaration": true,
9
9
  "skipLibCheck": true,
10
+ "skipDefaultLibCheck": true,
10
11
  "resolveJsonModule": true
11
12
  },
12
13
  "include": ["src"],