(1.0.35) bump

This commit is contained in:
2025-12-01 20:59:49 +00:00
parent bda9dddd4f
commit 7c6f0e8a3e
3 changed files with 3 additions and 3 deletions

2
dist/index.cjs.js vendored
View File

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

2
dist/index.es.js vendored
View File

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

View File

@@ -1,6 +1,6 @@
{ {
"name": "updaterweblibrary", "name": "updaterweblibrary",
"version": "1.0.34", "version": "1.0.35",
"description": "OTA Updater App frontend library", "description": "OTA Updater App frontend library",
"repository": { "repository": {
"type": "git", "type": "git",