From 8773995629ea94c9ebe45391b3bac23feab43b4d Mon Sep 17 00:00:00 2001 From: pwespi Date: Sat, 15 Apr 2023 17:06:15 +0200 Subject: [PATCH] fix!: remove deprecated getEnabled, use isEnabled instead --- src/bleClient.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/bleClient.ts b/src/bleClient.ts index fb36062..9ee0c9e 100644 --- a/src/bleClient.ts +++ b/src/bleClient.ts @@ -314,15 +314,6 @@ class BleClientClass implements BleClientInterface { }); } - /** - * Reports whether BLE is enabled on this device. - * Always returns `true` on **web**. - * @deprecated Use `isEnabled` instead. - */ - async getEnabled(): Promise { - return this.isEnabled(); - } - async isEnabled(): Promise { const enabled = await this.queue(async () => { const result = await BluetoothLe.isEnabled();