(1.0.26) bump

This commit is contained in:
chopster44 committed 2025-12-01 17:49:29 +00:00
1 parent ad7402f04b
commit ebcfb38e41
3 files changed
+3 -3

No files matched your search

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