@psdk/device-ble-taro
Advanced tools
Comparing version 0.2.56 to 0.2.57
@@ -283,3 +283,3 @@ "use strict"; | ||
// @ts-ignore | ||
return (properties.writeNoResponse || properties.write) && (properties.read); | ||
return properties.write && (properties.read); | ||
}); | ||
@@ -294,3 +294,3 @@ if (pickedCharacteristic) { | ||
} | ||
if ((_f = (_e = this.options) === null || _e === void 0 ? void 0 : _e.allowDetectDifferentCharacteristic) !== null && _f !== void 0 ? _f : false) { | ||
if ((_f = (_e = this.options) === null || _e === void 0 ? void 0 : _e.allowDetectDifferentCharacteristic) !== null && _f !== void 0 ? _f : true) { | ||
// choose different characteristic with write and read properties | ||
@@ -305,3 +305,3 @@ for (const service of options.services) { | ||
// @ts-ignore | ||
return (properties.writeNoResponse || properties.write); | ||
return properties.write; | ||
}); | ||
@@ -331,3 +331,3 @@ const readCharacteristic = characteristics.find(characteristic => { | ||
// @ts-ignore | ||
return (properties.writeNoResponse || properties.write); | ||
return properties.write; | ||
}); | ||
@@ -334,0 +334,0 @@ if (writeCharacteristic) { |
{ | ||
"name": "@psdk/device-ble-taro", | ||
"version": "0.2.56", | ||
"version": "0.2.57", | ||
"description": "psdk", | ||
@@ -49,4 +49,4 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@psdk/device-bluetooth-traits": "0.2.56", | ||
"@psdk/frame-father": "0.2.56", | ||
"@psdk/device-bluetooth-traits": "0.2.57", | ||
"@psdk/frame-father": "0.2.57", | ||
"await-timeout": "^1.1.1" | ||
@@ -58,3 +58,3 @@ }, | ||
], | ||
"gitHead": "d9f7956fc95c14f3986caa8209f496326ecdd8b5" | ||
"gitHead": "9f9f4a756c4cddbfd4a81300ea7fd66a4c28b0fb" | ||
} |
27794
+ Added@psdk/device-bluetooth-traits@0.2.57(transitive)
+ Added@psdk/frame-father@0.2.57(transitive)
- Removed@psdk/device-bluetooth-traits@0.2.56(transitive)
- Removed@psdk/frame-father@0.2.56(transitive)
Updated@psdk/frame-father@0.2.57