Skip to main content

core.warnifnewerversionavailable

Home > @medplum/core > warnIfNewerVersionAvailable

warnIfNewerVersionAvailable() function

Checks if a newer version of Medplum is available and logs a warning if so.

Signature:

export declare function warnIfNewerVersionAvailable(appName: string, params?: Record<string, string>): Promise<void>;

Parameters

Parameter

Type

Description

appName

string

The name of the app to check the version for.

params

Record<string, string>

(Optional) An optional list of key-value pairs to be appended to the URL query string.

Returns:

Promise<void>