@scolastico-dev/walu
    Preparing search index...

    Function downloadVersionJson

    • Downloads and parses the version.json file from the configured API endpoint. This function retrieves the version information including hash and signature that are needed for update verification.

      Parameters

      • cfg: WaluConfig

        The WALU configuration containing API URLs and status callback

      Returns Promise<IVersionFile>

      Promise that resolves to the parsed version file object

      If the download fails or the JSON cannot be parsed