brilliantsole 0.0.22 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/brilliantsole.cjs +2 -2
- package/build/brilliantsole.cjs.map +1 -1
- package/build/brilliantsole.js +1 -1
- package/build/brilliantsole.js.map +1 -1
- package/build/brilliantsole.min.js +1 -1
- package/build/brilliantsole.min.js.map +1 -1
- package/build/brilliantsole.module.js +1 -1
- package/build/brilliantsole.module.js.map +1 -1
- package/build/brilliantsole.module.min.js +1 -1
- package/build/brilliantsole.module.min.js.map +1 -1
- package/build/brilliantsole.node.module.js +2 -2
- package/build/brilliantsole.node.module.js.map +1 -1
- package/package.json +1 -1
- package/src/scanner/NobleScanner.ts +1 -1
- package/src/server/BaseClient.ts +1 -1
- package/src/server/BaseServer.ts +1 -1
|
@@ -5361,7 +5361,7 @@ _NobleScanner__isScanning = new WeakMap(), _NobleScanner__nobleState = new WeakM
|
|
|
5361
5361
|
const { manufacturerData, serviceData } = noblePeripheral.advertisement;
|
|
5362
5362
|
if (manufacturerData) {
|
|
5363
5363
|
_console$7.log("manufacturerData", manufacturerData);
|
|
5364
|
-
const deviceTypeEnum = manufacturerData.readUint8(
|
|
5364
|
+
const deviceTypeEnum = manufacturerData.readUint8(manufacturerData.byteLength - 1);
|
|
5365
5365
|
deviceType = DeviceTypes[deviceTypeEnum];
|
|
5366
5366
|
}
|
|
5367
5367
|
if (serviceData) {
|
|
@@ -5591,7 +5591,7 @@ _a = BaseServer, _BaseServer_clearSensorConfigurationsWhenNoClients = new WeakMa
|
|
|
5591
5591
|
}, _BaseServer_connectedDevicesMessage_get = function _BaseServer_connectedDevicesMessage_get() {
|
|
5592
5592
|
return createServerMessage({
|
|
5593
5593
|
type: "connectedDevices",
|
|
5594
|
-
data: JSON.stringify(DeviceManager$1.ConnectedDevices.map((device) => device.bluetoothId)),
|
|
5594
|
+
data: JSON.stringify({ connectedDevices: DeviceManager$1.ConnectedDevices.map((device) => device.bluetoothId) }),
|
|
5595
5595
|
});
|
|
5596
5596
|
}, _BaseServer_createDeviceMessage = function _BaseServer_createDeviceMessage(device, messageType, dataView) {
|
|
5597
5597
|
return {
|