react-native-gizwits-sdk-v5 1.4.3 → 1.4.4

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.
@@ -311,9 +311,9 @@ class RNGizDeviceManagerModule(reactContext: ReactApplicationContext) : ReactCon
311
311
  if (config !=null && device !=null) {
312
312
  CoroutineScope(Dispatchers.IO).launch {
313
313
  val res = when(config.type) {
314
- CapacityTypes.BLE -> device.bleCapability.disconnect()
315
- CapacityTypes.LAN -> device.lanCapability.disconnect()
316
- CapacityTypes.MQTT -> device.mqttCapability.disconnect()
314
+ CapacityTypes.BLE -> device.bleCapability.disConnect()
315
+ CapacityTypes.LAN -> device.lanCapability.disConnect()
316
+ CapacityTypes.MQTT -> device.mqttCapability.disConnect()
317
317
  }
318
318
  GizRNCallbackManager.callbackWithResult(callback = result, result = res)
319
319
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-gizwits-sdk-v5",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "Gizwits",
5
5
  "homepage": "https://github.com/demchenkoalex/react-native-gizwits-sdk-v5#readme",
6
6
  "main": "lib/index.js",