From 6447692d4c8dc6b570b8f28f252cdf968f1f767b Mon Sep 17 00:00:00 2001 From: chopster44 Date: Mon, 1 Dec 2025 21:21:05 +0000 Subject: [PATCH] (1.0.37) 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 404701c..2d62154 100644 --- a/dist/index.cjs.js +++ b/dist/index.cjs.js @@ -247,7 +247,7 @@ class Updater { else { // should be the file progress let fileProgressView = new Uint32Array(rawData); - this._fileProgress += (dataView[3] << 24) | + this._fileProgress = (dataView[3] << 24) | (dataView[2] << 16) | (dataView[1] << 8) | dataView[0]; this.sendNextPacket(); diff --git a/dist/index.es.js b/dist/index.es.js index 235151c..d320885 100644 --- a/dist/index.es.js +++ b/dist/index.es.js @@ -245,7 +245,7 @@ class Updater { else { // should be the file progress let fileProgressView = new Uint32Array(rawData); - this._fileProgress += (dataView[3] << 24) | + this._fileProgress = (dataView[3] << 24) | (dataView[2] << 16) | (dataView[1] << 8) | dataView[0]; this.sendNextPacket(); diff --git a/package.json b/package.json index 04cb560..f7aa2aa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "updaterweblibrary", - "version": "1.0.36", + "version": "1.0.37", "description": "OTA Updater App frontend library", "repository": { "type": "git",