@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 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