@gemx-dev/clarity-js 0.8.59 → 0.8.60
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 +76 -46
- package/build/clarity.min.js +1 -1
- package/build/clarity.module.js +76 -46
- package/build/clarity.performance.js +1 -1
- package/package.json +1 -1
- package/src/core/config.ts +1 -0
- package/src/core/dynamic.ts +7 -2
- package/src/core/version.ts +1 -1
- package/src/data/metadata.ts +3 -3
- package/src/interaction/encode.ts +1 -0
- package/src/interaction/index.ts +3 -0
- package/src/interaction/pageshow.ts +35 -0
- package/src/interaction/scroll.ts +3 -2
- package/test/consentv2.test.ts +1164 -0
- package/types/core.d.ts +1 -0
- package/types/data.d.ts +15 -1
- package/types/interaction.d.ts +1 -0
package/types/core.d.ts
CHANGED
package/types/data.d.ts
CHANGED
|
@@ -212,6 +212,7 @@ export const enum Code {
|
|
|
212
212
|
Config = 8,
|
|
213
213
|
FunctionExecutionTime = 9,
|
|
214
214
|
LeanLimit = 10,
|
|
215
|
+
BFCache = 11,
|
|
215
216
|
}
|
|
216
217
|
|
|
217
218
|
export const enum Severity {
|
|
@@ -395,7 +396,20 @@ export const enum ConsentSource {
|
|
|
395
396
|
// 100-255 Reserved for CMP integration, both internal and external
|
|
396
397
|
ClarityShopifyPixel = 100,
|
|
397
398
|
ClarityShopifyApp = 101,
|
|
398
|
-
UET = 102
|
|
399
|
+
UET = 102,
|
|
400
|
+
|
|
401
|
+
//CMPs
|
|
402
|
+
CmpMyAgilePrivacy = 150,
|
|
403
|
+
CmpUserCentrics = 151,
|
|
404
|
+
CmpCookiebot = 152,
|
|
405
|
+
CmpAxeptio = 153,
|
|
406
|
+
CmpCookiehub = 154,
|
|
407
|
+
CmpCookieYes = 155,
|
|
408
|
+
CmpWebTofee = 156,
|
|
409
|
+
CmpWPConsent = 157,
|
|
410
|
+
CmpSeersAI = 158,
|
|
411
|
+
// Reserved to indicate an unknown consent source
|
|
412
|
+
Unknown = 255,
|
|
399
413
|
}
|
|
400
414
|
|
|
401
415
|
/* Helper Interfaces */
|