diff --git a/dist/index.cjs.js b/dist/index.cjs.js index 85953c5..8c5d877 100644 --- a/dist/index.cjs.js +++ b/dist/index.cjs.js @@ -209,7 +209,7 @@ class Updater { if (dataView[0] == 1) { // send file this.sendNextPacket(); - progressCallback(`Sending (${Math.floor((this._fileProgress * 100) / this._fileSize)}%), ${this._fileProgress} / ${this._fileSize}`); + progressCallback(`MTU: ${this._packetSize}; Sending (${Math.floor((this._fileProgress * 100) / this._fileSize)}%), ${this._fileProgress} / ${this._fileSize}`); } else if (dataView[0] == 2) { // done logic diff --git a/dist/index.es.js b/dist/index.es.js index 8f525ba..1405f7d 100644 --- a/dist/index.es.js +++ b/dist/index.es.js @@ -207,7 +207,7 @@ class Updater { if (dataView[0] == 1) { // send file this.sendNextPacket(); - progressCallback(`Sending (${Math.floor((this._fileProgress * 100) / this._fileSize)}%), ${this._fileProgress} / ${this._fileSize}`); + progressCallback(`MTU: ${this._packetSize}; Sending (${Math.floor((this._fileProgress * 100) / this._fileSize)}%), ${this._fileProgress} / ${this._fileSize}`); } else if (dataView[0] == 2) { // done logic diff --git a/package.json b/package.json index dbb9158..dce82f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "updaterweblibrary", - "version": "1.0.27", + "version": "1.0.28", "description": "OTA Updater App frontend library", "repository": { "type": "git",