brilliantsole 0.0.23 → 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 +1 -1
- 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 +1 -1
- package/build/brilliantsole.node.module.js.map +1 -1
- package/package.json +1 -1
- package/src/server/BaseClient.ts +1 -1
- package/src/server/BaseServer.ts +1 -1
package/package.json
CHANGED
package/src/server/BaseClient.ts
CHANGED
|
@@ -196,7 +196,7 @@ abstract class BaseClient {
|
|
|
196
196
|
}
|
|
197
197
|
const { string: connectedBluetoothDeviceIdStrings } = parseStringFromDataView(dataView, byteOffset);
|
|
198
198
|
_console.log({ connectedBluetoothDeviceIdStrings });
|
|
199
|
-
const connectedBluetoothDeviceIds = JSON.parse(connectedBluetoothDeviceIdStrings);
|
|
199
|
+
const connectedBluetoothDeviceIds = JSON.parse(connectedBluetoothDeviceIdStrings).connectedDevices;
|
|
200
200
|
_console.log({ connectedBluetoothDeviceIds });
|
|
201
201
|
this.onConnectedBluetoothDeviceIds(connectedBluetoothDeviceIds);
|
|
202
202
|
}
|
package/src/server/BaseServer.ts
CHANGED
|
@@ -163,7 +163,7 @@ abstract class BaseServer {
|
|
|
163
163
|
get #connectedDevicesMessage() {
|
|
164
164
|
return createServerMessage({
|
|
165
165
|
type: "connectedDevices",
|
|
166
|
-
data: JSON.stringify(DeviceManager.ConnectedDevices.map((device) => device.bluetoothId)),
|
|
166
|
+
data: JSON.stringify({ connectedDevices: DeviceManager.ConnectedDevices.map((device) => device.bluetoothId) }),
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
169
|
|