expo-beacon 0.6.1 → 0.6.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.
@@ -406,7 +406,7 @@ class ExpoBeaconModule : Module(), BeaconConsumer {
406
406
 
407
407
  Function("destroyEventLogs") {
408
408
  loggingEnabled = false
409
- val ctx = appContext.reactContext ?: return@Function
409
+ val ctx = appContext.reactContext ?: return@Function null
410
410
  eventLogger?.destroyDatabase(ctx)
411
411
  eventLogger = null
412
412
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-beacon",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Expo module for scanning, pairing, and monitoring iBeacons on Android and iOS",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",