From 1249fa7632db471124be60999020c8ef4b9351a7 Mon Sep 17 00:00:00 2001 From: xzeldon Date: Tue, 11 Jan 2022 02:47:14 +0300 Subject: [PATCH] =?UTF-8?q?docs(docs):=20=D1=81hanged=20the=20module=20nam?= =?UTF-8?q?e=20according=20to=20the=20scope,=20added=20links=20to=20src=20?= =?UTF-8?q?files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/lib/bedrock.d.ts | 3 ++- types/lib/java.d.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/types/lib/bedrock.d.ts b/types/lib/bedrock.d.ts index 0a7d81d..914cc7d 100644 --- a/types/lib/bedrock.d.ts +++ b/types/lib/bedrock.d.ts @@ -28,7 +28,7 @@ export type BedrockPingResponse = { * @param host The Bedrock server address. * * ```js - * import { pingBedrock } from 'mineping'; + * import { pingBedrock } from '@minescope/mineping'; * * const data = await pingBedrock('mco.mineplex.com'); * console.log(data); @@ -43,6 +43,7 @@ export type BedrockPingResponse = { * gamemode: 'Survival' * } * ``` + * @see [source](https://github.com/minescope/mineping/blob/24a48802300f988d3ae520edbeb4f3e12820dcc9/lib/java.js#L117) */ export function pingBedrock(host: string, options?: PingOptions): Promise; diff --git a/types/lib/java.d.ts b/types/lib/java.d.ts index 3126934..2c4da58 100644 --- a/types/lib/java.d.ts +++ b/types/lib/java.d.ts @@ -32,7 +32,7 @@ export type JavaPingResponse = { * @param options The configuration for pinging Minecraft Java server. * * ```js - * import { pingJava } from 'mineping'; + * import { pingJava } from '@minescope/mineping'; * * const data = await pingJava('mc.hypixel.net'); * console.log(data); @@ -48,6 +48,7 @@ export type JavaPingResponse = { * favicon: 'data:image/png;base64,iVBORw0KGg... } * ``` + * @see [source](https://github.com/minescope/mineping/blob/8c84925ef7f5c420a7ef52740cba027491e82934/lib/bedrock.js#L158) */ export function pingJava(host: string, options?: PingOptions): Promise;