From 41a2e30acab5446980f94aea28f424583e3b79af Mon Sep 17 00:00:00 2001 From: chopster44 Date: Sun, 30 Nov 2025 17:42:03 +0000 Subject: [PATCH] (1.0.19) bump --- dist/index.cjs.js | 3 +++ dist/index.es.js | 3 +++ package.json | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dist/index.cjs.js b/dist/index.cjs.js index ec9419c..7b7d62c 100644 --- a/dist/index.cjs.js +++ b/dist/index.cjs.js @@ -210,7 +210,9 @@ class Updater { } else if (dataView[0] == 2) { // done logic + console.log(`progress >= filesize: ${this._fileProgress} vs ${this._fileSize}`); if (this._fileProgress >= this._fileSize) { + console.log("true"); // send agree await this.sendEndCmd(true); progressCallback(`Complete!`); @@ -222,6 +224,7 @@ class Updater { }); } else { + console.log("False"); // send disagree await this.sendEndCmd(false); progressCallback(`Error, starting over: ${this._fileProgress} / ${this._fileSize}`); diff --git a/dist/index.es.js b/dist/index.es.js index cdbcb55..97c7544 100644 --- a/dist/index.es.js +++ b/dist/index.es.js @@ -208,7 +208,9 @@ class Updater { } else if (dataView[0] == 2) { // done logic + console.log(`progress >= filesize: ${this._fileProgress} vs ${this._fileSize}`); if (this._fileProgress >= this._fileSize) { + console.log("true"); // send agree await this.sendEndCmd(true); progressCallback(`Complete!`); @@ -220,6 +222,7 @@ class Updater { }); } else { + console.log("False"); // send disagree await this.sendEndCmd(false); progressCallback(`Error, starting over: ${this._fileProgress} / ${this._fileSize}`); diff --git a/package.json b/package.json index 60e28d6..e1f82e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "updaterweblibrary", - "version": "1.0.18", + "version": "1.0.19", "description": "OTA Updater App frontend library", "repository": { "type": "git",