An update is available and being downloaded

interface DownloadingUpdateState {
    currentVersion: string;
    downloadProgress: number;
    lastUpdate: number;
    latestVersion: string;
    status: "updateDownloading";
}

Properties

currentVersion: string

Current version of the app

downloadProgress: number

Download progress of new version as a decimal number from 0 to 1, where 1 is fully downloaded

lastUpdate: number

Timestamp of last check for version updates

latestVersion: string

Latest version of the app. May be the same as currentVersion

status: "updateDownloading"