From 7c6f0e8a3ed1b3d1266d8659732da8b790b8003c Mon Sep 17 00:00:00 2001 From: chopster44 Date: Mon, 1 Dec 2025 20:59:49 +0000 Subject: [PATCH] (1.0.35) bump --- dist/index.cjs.js | 2 +- dist/index.es.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/index.cjs.js b/dist/index.cjs.js index 360d662..a3f1c8f 100644 --- a/dist/index.cjs.js +++ b/dist/index.cjs.js @@ -178,7 +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}`); + console.log(`Sent: ${packet}, progress: ${this._fileProgress}`); resolve(true); }, (error) => { this._fileProgress -= this._packetSize; diff --git a/dist/index.es.js b/dist/index.es.js index d21082d..a6a6659 100644 --- a/dist/index.es.js +++ b/dist/index.es.js @@ -176,7 +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}`); + console.log(`Sent: ${packet}, progress: ${this._fileProgress}`); resolve(true); }, (error) => { this._fileProgress -= this._packetSize; diff --git a/package.json b/package.json index da5be29..c5449bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "updaterweblibrary", - "version": "1.0.34", + "version": "1.0.35", "description": "OTA Updater App frontend library", "repository": { "type": "git",