mirror of
https://github.com/minescope/mineping.git
synced 2025-07-14 03:24:37 +03:00
feat(pingJava): add protocolVersion
feat(types): `PingOptions` for Java fix(types): type names fix(types): type names
This commit is contained in:
4
types/lib/bedrock.d.ts
vendored
4
types/lib/bedrock.d.ts
vendored
@ -2,7 +2,7 @@
|
||||
* @param port The server port.
|
||||
* @param timeout The read/write socket timeout.
|
||||
*/
|
||||
export type PingOptions = {
|
||||
export type BedrockPingOptions = {
|
||||
port: number,
|
||||
timeout: number;
|
||||
};
|
||||
@ -45,5 +45,5 @@ export type BedrockPingResponse = {
|
||||
* ```
|
||||
* @see [source](https://github.com/minescope/mineping/blob/915edbec9c9ad811459458600af3531ec0836911/lib/bedrock.js#L204)
|
||||
*/
|
||||
export function pingBedrock(host: string, options?: PingOptions): Promise<BedrockPingResponse>;
|
||||
export function pingBedrock(host: string, options?: BedrockPingOptions): Promise<BedrockPingResponse>;
|
||||
|
||||
|
Reference in New Issue
Block a user