@gemx-dev/clarity-js 0.8.39 → 0.8.43
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/build/clarity.extended.js +1 -1
- package/build/clarity.insight.js +1 -1
- package/build/clarity.js +56 -32
- package/build/clarity.min.js +1 -1
- package/build/clarity.module.js +56 -32
- package/build/clarity.performance.js +1 -1
- package/package.json +2 -3
- package/src/core/dynamic.ts +13 -7
- package/src/core/scrub.ts +2 -0
- package/src/core/version.ts +1 -1
- package/src/data/consent.ts +7 -4
- package/src/data/metadata.ts +12 -9
- package/src/interaction/click.ts +16 -6
- package/src/interaction/encode.ts +3 -0
- package/types/data.d.ts +4 -0
- package/types/interaction.d.ts +3 -0
package/types/data.d.ts
CHANGED
|
@@ -253,6 +253,9 @@ export const enum Setting {
|
|
|
253
253
|
PingTimeout = 5 * Time.Minute, // 5 Minutes
|
|
254
254
|
SummaryInterval = 100, // Same events within 100ms will be collapsed into single summary
|
|
255
255
|
ClickText = 25, // Maximum number of characters to send as part of Click event's text field
|
|
256
|
+
ClickClass = 50, // Maximum number of characters to send as part of Click event's class name
|
|
257
|
+
ClickTag = 10, // Maximum number of characters to send as part of Click event's tag
|
|
258
|
+
ClickId = 25, // Maximum number of characters to send as part of Click event's id
|
|
256
259
|
PayloadLimit = 128, // Do not allow more than specified payloads per page
|
|
257
260
|
PageLimit = 128, // Do not allow more than 128 pages in a session
|
|
258
261
|
ShutdownLimit = 2 * Time.Hour, // Shutdown instrumentation after specified time
|
|
@@ -546,6 +549,7 @@ export interface Interaction {
|
|
|
546
549
|
}
|
|
547
550
|
|
|
548
551
|
export interface ConsentState {
|
|
552
|
+
source?: ConsentSource;
|
|
549
553
|
ad_Storage?: string;
|
|
550
554
|
analytics_Storage?: string;
|
|
551
555
|
}
|