@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/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
  }
@@ -128,6 +128,9 @@ export interface ClickData {
128
128
  isFullText: BooleanFlag;
129
129
  w: number;
130
130
  h: number;
131
+ tag: string;
132
+ class: string;
133
+ id: string;
131
134
  }
132
135
 
133
136
  export interface TextInfo {