refactor(updater)!: remove deprecated Update.available field (#3607)

* refactor(updater)!: remove deprecated Update.available field

It was always `true`; check whether `check()` returned `null` instead.

* fix(examples): remove usage of the dropped Update.available field

* Update .changes/updater-remove-available.md

---------

Co-authored-by: Amr Bashir <github@amrbashir.me>
This commit is contained in:
Lucas Fernandes Nogueira
2026-09-22 06:13:04 -03:00
committed by GitHub
co-authored by Amr Bashir
parent b4011607e0
commit 6a12f7c80a
4 changed files with 7 additions and 6 deletions
-1
View File
@@ -19,7 +19,6 @@
try {
const update = await check()
if (update) {
onMessage(`Should update: ${update.available}`)
onMessage(update)
newUpdate = update