aesirx-analytics 2.3.2 → 2.3.3

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.
@@ -7,7 +7,7 @@ import {
7
7
  WALLET_CONNECT,
8
8
  getWeb3ID,
9
9
  useConsentStatus_default
10
- } from "./chunk-5Q2J5YAN.js";
10
+ } from "./chunk-UJC5773H.js";
11
11
  import {
12
12
  AnalyticsContext,
13
13
  agreeConsents,
@@ -9,7 +9,7 @@ import {
9
9
  check_circle_default,
10
10
  getWeb3ID,
11
11
  useConsentStatus_default
12
- } from "./chunk-5Q2J5YAN.js";
12
+ } from "./chunk-UJC5773H.js";
13
13
  import {
14
14
  AnalyticsContext,
15
15
  agreeConsents,
@@ -792,7 +792,8 @@ var ConsentComponentCustomApp = (props) => {
792
792
  onClick: async () => {
793
793
  if (revokeConsentOption === "consent") {
794
794
  await handleRevokeBtn();
795
- if (level > 1 || window["aesirx1stparty"]) {
795
+ const levelRevoke = sessionStorage.getItem("aesirx-analytics-revoke") && parseInt(sessionStorage.getItem("aesirx-analytics-revoke"));
796
+ if (levelRevoke > 1 || window["aesirx1stparty"]) {
796
797
  setTimeout(() => {
797
798
  window.location.reload();
798
799
  }, 1e3);