(1.0.34) bump

This commit is contained in:
2025-12-01 20:56:24 +00:00
parent 4c4b896978
commit 95709e0285
3 changed files with 3 additions and 1 deletions

1
dist/index.cjs.js vendored
View File

@@ -178,6 +178,7 @@ class Updater {
// this._fileProgress += this._packetSize;
return new Promise((resolve, reject) => {
this.bleObject.writeWithoutResponse(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, () => {
console.log(`Sent: ${packet}`);
resolve(true);
}, (error) => {
this._fileProgress -= this._packetSize;

1
dist/index.es.js vendored
View File

@@ -176,6 +176,7 @@ class Updater {
// this._fileProgress += this._packetSize;
return new Promise((resolve, reject) => {
this.bleObject.writeWithoutResponse(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, () => {
console.log(`Sent: ${packet}`);
resolve(true);
}, (error) => {
this._fileProgress -= this._packetSize;