@mentra/bluetooth-sdk 0.1.1 → 0.1.2

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.
@@ -2389,9 +2389,9 @@ public final class MentraBluetoothSDK {
2389
2389
  }
2390
2390
 
2391
2391
  if changes.keys.contains(where: { ["connected", "fullyBooted", "connectionState"].contains($0) }) {
2392
- merged["connected"] = GlassesStore.shared.get("glasses", "connected") as? Bool ?? false
2393
- merged["fullyBooted"] = GlassesStore.shared.get("glasses", "fullyBooted") as? Bool ?? false
2394
- merged["connectionState"] = GlassesStore.shared.get("glasses", "connectionState") as? String ?? "DISCONNECTED"
2392
+ merged["connected"] = DeviceStore.shared.get("glasses", "connected") as? Bool ?? false
2393
+ merged["fullyBooted"] = DeviceStore.shared.get("glasses", "fullyBooted") as? Bool ?? false
2394
+ merged["connectionState"] = DeviceStore.shared.get("glasses", "connectionState") as? String ?? "DISCONNECTED"
2395
2395
  }
2396
2396
 
2397
2397
  if changes["signalStrengthUpdatedAt"] != nil, changes["signalStrength"] == nil {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mentra/bluetooth-sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "SDK for communicating with smart glasses",
5
5
  "main": "build/index.js",
6
6
  "react-native": "src/index.ts",