(1.0.34) bump
This commit is contained in:
1
dist/index.cjs.js
vendored
1
dist/index.cjs.js
vendored
@@ -178,6 +178,7 @@ class Updater {
|
|||||||
// this._fileProgress += this._packetSize;
|
// this._fileProgress += this._packetSize;
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
this.bleObject.writeWithoutResponse(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, () => {
|
this.bleObject.writeWithoutResponse(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, () => {
|
||||||
|
console.log(`Sent: ${packet}`);
|
||||||
resolve(true);
|
resolve(true);
|
||||||
}, (error) => {
|
}, (error) => {
|
||||||
this._fileProgress -= this._packetSize;
|
this._fileProgress -= this._packetSize;
|
||||||
|
|||||||
1
dist/index.es.js
vendored
1
dist/index.es.js
vendored
@@ -176,6 +176,7 @@ class Updater {
|
|||||||
// this._fileProgress += this._packetSize;
|
// this._fileProgress += this._packetSize;
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
this.bleObject.writeWithoutResponse(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, () => {
|
this.bleObject.writeWithoutResponse(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, () => {
|
||||||
|
console.log(`Sent: ${packet}`);
|
||||||
resolve(true);
|
resolve(true);
|
||||||
}, (error) => {
|
}, (error) => {
|
||||||
this._fileProgress -= this._packetSize;
|
this._fileProgress -= this._packetSize;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "updaterweblibrary",
|
"name": "updaterweblibrary",
|
||||||
"version": "1.0.33",
|
"version": "1.0.34",
|
||||||
"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