@heycatch/sdk 0.8.2-dev.1657 → 0.8.3
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.
- package/README.md +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/react-native.cjs +1 -1
- package/dist/server.cjs +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ analytics.init({
|
|
|
18
18
|
maskAllText: true, // strip captured elements' text content
|
|
19
19
|
maskAllElementAttributes: true, // strip captured elements' attributes
|
|
20
20
|
propertyDenylist: ['some_property'], // drop specific properties from every event (HeyCatch's own attribution keys can't be denylisted)
|
|
21
|
-
beforeSend: event => event, // runs on every event right before it's queued; return null to drop it
|
|
21
|
+
beforeSend: event => event, // runs on every event right before it's queued; return null to drop it (the SDK's own delivery and attribution keys are put back after it)
|
|
22
22
|
persistence: 'localStorage', // where the distinct id + super properties are stored
|
|
23
23
|
disablePersistence: false, // disable persistence entirely
|
|
24
24
|
cookieExpirationDays: 365, // days before the persistence cookie expires
|