(1.0.20) bump

This commit is contained in:
chopster44 committed 2025-11-30 21:11:31 +00:00
1 parent b155baed03
commit b13787b704
3 files changed
+5 -3

No files matched your search

+2 -1
View File
@@ -175,11 +175,12 @@ class Updater {
}
async sendNextPacket() {
let packet = this.file.slice(this._fileProgress, this._fileProgress + this._packetSize);
this._fileProgress += this._packetSize;
return new Promise((resolve, reject) => {
this.bleObject.write(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, () => {
this._fileProgress += this._packetSize;
resolve(true);
}, (error) => {
this._fileProgress -= this._packetSize;
reject(error);
});
});
+2 -1
View File
@@ -173,11 +173,12 @@ class Updater {
}
async sendNextPacket() {
let packet = this.file.slice(this._fileProgress, this._fileProgress + this._packetSize);
this._fileProgress += this._packetSize;
return new Promise((resolve, reject) => {
this.bleObject.write(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, () => {
this._fileProgress += this._packetSize;
resolve(true);
}, (error) => {
this._fileProgress -= this._packetSize;
reject(error);
});
});
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "updaterweblibrary",
"version": "1.0.19",
"version": "1.0.20",
"description": "OTA Updater App frontend library",
"repository": {
"type": "git",