update
This commit is contained in:
+4
-2
@@ -157,8 +157,10 @@ function rarity(value: string | undefined): number | null {
|
||||
);
|
||||
}
|
||||
|
||||
export async function getLatestLunarisVersion(): Promise<string> {
|
||||
return versionSchema.parse(await getJson(VERSION_URL)).version;
|
||||
export async function getLatestLunarisVersion(
|
||||
signal?: AbortSignal,
|
||||
): Promise<string> {
|
||||
return versionSchema.parse(await getJson(VERSION_URL, signal)).version;
|
||||
}
|
||||
|
||||
async function mapConcurrent<T, R>(
|
||||
|
||||
Reference in New Issue
Block a user