aesirx-analytics 2.3.1 → 2.3.2
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.
@@ -165,8 +165,12 @@ var useConsentStatus = (endpoint, layout, props) => {
|
|
165
165
|
if (level2 && level2 !== "0") {
|
166
166
|
window.funcAfterConsent && window.funcAfterConsent();
|
167
167
|
window.configBlockJS && unBlockScripts();
|
168
|
-
if (window["aesirx_analytics_degistered_scripts"]) {
|
169
|
-
const blockJSList =
|
168
|
+
if (window["aesirx_analytics_degistered_scripts"] || window["aesirx_analytics_deregistered_scripts_head"] || window["aesirx_analytics_deregistered_scripts_footer"]) {
|
169
|
+
const blockJSList = Object.assign(
|
170
|
+
window["aesirx_analytics_degistered_scripts"],
|
171
|
+
window["aesirx_analytics_deregistered_scripts_head"],
|
172
|
+
window["aesirx_analytics_deregistered_scripts_footer"]
|
173
|
+
);
|
170
174
|
Object.keys(blockJSList).forEach((key) => {
|
171
175
|
const scriptNode = document.createElement("script");
|
172
176
|
scriptNode.src = blockJSList[key].src + (blockJSList[key].ver ? `?ver=${blockJSList[key].ver}` : "");
|
package/dist/index.js
CHANGED
@@ -74,8 +74,8 @@ var handle_default = AnalyticsHandle;
|
|
74
74
|
|
75
75
|
// src/AnalyticsNext/index.tsx
|
76
76
|
import dynamic from "next/dynamic";
|
77
|
-
var ConsentComponent = dynamic(() => import("./Consent-
|
78
|
-
var ConsentComponentCustom = dynamic(() => import("./ConsentCustom-
|
77
|
+
var ConsentComponent = dynamic(() => import("./Consent-YBWN6KSG.js"), { ssr: false });
|
78
|
+
var ConsentComponentCustom = dynamic(() => import("./ConsentCustom-FQQXTJLW.js"), { ssr: false });
|
79
79
|
var AnalyticsNext = ({
|
80
80
|
router,
|
81
81
|
attributes,
|
@@ -178,8 +178,8 @@ var AnalyticsHandle2 = ({ location, history, children }) => {
|
|
178
178
|
var handle_default2 = AnalyticsHandle2;
|
179
179
|
|
180
180
|
// src/AnalyticsReact/index.tsx
|
181
|
-
var ConsentComponent2 = React4.lazy(() => import("./Consent-
|
182
|
-
var ConsentComponentCustom2 = React4.lazy(() => import("./ConsentCustom-
|
181
|
+
var ConsentComponent2 = React4.lazy(() => import("./Consent-YBWN6KSG.js"));
|
182
|
+
var ConsentComponentCustom2 = React4.lazy(() => import("./ConsentCustom-FQQXTJLW.js"));
|
183
183
|
var AnalyticsReact = ({
|
184
184
|
location,
|
185
185
|
history,
|