(1.0.36) bump
This commit is contained in:
4
dist/index.cjs.js
vendored
4
dist/index.cjs.js
vendored
@@ -247,7 +247,9 @@ class Updater {
|
||||
else {
|
||||
// should be the file progress
|
||||
let fileProgressView = new Uint32Array(rawData);
|
||||
this._fileProgress += fileProgressView[0];
|
||||
this._fileProgress += (dataView[3] << 24) |
|
||||
(dataView[2] << 16) |
|
||||
(dataView[1] << 8) | dataView[0];
|
||||
this.sendNextPacket();
|
||||
progressCallback(`Recieved progress ${fileProgressView[0]}; Sending (${Math.floor((this._fileProgress * 100) / this._fileSize)}%), ${this._fileProgress} / ${this._fileSize}`);
|
||||
}
|
||||
|
||||
4
dist/index.es.js
vendored
4
dist/index.es.js
vendored
@@ -245,7 +245,9 @@ class Updater {
|
||||
else {
|
||||
// should be the file progress
|
||||
let fileProgressView = new Uint32Array(rawData);
|
||||
this._fileProgress += fileProgressView[0];
|
||||
this._fileProgress += (dataView[3] << 24) |
|
||||
(dataView[2] << 16) |
|
||||
(dataView[1] << 8) | dataView[0];
|
||||
this.sendNextPacket();
|
||||
progressCallback(`Recieved progress ${fileProgressView[0]}; Sending (${Math.floor((this._fileProgress * 100) / this._fileSize)}%), ${this._fileProgress} / ${this._fileSize}`);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "updaterweblibrary",
|
||||
"version": "1.0.35",
|
||||
"version": "1.0.36",
|
||||
"description": "OTA Updater App frontend library",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user