@magicred-1/react-native-lxmf 0.2.4 → 0.2.6

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.
@@ -538,12 +538,13 @@ extension BLEManager: CBPeripheralManagerDelegate {
538
538
  }
539
539
  }
540
540
  }
541
+ // CoreBluetooth no-ops this for writeWithoutResponse — safe to call unconditionally.
541
542
  peripheral.respond(to: request, withResult: .success)
542
543
  }
543
544
  }
544
545
 
545
546
  func peripheralManager(_ peripheral: CBPeripheralManager, central: CBCentral,
546
- didSubscribeTo characteristic: CBCharacteristic) {
547
+ didSubscribeTo characteristic: CBCharacteristic) {
547
548
  if !subscribedCentrals.contains(where: { $0.identifier == central.identifier }) {
548
549
  subscribedCentrals.append(central)
549
550
  // Register central as a peer with Rust
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicred-1/react-native-lxmf",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "description": "LXMF Reticulum mesh networking for React Native + Expo",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",