(1.0.28) bump
This commit is contained in:
2
dist/index.cjs.js
vendored
2
dist/index.cjs.js
vendored
@@ -209,7 +209,7 @@ class Updater {
|
|||||||
if (dataView[0] == 1) {
|
if (dataView[0] == 1) {
|
||||||
// send file
|
// send file
|
||||||
this.sendNextPacket();
|
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) {
|
else if (dataView[0] == 2) {
|
||||||
// done logic
|
// done logic
|
||||||
|
|||||||
2
dist/index.es.js
vendored
2
dist/index.es.js
vendored
@@ -207,7 +207,7 @@ class Updater {
|
|||||||
if (dataView[0] == 1) {
|
if (dataView[0] == 1) {
|
||||||
// send file
|
// send file
|
||||||
this.sendNextPacket();
|
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) {
|
else if (dataView[0] == 2) {
|
||||||
// done logic
|
// done logic
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "updaterweblibrary",
|
"name": "updaterweblibrary",
|
||||||
"version": "1.0.27",
|
"version": "1.0.28",
|
||||||
"description": "OTA Updater App frontend library",
|
"description": "OTA Updater App frontend library",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user