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

Function getMaxVersionMessage

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

Source from the content-addressed store, hash-verified

128 * Shown in the warning banner when the current version exceeds the max allowed version.
129 */
130export async function getMaxVersionMessage(): Promise<string | undefined> {
131 const config = await getMaxVersionConfig()
132 if (isInternalBuild()) {
133 return config.ant_message || undefined
134 }
135 return config.external_message || undefined
136}
137
138async function getMaxVersionConfig(): Promise<MaxVersionConfig> {
139 try {

Callers 1

NativeAutoUpdaterFunction · 0.85

Calls 2

getMaxVersionConfigFunction · 0.85
isInternalBuildFunction · 0.85

Tested by

no test coverage detected