expo-beacon 0.7.0 → 0.7.1

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.
@@ -26,6 +26,13 @@ internal const val MONITORING_SCAN_PERIOD_MS = 1100L
26
26
  */
27
27
  internal const val MONITORING_BETWEEN_SCAN_PERIOD_MS = 1000L
28
28
 
29
+ /**
30
+ * AltBeacon region exit period — how long after the last sighting before
31
+ * MonitorNotifier.didExitRegion fires. Set generously to avoid premature
32
+ * monitor-level exits that bypass ranging hysteresis.
33
+ */
34
+ internal const val REGION_EXIT_PERIOD_MS = 60000L
35
+
29
36
  /**
30
37
  * Grace window after the last ranging sighting during which MonitorNotifier.didExitRegion
31
38
  * is suppressed. Matched to REGION_EXIT_PERIOD_MS so that a monitor-level exit is only
@@ -52,13 +59,6 @@ internal const val DISTANCE_INACTIVITY_MS = 60_000L
52
59
  /** Number of consecutive readings required to confirm a distance-based enter or exit transition. */
53
60
  internal const val HYSTERESIS_COUNT = 3
54
61
 
55
- /**
56
- * AltBeacon region exit period — how long after the last sighting before
57
- * MonitorNotifier.didExitRegion fires. Set generously to avoid premature
58
- * monitor-level exits that bypass ranging hysteresis.
59
- */
60
- internal const val REGION_EXIT_PERIOD_MS = 60000L
61
-
62
62
  /** Default minimum RSSI (dBm) below which beacon readings are discarded as unreliable. */
63
63
  internal const val DEFAULT_MIN_RSSI = -85
64
64
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-beacon",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
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",