This commit is contained in:
parent
9eaf6125b7
commit
db98cf20a1
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mcutils-library",
|
"name": "mcutils-library",
|
||||||
"version": "1.2.4",
|
"version": "1.2.5",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import {Status} from "../status";
|
import {Status} from "../status";
|
||||||
|
import {Cache} from "../cache";
|
||||||
|
|
||||||
export interface CachedEndpointStatus extends Cache, EndpointStatus {
|
export interface CachedEndpointStatus extends Cache, EndpointStatus {
|
||||||
/**
|
/**
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
import {Cache} from "../cache";
|
||||||
|
|
||||||
export interface CachedPlayer extends Cache, Player {}
|
export interface CachedPlayer extends Cache, Player {}
|
||||||
|
|
||||||
type Player = {
|
type Player = {
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import {MinecraftServer} from "../server";
|
import {MinecraftServer} from "../server";
|
||||||
|
import {Cache} from "../../cache";
|
||||||
|
|
||||||
export interface CachedBedrockMinecraftServer extends Cache, BedrockMinecraftServer {}
|
export interface CachedBedrockMinecraftServer extends Cache, BedrockMinecraftServer {}
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import {MinecraftServer} from "../server";
|
import {MinecraftServer} from "../server";
|
||||||
|
import {Cache} from "../../cache";
|
||||||
|
|
||||||
export interface CachedJavaMinecraftServer extends Cache, JavaMinecraftServer {}
|
export interface CachedJavaMinecraftServer extends Cache, JavaMinecraftServer {}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { ServerPlatform, getBlockedStatus, getServer, getServerIcon } from "../dist";
|
import {getBlockedStatus, getServer, getServerIcon, ServerPlatform} from "../dist";
|
||||||
|
|
||||||
test("ensureGetServerLookupSuccess", async () => {
|
test("ensureGetServerLookupSuccess", async () => {
|
||||||
const server = await getServer(ServerPlatform.Java, "mc.hypixel.net");
|
const server = await getServer(ServerPlatform.Java, "mc.hypixel.net");
|
||||||
|
Loading…
Reference in New Issue
Block a user