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.
@@ -89,6 +89,7 @@ var useConsentStatus = (endpoint, layout, props) => {
89
89
  sessionStorage.removeItem("aesirx-analytics-allow");
90
90
  return;
91
91
  } else {
92
+ setShow(false);
92
93
  sessionStorage.setItem("aesirx-analytics-uuid", analyticsContext.visitor_uuid);
93
94
  sessionStorage.setItem("aesirx-analytics-allow", "1");
94
95
  if (consent) {
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-YBWN6KSG.js"), { ssr: false });
78
- var ConsentComponentCustom = dynamic(() => import("./ConsentCustom-FQQXTJLW.js"), { ssr: false });
77
+ var ConsentComponent = dynamic(() => import("./Consent-A2R6PCLK.js"), { ssr: false });
78
+ var ConsentComponentCustom = dynamic(() => import("./ConsentCustom-LYMWYNRI.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-YBWN6KSG.js"));
182
- var ConsentComponentCustom2 = React4.lazy(() => import("./ConsentCustom-FQQXTJLW.js"));
181
+ var ConsentComponent2 = React4.lazy(() => import("./Consent-A2R6PCLK.js"));
182
+ var ConsentComponentCustom2 = React4.lazy(() => import("./ConsentCustom-LYMWYNRI.js"));
183
183
  var AnalyticsReact = ({
184
184
  location,
185
185
  history,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aesirx-analytics",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "license": "GPL-3.0-only",
5
5
  "author": "AesirX",
6
6
  "repository": "https://gitlab.redweb.dk/aesirx/analytics",
@@ -99,6 +99,7 @@
99
99
  "@walletconnect/core": "2.9.1",
100
100
  "@walletconnect/types": "2.9.1",
101
101
  "@walletconnect/sign-client": "2.9.1",
102
+ "cookie": "^0.7.0",
102
103
  "rollup": "3.29.5"
103
104
  }
104
105
  }