interface UpdateResult {
    current: null | string;
    error?: string;
    hasUpdate: boolean;
    latest: null | string;
    releaseUrl: string;
}

Properties

current: null | string

Installed version, or null when it can't be determined (browser dev build).

error?: string

Human-readable failure reason, set only when the check could not complete.

hasUpdate: boolean

True only when both versions are known and the latest is strictly newer.

latest: null | string

Latest published release, or null when none exist or the check failed.

releaseUrl: string

Where to send the user to get the update.