I noticed that there are some missing properties on some of the interfaces.
Both of these are missing timeout?: number
interface JavaStatusOptions {
query?: boolean,
baseURL?: string,
}
interface BedrockStatusOptions {
baseURL?: string,
}
And with that, it should be passed in the query parameters when making the request:
if (options?.timeout) {
url += `&timeout=${options.timeout}`;
}
The other missing property I found was ip_address: string | null in StatusResponse
interface StatusResponse {
online: boolean,
host: string,
port: number,
eula_blocked: boolean,
retrieved_at: number,
expires_at: number
}
I noticed that there are some missing properties on some of the interfaces.
Both of these are missing
timeout?: numberAnd with that, it should be passed in the query parameters when making the request:
The other missing property I found was
ip_address: string | nullinStatusResponse