@elliemae/pui-logrocket 1.1.16 → 1.1.17
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/docs/404.html +2 -2
- package/build/docs/api/functions/buildLogRocketQueryParams/index.html +2 -2
- package/build/docs/api/functions/hasUserConsentedToSessionRecording/index.html +5 -4
- package/build/docs/api/functions/initLogRocket/index.html +2 -2
- package/build/docs/api/index.html +2 -2
- package/build/docs/api/type-aliases/LROptions/index.html +2 -2
- package/build/docs/api/variables/LogRocket/index.html +2 -2
- package/build/docs/assets/js/04ee7372.ff5b8d05.js +1 -0
- package/build/docs/assets/js/{211c08f1.da35d82d.js → 211c08f1.531a7dab.js} +1 -1
- package/build/docs/assets/js/e376fc56.9f577545.js +1 -0
- package/build/docs/assets/js/{main.df60512c.js → main.aec3bbc3.js} +2 -2
- package/build/docs/assets/js/runtime~main.471e2b2b.js +1 -0
- package/build/docs/compliance/index.html +10 -2
- package/build/docs/index.html +2 -2
- package/build/docs/usage-guide/index.html +15 -3
- package/dist/cjs/logrocket.js +9 -0
- package/dist/esm/logrocket.js +9 -0
- package/dist/public/index.html +1 -1
- package/dist/public/js/{emuiLogrocket.dbc52447421309982993.js → emuiLogrocket.f167e4f3fdd07d549011.js} +16 -16
- package/dist/public/js/emuiLogrocket.f167e4f3fdd07d549011.js.br +0 -0
- package/dist/public/js/emuiLogrocket.f167e4f3fdd07d549011.js.gz +0 -0
- package/dist/public/js/emuiLogrocket.f167e4f3fdd07d549011.js.map +1 -0
- package/dist/types/lib/logrocket.d.ts +4 -3
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/umd/index.js +15 -15
- package/dist/umd/index.js.br +0 -0
- package/dist/umd/index.js.gz +0 -0
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
- package/build/docs/assets/js/04ee7372.b9517d64.js +0 -1
- package/build/docs/assets/js/e376fc56.b068d96b.js +0 -1
- package/build/docs/assets/js/runtime~main.430abecc.js +0 -1
- package/dist/public/js/emuiLogrocket.dbc52447421309982993.js.br +0 -0
- package/dist/public/js/emuiLogrocket.dbc52447421309982993.js.gz +0 -0
- package/dist/public/js/emuiLogrocket.dbc52447421309982993.js.map +0 -1
- /package/build/docs/assets/js/{main.df60512c.js.LICENSE.txt → main.aec3bbc3.js.LICENSE.txt} +0 -0
|
@@ -21,10 +21,11 @@ export type LROptions = Parameters<typeof LogRocket.init>[1] & {
|
|
|
21
21
|
* This function checks for user consent using multiple strategies, in the following order:
|
|
22
22
|
* 1. Checks for a manual override via `window.emui.dangerouslyOverrideSessionRecordingConsent`.
|
|
23
23
|
* 2. If OneTrust is loaded, checks if `window.OnetrustActiveGroups` contains the session recording group ID ('C0003').
|
|
24
|
-
* 3. If OneTrust is not loaded, checks the `analyticsConsent` query parameter in the URL.
|
|
25
|
-
* 4.
|
|
24
|
+
* 3. If OneTrust is not loaded, checks the `analyticsConsent` query parameter in the current URL.
|
|
25
|
+
* 4. If running in an iframe, checks the `analyticsConsent` query parameter in the iframe's src URL.
|
|
26
|
+
* 5. Defaults to `false` if no consent can be determined.
|
|
26
27
|
*
|
|
27
|
-
* Note: When OneTrust is present, the OneTrust consent groups take precedence over
|
|
28
|
+
* Note: When OneTrust is present, the OneTrust consent groups take precedence over URL parameters.
|
|
28
29
|
* The `analyticsConsent` URL parameter only applies when OneTrust is not loaded.
|
|
29
30
|
* @returns {boolean} `true` if the user has consented to session recording, `false` otherwise.
|
|
30
31
|
*/
|