@nexly/react-native 0.14.0 → 0.15.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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -73,3 +73,5 @@ Hook it up to your router of choice. Example with `@react-navigation/native`:
73
73
  - Sends `session_ping` when the app goes to background, and `session_end` on provider unmount.
74
74
 
75
75
  No scroll/click tracking (those are DOM-only); if you want tap analytics, send custom `engagement` events yourself.
76
+
77
+ `startEngagement()` is idempotent — calling it again stops the previous subscription first, so Fast Refresh or double-mounts cannot produce duplicate listeners.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexly/react-native",
3
- "version": "0.14.0",
3
+ "version": "0.15.1",
4
4
  "description": "React Native bindings for Nexly: fetch transport, AsyncStorage IDs, AppState engagement on top of @nexly/core",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -43,7 +43,7 @@
43
43
  "react-native": ">=0.72.0"
44
44
  },
45
45
  "dependencies": {
46
- "@nexly/core": "0.14.0"
46
+ "@nexly/core": "0.15.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@react-native-async-storage/async-storage": "^2.1.2",