MCPcopy Create free account
hub / github.com/Noumena-Network/code / getMaxVersion

Function getMaxVersion

src/utils/autoUpdater.ts:118–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 * Returns undefined if no cap is configured.
117 */
118export async function getMaxVersion(): Promise<string | undefined> {
119 const config = await getMaxVersionConfig()
120 if (isInternalBuild()) {
121 return config.ant || undefined
122 }
123 return config.external || undefined
124}
125
126/**
127 * Returns the server-driven message explaining the known issue, if configured.

Callers 5

AutoUpdaterFunction · 0.85
NativeAutoUpdaterFunction · 0.85
updateLatestFunction · 0.85
resolveRollbackTargetFunction · 0.85

Calls 2

getMaxVersionConfigFunction · 0.85
isInternalBuildFunction · 0.85

Tested by

no test coverage detected