chore(dependencies): update semver to version 7.7.3 and add @types/semver to package.json files; refactor getUpdateData function to accept current version as a parameter

This commit is contained in:
Mauricio Siu
2026-01-11 21:51:56 -06:00
parent ccfd7f5189
commit 85424badcf
5 changed files with 98 additions and 59 deletions

View File

@@ -399,7 +399,7 @@ export const settingsRouter = createTRPCRouter({
return DEFAULT_UPDATE_DATA;
}
return await getUpdateData();
return await getUpdateData(packageInfo.version);
}),
updateServer: adminProcedure.mutation(async () => {
if (IS_CLOUD) {