(1.0.22) bump

This commit is contained in:
2025-11-30 21:43:00 +00:00
parent 20c203ffa4
commit e5912cd94e
3 changed files with 5 additions and 1 deletions

2
dist/index.cjs.js vendored
View File

@@ -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
View File

@@ -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);

View File

@@ -1,6 +1,6 @@
{
"name": "updaterweblibrary",
"version": "1.0.21",
"version": "1.0.22",
"description": "OTA Updater App frontend library",
"repository": {
"type": "git",