(1.0.22) bump
This commit is contained in:
2
dist/index.cjs.js
vendored
2
dist/index.cjs.js
vendored
@@ -200,6 +200,8 @@ class Updater {
|
||||
// check for error
|
||||
// write file length
|
||||
return new Promise((resolve, reject) => {
|
||||
// set mtu
|
||||
this.bleObject.requestMtu(this.bleDeviceId, this._packetSize, (mtu) => { this._packetSize = mtu; }, () => { });
|
||||
// start notify
|
||||
this.bleObject.startNotification(this.bleDeviceId, this._updaterServiceUUID, this._updaterCommandCharacterisitcUUID, (rawData) => {
|
||||
let dataView = new Uint8Array(rawData);
|
||||
|
||||
2
dist/index.es.js
vendored
2
dist/index.es.js
vendored
@@ -198,6 +198,8 @@ class Updater {
|
||||
// check for error
|
||||
// write file length
|
||||
return new Promise((resolve, reject) => {
|
||||
// set mtu
|
||||
this.bleObject.requestMtu(this.bleDeviceId, this._packetSize, (mtu) => { this._packetSize = mtu; }, () => { });
|
||||
// start notify
|
||||
this.bleObject.startNotification(this.bleDeviceId, this._updaterServiceUUID, this._updaterCommandCharacterisitcUUID, (rawData) => {
|
||||
let dataView = new Uint8Array(rawData);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "updaterweblibrary",
|
||||
"version": "1.0.21",
|
||||
"version": "1.0.22",
|
||||
"description": "OTA Updater App frontend library",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user