aesirx-analytics 2.2.13 → 2.2.15
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/dist/{Consent-BZPDMZRF.js → Consent-7KAMDZ4V.js} +2 -2
- package/dist/{ConsentCustom-JYEILOEZ.js → ConsentCustom-BWBSRP5V.js} +4 -3
- package/dist/analytics.js +58 -55
- package/dist/{chunk-N4WREXIA.js → chunk-SBBLINO2.js} +8 -0
- package/dist/{chunk-MPD57P7C.js → chunk-YM52A2TI.js} +5 -2
- package/dist/index.js +5 -5
- package/package.json +1 -1
@@ -1649,6 +1649,14 @@ var revokeConsents = async (endpoint, level, uuid, wallet, signature, web3id, jw
|
|
1649
1649
|
sessionStorage.setItem("consentGranted", "false");
|
1650
1650
|
try {
|
1651
1651
|
switch (level) {
|
1652
|
+
case "1":
|
1653
|
+
await axios.put(`${url}`, null, {
|
1654
|
+
headers: {
|
1655
|
+
"Content-Type": "application/json",
|
1656
|
+
Authorization: "Bearer " + jwt
|
1657
|
+
}
|
1658
|
+
});
|
1659
|
+
break;
|
1652
1660
|
case "2":
|
1653
1661
|
await axios.put(`${url}`, null, {
|
1654
1662
|
headers: {
|
@@ -4,7 +4,7 @@ import {
|
|
4
4
|
getConsents,
|
5
5
|
privacy_default,
|
6
6
|
useTranslation
|
7
|
-
} from "./chunk-
|
7
|
+
} from "./chunk-SBBLINO2.js";
|
8
8
|
|
9
9
|
// src/Hooks/config.ts
|
10
10
|
import {
|
@@ -10134,9 +10134,12 @@ body.modal-sso-open .aesirxconsent .toast-container {
|
|
10134
10134
|
opacity: var(--aesirxconsent-backdrop-opacity);
|
10135
10135
|
}
|
10136
10136
|
|
10137
|
-
.aesirxsso {
|
10137
|
+
body .aesirxsso {
|
10138
10138
|
color: #5f5e70;
|
10139
10139
|
}
|
10140
|
+
body .aesirxsso .btn {
|
10141
|
+
--aesirxsso-btn-font-size: 16px;
|
10142
|
+
}
|
10140
10143
|
|
10141
10144
|
.aesirxconsent .aesirxsso .modal {
|
10142
10145
|
--aesirxconsent-modal-width: 846px;
|
package/dist/index.js
CHANGED
@@ -12,7 +12,7 @@ import {
|
|
12
12
|
getConsentTemplate,
|
13
13
|
privacy_default,
|
14
14
|
useTranslation
|
15
|
-
} from "./chunk-
|
15
|
+
} from "./chunk-SBBLINO2.js";
|
16
16
|
|
17
17
|
// src/AnalyticsNext/index.tsx
|
18
18
|
import React2, { useEffect as useEffect2, useState as useState2 } from "react";
|
@@ -75,8 +75,8 @@ var handle_default = AnalyticsHandle;
|
|
75
75
|
|
76
76
|
// src/AnalyticsNext/index.tsx
|
77
77
|
import dynamic from "next/dynamic";
|
78
|
-
var ConsentComponent = dynamic(() => import("./Consent-
|
79
|
-
var ConsentComponentCustom = dynamic(() => import("./ConsentCustom-
|
78
|
+
var ConsentComponent = dynamic(() => import("./Consent-7KAMDZ4V.js"), { ssr: false });
|
79
|
+
var ConsentComponentCustom = dynamic(() => import("./ConsentCustom-BWBSRP5V.js"), { ssr: false });
|
80
80
|
var AnalyticsNext = ({
|
81
81
|
router,
|
82
82
|
attributes,
|
@@ -167,8 +167,8 @@ var AnalyticsHandle2 = ({ location, history, children }) => {
|
|
167
167
|
var handle_default2 = AnalyticsHandle2;
|
168
168
|
|
169
169
|
// src/AnalyticsReact/index.tsx
|
170
|
-
var ConsentComponent2 = React4.lazy(() => import("./Consent-
|
171
|
-
var ConsentComponentCustom2 = React4.lazy(() => import("./ConsentCustom-
|
170
|
+
var ConsentComponent2 = React4.lazy(() => import("./Consent-7KAMDZ4V.js"));
|
171
|
+
var ConsentComponentCustom2 = React4.lazy(() => import("./ConsentCustom-BWBSRP5V.js"));
|
172
172
|
var AnalyticsReact = ({ location, history, oldLayout = false, children }) => {
|
173
173
|
const [layout, setLayout] = useState3(process.env.REACT_APP_CONSENT_LAYOUT ?? "simple-web-2");
|
174
174
|
const [gtagId, setGtagId] = useState3(process.env.REACT_APP_ANALYTICS_GTAG_ID);
|