From e8e9547a207547e799fd48c15f634a344c6c6c1b Mon Sep 17 00:00:00 2001 From: chopster44 Date: Mon, 1 Dec 2025 17:27:08 +0000 Subject: [PATCH] (1.0.25) bump --- dist/index.cjs.js | 2 +- dist/index.es.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/index.cjs.js b/dist/index.cjs.js index 08f1234..cc17d69 100644 --- a/dist/index.cjs.js +++ b/dist/index.cjs.js @@ -177,7 +177,7 @@ class Updater { let packet = this.file.slice(this._fileProgress, this._fileProgress + this._packetSize); this._fileProgress += this._packetSize; return new Promise((resolve, reject) => { - this.bleObject.writeWithoutResponse(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, () => { + this.bleObject.write(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, () => { resolve(true); }, (error) => { this._fileProgress -= this._packetSize; diff --git a/dist/index.es.js b/dist/index.es.js index fadb034..40ffe0c 100644 --- a/dist/index.es.js +++ b/dist/index.es.js @@ -175,7 +175,7 @@ class Updater { let packet = this.file.slice(this._fileProgress, this._fileProgress + this._packetSize); this._fileProgress += this._packetSize; return new Promise((resolve, reject) => { - this.bleObject.writeWithoutResponse(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, () => { + this.bleObject.write(this.bleDeviceId, this._updaterServiceUUID, this._updateFileCharacteristicUUID, packet.buffer, () => { resolve(true); }, (error) => { this._fileProgress -= this._packetSize; diff --git a/package.json b/package.json index 20ea9a7..70a97ce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "updaterweblibrary", - "version": "1.0.24", + "version": "1.0.25", "description": "OTA Updater App frontend library", "repository": { "type": "git",