(1.0.10) attempt add bluetooth

This commit is contained in:
2025-11-15 18:59:01 +00:00
parent 0a37ee00bf
commit 0125bae4e5
4 changed files with 119 additions and 6 deletions

11
dist/index.d.ts vendored
View File

@@ -7,11 +7,20 @@ export type versionNotes = {
export default class Updater {
archiveURL: string;
feedType: string;
constructor(archiveURL?: string, feedType?: string);
bleObject: BLECentralPlugin.BLECentralPluginStatic;
protected bleDeviceId: string;
private readonly _updaterServiceUUID;
private readonly _updaterVersionCharactersiticUUID;
constructor(archiveURL?: string, feedType?: string, bleObject?: BLECentralPlugin.BLECentralPluginStatic);
private getRawArchive;
private atomGetVersionDetails;
private atomGetArchive;
private rssGetVersionDetails;
private rssGetArchive;
getArchive(): Promise<versionNotes[]>;
setDeviceId(id: string): void;
private bytesToString;
private readVersionNumber;
private getLatestVersion;
checkForUpdate(): Promise<boolean>;
}