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;