aesirx-analytics 2.2.17 → 2.2.19
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/README.md +7 -7
- package/dist/{Consent-LAJMH5O6.js → Consent-TGYEV2XV.js} +37 -21
- package/dist/{ConsentCustom-FMWN7JO6.js → ConsentCustom-IBIHKHPV.js} +49 -28
- package/dist/analytics.js +129 -114
- package/dist/{chunk-P35CM6LS.js → chunk-EL2DBQXP.js} +38 -15
- package/dist/{chunk-PGOKXH35.js → chunk-ZC2ONV6W.js} +37 -14
- package/dist/index.js +29 -9
- package/package.json +2 -2
@@ -511,7 +511,9 @@ var common_default = {
|
|
511
511
|
txt_payment_1: "Denne tjeneste vil s\xE6tte cookies og indsamle data for at underst\xF8tte betalingsgateway-behandling.",
|
512
512
|
txt_payment_2: "For at fuldf\xF8re dit k\xF8b vil <span class='fw-semibold'>ordre- & brugerdata</span> blive delt med <span class='fw-semibold'>Sellix & Stripe</span> som vores <span class='fw-semibold'>betalingsbehandlere.</span> (*<span class='fw-semibold'>Google reCaptcha</span> bruges af <span class='fw-semibold'>betalingsbehandlerne</span> af <span class='fw-semibold'>sikkerhedsm\xE6ssige</span> \xE5rsager.)",
|
513
513
|
txt_payment_3: "Hvis du ikke giver samtykke til denne dataudveksling, vil du ikke kunne fuldf\xF8re betalingen.",
|
514
|
-
txt_payment_4: "For mere information, henvises til vores <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>privatlivspolitik.</a>."
|
514
|
+
txt_payment_4: "For mere information, henvises til vores <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>privatlivspolitik.</a>.",
|
515
|
+
txt_consent_nanagement: "Samtykkestyring",
|
516
|
+
txt_details: "Detaljer"
|
515
517
|
};
|
516
518
|
|
517
519
|
// src/translations/en/common.json
|
@@ -642,7 +644,9 @@ var common_default2 = {
|
|
642
644
|
txt_payment_1: "This service will set cookies & collect data to support payment gateway processing.",
|
643
645
|
txt_payment_2: "To complete your purchase, <span class='fw-semibold'>order & user data</span> will be shared with <span class='fw-semibold'>Sellix & Stripe</span> as our <span class='fw-semibold'>payment processors.</span> (*<span class='fw-semibold'>Google reCaptcha</span> is used by the <span class='fw-semibold'>payment processors</span> for <span class='fw-semibold'>security</span> purposes.)",
|
644
646
|
txt_payment_3: "If you do not consent to this data sharing, you will not be able to complete the payment.",
|
645
|
-
txt_payment_4: "For more information, please refer to our <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>privacy policy</a>."
|
647
|
+
txt_payment_4: "For more information, please refer to our <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>privacy policy</a>.",
|
648
|
+
txt_consent_nanagement: "Consent Management",
|
649
|
+
txt_details: "Details"
|
646
650
|
};
|
647
651
|
|
648
652
|
// src/translations/es/common.json
|
@@ -773,7 +777,9 @@ var common_default3 = {
|
|
773
777
|
txt_payment_1: "Este servicio establecer\xE1 cookies y recopilar\xE1 datos para respaldar el procesamiento de la pasarela de pagos.",
|
774
778
|
txt_payment_2: "Para completar su compra, los <span class='fw-semibold'>datos del pedido & del usuario</span> se compartir\xE1n con <span class='fw-semibold'>Sellix & Stripe</span> como nuestros <span class='fw-semibold'>procesadores de pagos.</span> (*<span class='fw-semibold'>Google reCaptcha</span> es utilizado por los <span class='fw-semibold'>procesadores de pagos</span> por razones de <span class='fw-semibold'>seguridad</span>.)",
|
775
779
|
txt_payment_3: "Si no consiente compartir estos datos, no podr\xE1 completar el pago.",
|
776
|
-
txt_payment_4: "Para m\xE1s informaci\xF3n, por favor consulte nuestra <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>pol\xEDtica de privacidad</a>."
|
780
|
+
txt_payment_4: "Para m\xE1s informaci\xF3n, por favor consulte nuestra <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>pol\xEDtica de privacidad</a>.",
|
781
|
+
txt_consent_nanagement: "Gesti\xF3n del consentimiento",
|
782
|
+
txt_details: "Detalles"
|
777
783
|
};
|
778
784
|
|
779
785
|
// src/translations/hr/common.json
|
@@ -904,7 +910,9 @@ var common_default4 = {
|
|
904
910
|
txt_payment_1: "Ova usluga postavit \u0107e kola\u010Di\u0107e i prikupljati podatke za podr\u0161ku obradi platnog prolaza.",
|
905
911
|
txt_payment_2: "Za dovr\u0161etak kupnje, <span class='fw-semibold'>podaci o narud\u017Ebi & korisniku</span> \u0107e biti podijeljeni s <span class='fw-semibold'>Sellix & Stripe</span> kao na\u0161im <span class='fw-semibold'>procesorima pla\u0107anja.</span> (*<span class='fw-semibold'>Google reCaptcha</span> koristi se od strane <span class='fw-semibold'>procesora pla\u0107anja</span> iz <span class='fw-semibold'>sigurnosnih</span> razloga.)",
|
906
912
|
txt_payment_3: "Ako ne pristanete na ovo dijeljenje podataka, ne\u0107ete mo\u0107i dovr\u0161iti pla\u0107anje.",
|
907
|
-
txt_payment_4: "Za vi\u0161e informacija, molimo pogledajte na\u0161u <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>politiku privatnosti</a>."
|
913
|
+
txt_payment_4: "Za vi\u0161e informacija, molimo pogledajte na\u0161u <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>politiku privatnosti</a>.",
|
914
|
+
txt_consent_nanagement: "Upravljanje pristankom",
|
915
|
+
txt_details: "Detalji"
|
908
916
|
};
|
909
917
|
|
910
918
|
// src/translations/th/common.json
|
@@ -1035,7 +1043,9 @@ var common_default5 = {
|
|
1035
1043
|
txt_payment_1: "\u0E1A\u0E23\u0E34\u0E01\u0E32\u0E23\u0E19\u0E35\u0E49\u0E08\u0E30\u0E15\u0E31\u0E49\u0E07\u0E04\u0E48\u0E32\u0E04\u0E38\u0E01\u0E01\u0E35\u0E49\u0E41\u0E25\u0E30\u0E23\u0E27\u0E1A\u0E23\u0E27\u0E21\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E23\u0E2D\u0E07\u0E23\u0E31\u0E1A\u0E01\u0E32\u0E23\u0E1B\u0E23\u0E30\u0E21\u0E27\u0E25\u0E1C\u0E25\u0E40\u0E01\u0E15\u0E40\u0E27\u0E22\u0E4C\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19.",
|
1036
1044
|
txt_payment_2: "\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E17\u0E33\u0E01\u0E32\u0E23\u0E0B\u0E37\u0E49\u0E2D\u0E43\u0E2B\u0E49\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E21\u0E1A\u0E39\u0E23\u0E13\u0E4C <span class='fw-semibold'>\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E01\u0E32\u0E23\u0E2A\u0E31\u0E48\u0E07\u0E0B\u0E37\u0E49\u0E2D\u0E41\u0E25\u0E30\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E1C\u0E39\u0E49\u0E43\u0E0A\u0E49</span> \u0E08\u0E30\u0E16\u0E39\u0E01\u0E41\u0E1A\u0E48\u0E07\u0E1B\u0E31\u0E19\u0E01\u0E31\u0E1A <span class='fw-semibold'>Sellix & Stripe</span> \u0E43\u0E19\u0E10\u0E32\u0E19\u0E30 <span class='fw-semibold'>\u0E15\u0E31\u0E27\u0E1B\u0E23\u0E30\u0E21\u0E27\u0E25\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19</span> \u0E02\u0E2D\u0E07\u0E40\u0E23\u0E32 (*<span class='fw-semibold'>Google reCaptcha</span> \u0E16\u0E39\u0E01\u0E43\u0E0A\u0E49\u0E42\u0E14\u0E22 <span class='fw-semibold'>\u0E15\u0E31\u0E27\u0E1B\u0E23\u0E30\u0E21\u0E27\u0E25\u0E1C\u0E25\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19</span> \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E27\u0E31\u0E15\u0E16\u0E38\u0E1B\u0E23\u0E30\u0E2A\u0E07\u0E04\u0E4C\u0E14\u0E49\u0E32\u0E19 <span class='fw-semibold'>\u0E04\u0E27\u0E32\u0E21\u0E1B\u0E25\u0E2D\u0E14\u0E20\u0E31\u0E22</span>)",
|
1037
1045
|
txt_payment_3: "\u0E2B\u0E32\u0E01\u0E04\u0E38\u0E13\u0E44\u0E21\u0E48\u0E22\u0E34\u0E19\u0E22\u0E2D\u0E21\u0E43\u0E2B\u0E49\u0E41\u0E1A\u0E48\u0E07\u0E1B\u0E31\u0E19\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E19\u0E35\u0E49 \u0E04\u0E38\u0E13\u0E08\u0E30\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E17\u0E33\u0E01\u0E32\u0E23\u0E0A\u0E33\u0E23\u0E30\u0E40\u0E07\u0E34\u0E19\u0E43\u0E2B\u0E49\u0E40\u0E2A\u0E23\u0E47\u0E08\u0E2A\u0E21\u0E1A\u0E39\u0E23\u0E13\u0E4C\u0E44\u0E14\u0E49",
|
1038
|
-
txt_payment_4: "\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21 \u0E42\u0E1B\u0E23\u0E14\u0E14\u0E39 <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>\u0E19\u0E42\u0E22\u0E1A\u0E32\u0E22\u0E04\u0E27\u0E32\u0E21\u0E40\u0E1B\u0E47\u0E19\u0E2A\u0E48\u0E27\u0E19\u0E15\u0E31\u0E27</a> \u0E02\u0E2D\u0E07\u0E40\u0E23\u0E32"
|
1046
|
+
txt_payment_4: "\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21 \u0E42\u0E1B\u0E23\u0E14\u0E14\u0E39 <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>\u0E19\u0E42\u0E22\u0E1A\u0E32\u0E22\u0E04\u0E27\u0E32\u0E21\u0E40\u0E1B\u0E47\u0E19\u0E2A\u0E48\u0E27\u0E19\u0E15\u0E31\u0E27</a> \u0E02\u0E2D\u0E07\u0E40\u0E23\u0E32",
|
1047
|
+
txt_consent_nanagement: "\u0E01\u0E32\u0E23\u0E08\u0E31\u0E14\u0E01\u0E32\u0E23\u0E04\u0E27\u0E32\u0E21\u0E22\u0E34\u0E19\u0E22\u0E2D\u0E21",
|
1048
|
+
txt_details: "\u0E23\u0E32\u0E22\u0E25\u0E30\u0E40\u0E2D\u0E35\u0E22\u0E14"
|
1039
1049
|
};
|
1040
1050
|
|
1041
1051
|
// src/translations/ua/common.json
|
@@ -1166,7 +1176,9 @@ var common_default6 = {
|
|
1166
1176
|
txt_payment_1: "\u0426\u044F \u043F\u043E\u0441\u043B\u0443\u0433\u0430 \u0431\u0443\u0434\u0435 \u0432\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u044E\u0432\u0430\u0442\u0438 \u0444\u0430\u0439\u043B\u0438 cookie \u0442\u0430 \u0437\u0431\u0438\u0440\u0430\u0442\u0438 \u0434\u0430\u043D\u0456 \u0434\u043B\u044F \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u043A\u0438 \u043E\u0431\u0440\u043E\u0431\u043A\u0438 \u043F\u043B\u0430\u0442\u0456\u0436\u043D\u043E\u0433\u043E \u0448\u043B\u044E\u0437\u0443.",
|
1167
1177
|
txt_payment_2: "To complete your purchase, <span class='fw-semibold'>order & user data</span> will be shared with <span class='fw-semibold'>Sellix & Stripe</span> as our <span class='fw-semibold'>payment processors.</span> (*<span class='fw-semibold'>Google reCaptcha</span> is used by the <span class='fw-semibold'>payment processors</span> for <span class='fw-semibold'>security</span> purposes.)",
|
1168
1178
|
txt_payment_3: "\u042F\u043A\u0449\u043E \u0432\u0438 \u043D\u0435 \u043F\u043E\u0433\u043E\u0434\u0436\u0443\u0454\u0442\u0435\u0441\u044F \u043D\u0430 \u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u0446\u0438\u0445 \u0434\u0430\u043D\u0438\u0445, \u0432\u0438 \u043D\u0435 \u0437\u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438 \u043F\u043B\u0430\u0442\u0456\u0436.",
|
1169
|
-
txt_payment_4: "\u0414\u043B\u044F \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043D\u044F \u0434\u043E\u0434\u0430\u0442\u043A\u043E\u0432\u043E\u0457 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043E\u0437\u043D\u0430\u0439\u043E\u043C\u0442\u0435\u0441\u044F \u0437 \u043D\u0430\u0448\u043E\u044E <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>\u043F\u043E\u043B\u0456\u0442\u0438\u043A\u043E\u044E \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456</a>."
|
1179
|
+
txt_payment_4: "\u0414\u043B\u044F \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043D\u044F \u0434\u043E\u0434\u0430\u0442\u043A\u043E\u0432\u043E\u0457 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457, \u0431\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u043E\u0437\u043D\u0430\u0439\u043E\u043C\u0442\u0435\u0441\u044F \u0437 \u043D\u0430\u0448\u043E\u044E <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>\u043F\u043E\u043B\u0456\u0442\u0438\u043A\u043E\u044E \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456</a>.",
|
1180
|
+
txt_consent_nanagement: "\u041A\u0435\u0440\u0443\u0432\u0430\u043D\u043D\u044F \u0437\u0433\u043E\u0434\u043E\u044E",
|
1181
|
+
txt_details: "\u0414\u0435\u0442\u0430\u043B\u0456"
|
1170
1182
|
};
|
1171
1183
|
|
1172
1184
|
// src/translations/vi/common.json
|
@@ -1297,7 +1309,9 @@ var common_default7 = {
|
|
1297
1309
|
txt_payment_1: "D\u1ECBch v\u1EE5 n\xE0y s\u1EBD c\xE0i \u0111\u1EB7t cookie v\xE0 thu th\u1EADp d\u1EEF li\u1EC7u \u0111\u1EC3 h\u1ED7 tr\u1EE3 x\u1EED l\xFD c\u1ED5ng thanh to\xE1n.",
|
1298
1310
|
txt_payment_2: "\u0110\u1EC3 ho\xE0n t\u1EA5t vi\u1EC7c mua h\xE0ng, <span class='fw-semibold'>d\u1EEF li\u1EC7u \u0111\u01A1n h\xE0ng & ng\u01B0\u1EDDi d\xF9ng</span> s\u1EBD \u0111\u01B0\u1EE3c chia s\u1EBB v\u1EDBi <span class='fw-semibold'>Sellix & Stripe</span> l\xE0 nh\u1EEFng <span class='fw-semibold'>b\u1ED9 x\u1EED l\xFD thanh to\xE1n</span> c\u1EE7a ch\xFAng t\xF4i. (*<span class='fw-semibold'>Google reCaptcha</span> \u0111\u01B0\u1EE3c c\xE1c <span class='fw-semibold'>b\u1ED9 x\u1EED l\xFD thanh to\xE1n</span> s\u1EED d\u1EE5ng cho m\u1EE5c \u0111\xEDch <span class='fw-semibold'>security</span> b\u1EA3o m\u1EADt.)",
|
1299
1311
|
txt_payment_3: "N\u1EBFu b\u1EA1n kh\xF4ng \u0111\u1ED3ng \xFD chia s\u1EBB d\u1EEF li\u1EC7u n\xE0y, b\u1EA1n s\u1EBD kh\xF4ng th\u1EC3 ho\xE0n t\u1EA5t thanh to\xE1n.",
|
1300
|
-
txt_payment_4: "\u0110\u1EC3 bi\u1EBFt th\xEAm th\xF4ng tin, vui l\xF2ng tham kh\u1EA3o <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>ch\xEDnh s\xE1ch b\u1EA3o m\u1EADt</a> c\u1EE7a ch\xFAng t\xF4i."
|
1312
|
+
txt_payment_4: "\u0110\u1EC3 bi\u1EBFt th\xEAm th\xF4ng tin, vui l\xF2ng tham kh\u1EA3o <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>ch\xEDnh s\xE1ch b\u1EA3o m\u1EADt</a> c\u1EE7a ch\xFAng t\xF4i.",
|
1313
|
+
txt_consent_nanagement: "Qu\u1EA3n l\xFD s\u1EF1 \u0111\u1ED3ng \xFD",
|
1314
|
+
txt_details: "Chi ti\u1EBFt"
|
1301
1315
|
};
|
1302
1316
|
|
1303
1317
|
// src/translations/fr/common.json
|
@@ -1428,7 +1442,9 @@ var common_default8 = {
|
|
1428
1442
|
txt_payment_1: "Ce service installera des cookies et collectera des donn\xE9es pour prendre en charge le traitement de la passerelle de paiement.",
|
1429
1443
|
txt_payment_2: "Pour finaliser votre achat, les <span class='fw-semibold'>donn\xE9es de commande & d'utilisateur</span> seront partag\xE9es avec <span class='fw-semibold'>Sellix & Stripe</span> nos <span class='fw-semibold'>processeurs de paiement.</span> (*<span class='fw-semibold'>Google reCaptcha</span> est utilis\xE9 par les <span class='fw-semibold'>processeurs de paiement</span> pour des raisons de <span class='fw-semibold'>s\xE9curit\xE9</span>.)",
|
1430
1444
|
txt_payment_3: "Si vous ne consentez pas \xE0 ce partage de donn\xE9es, vous ne pourrez pas finaliser le paiement.",
|
1431
|
-
txt_payment_4: "Pour plus d'informations, veuillez consulter notre <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>politique de confidentialit\xE9</a>."
|
1445
|
+
txt_payment_4: "Pour plus d'informations, veuillez consulter notre <a target='_blank' rel='noopener noreferrer' href='https://aesirx.io/privacy-policy' class='text-success fw-semibold'>politique de confidentialit\xE9</a>.",
|
1446
|
+
txt_consent_nanagement: "Gestion du consentement",
|
1447
|
+
txt_details: "D\xE9tails"
|
1432
1448
|
};
|
1433
1449
|
|
1434
1450
|
// src/translations/index.js
|
@@ -1592,13 +1608,20 @@ var agreeConsents = async (endpoint, level, uuid, consent, wallet, signature, we
|
|
1592
1608
|
}
|
1593
1609
|
};
|
1594
1610
|
var consentModeGrant = async (isGtag, id, layout) => {
|
1595
|
-
|
1596
|
-
isGtag ? loadGtagScript(id) : loadGtmScript(id);
|
1597
|
-
}
|
1598
|
-
sessionStorage.setItem("consentGranted", "true");
|
1599
|
-
function gtag(p0, p1, p2) {
|
1611
|
+
async function gtag(p0, p1, p2) {
|
1600
1612
|
dataLayer.push(arguments);
|
1601
1613
|
}
|
1614
|
+
if (layout === "simple-consent-mode") {
|
1615
|
+
if (isGtag && !document.querySelector(`script[src="https://www.googletagmanager.com/gtag/js?id=${id}"]`)) {
|
1616
|
+
await loadGtagScript(id);
|
1617
|
+
gtag("js", /* @__PURE__ */ new Date());
|
1618
|
+
gtag("config", `${id}`);
|
1619
|
+
} else if (!isGtag && !document.querySelector(`script[src="https://www.googletagmanager.com/gtm.js?id=${id}"]`)) {
|
1620
|
+
await loadGtmScript(id);
|
1621
|
+
dataLayer.push({ "gtm.start": (/* @__PURE__ */ new Date()).getTime(), event: "gtm.js" });
|
1622
|
+
}
|
1623
|
+
}
|
1624
|
+
sessionStorage.setItem("consentGranted", "true");
|
1602
1625
|
gtag("consent", "update", {
|
1603
1626
|
ad_user_data: "granted",
|
1604
1627
|
ad_personalization: "granted",
|
@@ -1606,14 +1629,14 @@ var consentModeGrant = async (isGtag, id, layout) => {
|
|
1606
1629
|
analytics_storage: "granted"
|
1607
1630
|
});
|
1608
1631
|
};
|
1609
|
-
var loadGtagScript = (gtagId) => {
|
1632
|
+
var loadGtagScript = async (gtagId) => {
|
1610
1633
|
const gtagScript = document.createElement("script");
|
1611
1634
|
gtagScript.async = true;
|
1612
1635
|
gtagScript.src = `https://www.googletagmanager.com/gtag/js?id=${gtagId}`;
|
1613
1636
|
const firstScript = document.getElementsByTagName("script")[0];
|
1614
1637
|
firstScript.parentNode.insertBefore(gtagScript, firstScript);
|
1615
1638
|
};
|
1616
|
-
var loadGtmScript = (gtmId) => {
|
1639
|
+
var loadGtmScript = async (gtmId) => {
|
1617
1640
|
const gtmScript = document.createElement("script");
|
1618
1641
|
gtmScript.async = true;
|
1619
1642
|
gtmScript.src = `https://www.googletagmanager.com/gtm.js?id=${gtmId}`;
|
@@ -4,7 +4,7 @@ import {
|
|
4
4
|
getConsents,
|
5
5
|
privacy_default,
|
6
6
|
useTranslation
|
7
|
-
} from "./chunk-
|
7
|
+
} from "./chunk-EL2DBQXP.js";
|
8
8
|
|
9
9
|
// src/Hooks/config.ts
|
10
10
|
import {
|
@@ -89,7 +89,7 @@ var useConsentStatus = (endpoint, layout, props) => {
|
|
89
89
|
const [, setRpcError] = useState("");
|
90
90
|
const rpc = useGrpcClient(network);
|
91
91
|
useEffect(() => {
|
92
|
-
if (rpc && layout !== "simple-consent-mode" &&
|
92
|
+
if (rpc && layout !== "simple-consent-mode" && level !== 1) {
|
93
93
|
setRpcGenesisHash(void 0);
|
94
94
|
rpc.getConsensusStatus().then((status) => {
|
95
95
|
return status.genesisBlock;
|
@@ -126,7 +126,7 @@ var useConsentStatus = (endpoint, layout, props) => {
|
|
126
126
|
}, [connectError]);
|
127
127
|
const handleLevel = useCallback(
|
128
128
|
async (_level) => {
|
129
|
-
if (layout !== "simple-consent-mode"
|
129
|
+
if (layout !== "simple-consent-mode") {
|
130
130
|
setLevel(_level);
|
131
131
|
if (_level > 3 && isDesktop && !connection && window["concordium"]) {
|
132
132
|
setActiveConnectorType(BROWSER_WALLET);
|
@@ -10179,6 +10179,21 @@ body .aesirxsso .btn {
|
|
10179
10179
|
--aesirxconsent-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
|
10180
10180
|
}
|
10181
10181
|
|
10182
|
+
.aesirxsso .fade, .aesirxsso.fade,
|
10183
|
+
.aesirxconsent .fade,
|
10184
|
+
.aesirxconsent.fade {
|
10185
|
+
opacity: 1;
|
10186
|
+
}
|
10187
|
+
.aesirxsso.modal.fade .modal-dialog,
|
10188
|
+
.aesirxconsent.modal.fade .modal-dialog {
|
10189
|
+
transform: none;
|
10190
|
+
}
|
10191
|
+
.aesirxsso .btn,
|
10192
|
+
.aesirxconsent .btn {
|
10193
|
+
text-transform: unset;
|
10194
|
+
white-space: normal;
|
10195
|
+
}
|
10196
|
+
|
10182
10197
|
[data-bs-theme=dark] .aesirxconsent {
|
10183
10198
|
color: #c8c8db;
|
10184
10199
|
}
|
@@ -10311,7 +10326,8 @@ var TermsComponent = ({
|
|
10311
10326
|
handleLevel,
|
10312
10327
|
isCustom = false,
|
10313
10328
|
layout,
|
10314
|
-
isRejectedLayout
|
10329
|
+
isRejectedLayout,
|
10330
|
+
customConsentText
|
10315
10331
|
}) => {
|
10316
10332
|
const { t } = useTranslation();
|
10317
10333
|
const handleReadmore = (status) => {
|
@@ -10360,7 +10376,7 @@ var TermsComponent = ({
|
|
10360
10376
|
Tab,
|
10361
10377
|
{
|
10362
10378
|
eventKey: "consent",
|
10363
|
-
title: "
|
10379
|
+
title: t("txt_consent_nanagement"),
|
10364
10380
|
className: "w-auto px-2 px-lg-4"
|
10365
10381
|
},
|
10366
10382
|
isRejectedLayout ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("p", { className: "mt-0 pt-4 mb-2" }, t("txt_you_have_chosen")), /* @__PURE__ */ React.createElement("p", { className: "mt-2 mb-3" }, t("txt_only_anonymized")), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
|
@@ -10381,7 +10397,14 @@ var TermsComponent = ({
|
|
10381
10397
|
})
|
10382
10398
|
}
|
10383
10399
|
}
|
10384
|
-
)))) : /* @__PURE__ */ React.createElement(React.Fragment, null,
|
10400
|
+
)))) : /* @__PURE__ */ React.createElement(React.Fragment, null, customConsentText ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
10401
|
+
"div",
|
10402
|
+
{
|
10403
|
+
dangerouslySetInnerHTML: {
|
10404
|
+
__html: customConsentText
|
10405
|
+
}
|
10406
|
+
}
|
10407
|
+
)) : /* @__PURE__ */ React.createElement(React.Fragment, null, " ", /* @__PURE__ */ React.createElement("p", { className: "mt-0 mb-1 mb-lg-2 text-black fw-semibold" }, t("txt_manage_your_consent")), /* @__PURE__ */ React.createElement("p", { className: "mt-0 mb-1 mb-lg-3" }, layout === "simple-consent-mode" ? t("txt_choose_how_we_use_simple") : t("txt_choose_how_we_use")), /* @__PURE__ */ React.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React.createElement("p", { className: "mb-1 mb-lg-2 text-black" }, t("txt_by_consenting")), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement("div", null, t("txt_analytics_behavioral")))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement("div", null, t("txt_form_data"))))), /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("p", { className: "mb-1 mb-lg-2 text-black" }, t("txt_please_note")), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement("div", null, t("txt_we_do_not_share")))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement("div", null, t("txt_you_can_opt_in")))), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
|
10385
10408
|
"div",
|
10386
10409
|
{
|
10387
10410
|
dangerouslySetInnerHTML: {
|
@@ -10390,9 +10413,9 @@ var TermsComponent = ({
|
|
10390
10413
|
})
|
10391
10414
|
}
|
10392
10415
|
}
|
10393
|
-
)))))
|
10416
|
+
))))))
|
10394
10417
|
),
|
10395
|
-
/* @__PURE__ */ React.createElement(Tab, { eventKey: "detail", title: "
|
10418
|
+
/* @__PURE__ */ React.createElement(Tab, { eventKey: "detail", title: t("txt_details"), className: "px-2 px-lg-4" }, /* @__PURE__ */ React.createElement("div", { className: `about_section` }, /* @__PURE__ */ React.createElement("p", { className: "mt-0 mb-1 mb-lg-2 text-black fw-semibold" }, t("txt_manage_your_consent")), /* @__PURE__ */ React.createElement("p", { className: "mt-0 mb-1 mb-lg-3" }, layout === "simple-consent-mode" ? t("txt_choose_how_we_use_simple") : t("txt_choose_how_we_use")), /* @__PURE__ */ React.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React.createElement("p", { className: "mb-1 mb-lg-2 text-black fw-semibold" }, t("txt_benefit")), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
|
10396
10419
|
"div",
|
10397
10420
|
{
|
10398
10421
|
dangerouslySetInnerHTML: {
|
@@ -10447,7 +10470,7 @@ var TermsComponent = ({
|
|
10447
10470
|
}
|
10448
10471
|
}
|
10449
10472
|
)))))),
|
10450
|
-
/* @__PURE__ */ React.createElement(Tab, { eventKey: "about", title: "
|
10473
|
+
/* @__PURE__ */ React.createElement(Tab, { eventKey: "about", title: t("txt_about"), className: "px-2 px-lg-4" }, /* @__PURE__ */ React.createElement("div", { className: "mb-1 mb-lg-3" }, /* @__PURE__ */ React.createElement("p", { className: "mb-1 mb-lg-2 text-black fw-semibold" }, t("txt_our_commitment_in_action")), /* @__PURE__ */ React.createElement("div", { className: "d-flex align-items-start check-line" }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement("img", { src: check_circle_default, width: "14px", height: "15px" })), /* @__PURE__ */ React.createElement("div", { className: "ms-10px" }, /* @__PURE__ */ React.createElement(
|
10451
10474
|
"div",
|
10452
10475
|
{
|
10453
10476
|
dangerouslySetInnerHTML: {
|
@@ -10599,7 +10622,7 @@ var LoadingStatus = ({ loading }) => {
|
|
10599
10622
|
// src/Components/Connect.tsx
|
10600
10623
|
import React4, { Suspense, useState as useState4 } from "react";
|
10601
10624
|
import { Modal } from "react-bootstrap";
|
10602
|
-
import { isMobile, isDesktop as isDesktop2 } from "react-device-detect";
|
10625
|
+
import { isMobile, isDesktop as isDesktop2, OsTypes, osName } from "react-device-detect";
|
10603
10626
|
|
10604
10627
|
// src/Assets/concordium_logo.png
|
10605
10628
|
var concordium_logo_default = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAF5SURBVHgBrVXtcYMwDJVz/I83qDdoOkHpBtkARmgmgE5QNkg2aDtB2IBkgtIJSCdwpdrcCUcGUvruFDv6eEiyMApGYK3VuGxQUpQ7r/5GaVA+lFIXuAVEiFKgdDaOdIwjEUgp4A1FwwIkAWmGy0Hwa1FqvzfgWjMPSLoRyt2TXvDVvv+ziD8D0hwWIPGkObgSe+zwxA/soZTdFmWNckZbHSQ1iEd7KWW7D4IKoUXkb5hPejUxQm/TCVJOrpnvkdkqUmyZouPl22mUzL9i+mYF7s3qcWL7q2kQEIvVq8BRR/YxrGMGIm4jZDVM48z2hu0vIbGx/oXwF8w7xEH2iv1/ZPuv3187vGxee6s/wEY4tC6YHhPYM+UNJS4Fe+IDZnxigTm4g1r7bCp+ZaL9GZd7Fr/jmXXBjBr4D9BThXIz+CNUQF7CsCWEFtyEUGvo60EtobJfwjtjFERu5yGFW+FP+biEOJGUWGKLy5N1M52DK117oWmgtrQwgh9inye0Cp+8ygAAAABJRU5ErkJggg==";
|
@@ -10681,7 +10704,7 @@ var ConnectModal = ({
|
|
10681
10704
|
alt: "Concordium"
|
10682
10705
|
}
|
10683
10706
|
), "Concordium Browser Wallet")
|
10684
|
-
), /* @__PURE__ */ React4.createElement(
|
10707
|
+
), osName !== OsTypes?.IOS ? /* @__PURE__ */ React4.createElement(React4.Fragment, null, /* @__PURE__ */ React4.createElement(
|
10685
10708
|
"button",
|
10686
10709
|
{
|
10687
10710
|
className: "btn btn-primary btn-concordium flex-grow-1 fw-medium py-2 px-4 lh-sm text-white d-flex align-items-center justify-content-start text-start",
|
@@ -10702,7 +10725,7 @@ var ConnectModal = ({
|
|
10702
10725
|
alt: "Concordium"
|
10703
10726
|
}
|
10704
10727
|
), isMobile ? "Concordium or CryptoX" : "QR Code (Concordium Mobile or CryptoX Mobile)")
|
10705
|
-
)), " ")))
|
10728
|
+
)) : /* @__PURE__ */ React4.createElement(React4.Fragment, null)), " ")))
|
10706
10729
|
));
|
10707
10730
|
};
|
10708
10731
|
var SSOEthereumApp = ({ handleOnConnect }) => {
|
@@ -10831,14 +10854,14 @@ var SSOEthereumProvider = ({ children, layout, level }) => {
|
|
10831
10854
|
w3mProvider({ projectId })
|
10832
10855
|
]);
|
10833
10856
|
const revoke = sessionStorage.getItem("aesirx-analytics-revoke");
|
10834
|
-
const wagmiConfig = (layout === "simple-consent-mode" ||
|
10857
|
+
const wagmiConfig = (layout === "simple-consent-mode" || level === 1) && (!revoke || revoke === "0" || revoke === "1") ? {} : createConfig({
|
10835
10858
|
autoConnect: true,
|
10836
10859
|
connectors: w3mConnectors({ projectId, chains }),
|
10837
10860
|
publicClient,
|
10838
10861
|
webSocketPublicClient
|
10839
10862
|
});
|
10840
10863
|
const ethereumClient = new EthereumClient(wagmiConfig, chains);
|
10841
|
-
return /* @__PURE__ */ React5.createElement(React5.Fragment, null, (layout === "simple-consent-mode" ||
|
10864
|
+
return /* @__PURE__ */ React5.createElement(React5.Fragment, null, (layout === "simple-consent-mode" || level === 1) && (!revoke || revoke === "0" || revoke === "1") ? /* @__PURE__ */ React5.createElement(React5.Fragment, null, children) : /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(WagmiConfig, { config: wagmiConfig }, children), /* @__PURE__ */ React5.createElement(Web3Modal, { projectId, ethereumClient })));
|
10842
10865
|
};
|
10843
10866
|
var Ethereum_default = SSOEthereumProvider;
|
10844
10867
|
|
package/dist/index.js
CHANGED
@@ -13,7 +13,7 @@ import {
|
|
13
13
|
no_default,
|
14
14
|
privacy_default,
|
15
15
|
useTranslation
|
16
|
-
} from "./chunk-
|
16
|
+
} from "./chunk-EL2DBQXP.js";
|
17
17
|
|
18
18
|
// src/AnalyticsNext/index.tsx
|
19
19
|
import React2, { useEffect as useEffect2, useState as useState2 } from "react";
|
@@ -76,8 +76,8 @@ var handle_default = AnalyticsHandle;
|
|
76
76
|
|
77
77
|
// src/AnalyticsNext/index.tsx
|
78
78
|
import dynamic from "next/dynamic";
|
79
|
-
var ConsentComponent = dynamic(() => import("./Consent-
|
80
|
-
var ConsentComponentCustom = dynamic(() => import("./ConsentCustom-
|
79
|
+
var ConsentComponent = dynamic(() => import("./Consent-TGYEV2XV.js"), { ssr: false });
|
80
|
+
var ConsentComponentCustom = dynamic(() => import("./ConsentCustom-IBIHKHPV.js"), { ssr: false });
|
81
81
|
var AnalyticsNext = ({
|
82
82
|
router,
|
83
83
|
attributes,
|
@@ -87,9 +87,14 @@ var AnalyticsNext = ({
|
|
87
87
|
isOptInReplaceAnalytics = false,
|
88
88
|
children
|
89
89
|
}) => {
|
90
|
-
const [layout, setLayout] = useState2(
|
90
|
+
const [layout, setLayout] = useState2(
|
91
|
+
process.env.NEXT_PUBLIC_CONSENT_LAYOUT ?? "simple-consent-mode"
|
92
|
+
);
|
91
93
|
const [gtagId, setGtagId] = useState2(process.env.NEXT_PUBLIC_ANALYTICS_GTAG_ID);
|
92
94
|
const [gtmId, setGtmId] = useState2(process.env.NEXT_PUBLIC_ANALYTICS_GTM_ID);
|
95
|
+
const [customConsentText, setCustomConsentText] = useState2(
|
96
|
+
process.env.NEXT_PUBLIC_ANALYTICS_CONSENT_TEXT
|
97
|
+
);
|
93
98
|
useEffect2(() => {
|
94
99
|
const init = async () => {
|
95
100
|
const data = await getConsentTemplate(
|
@@ -99,6 +104,9 @@ var AnalyticsNext = ({
|
|
99
104
|
setLayout(data?.data?.template ?? process.env.NEXT_PUBLIC_CONSENT_LAYOUT);
|
100
105
|
setGtagId(data?.data?.gtag_id ?? process.env.NEXT_PUBLIC_ANALYTICS_GTAG_ID);
|
101
106
|
setGtmId(data?.data?.gtm_id ?? process.env.NEXT_PUBLIC_ANALYTICS_GTM_ID);
|
107
|
+
setCustomConsentText(
|
108
|
+
data?.data?.consent_text ?? process.env.NEXT_PUBLIC_ANALYTICS_CONSENT_TEXT
|
109
|
+
);
|
102
110
|
};
|
103
111
|
init();
|
104
112
|
}, []);
|
@@ -111,7 +119,8 @@ var AnalyticsNext = ({
|
|
111
119
|
loginApp,
|
112
120
|
isLoggedApp,
|
113
121
|
gtagId,
|
114
|
-
gtmId
|
122
|
+
gtmId,
|
123
|
+
customConsentText
|
115
124
|
}
|
116
125
|
) : /* @__PURE__ */ React2.createElement(
|
117
126
|
ConsentComponentCustom,
|
@@ -123,6 +132,7 @@ var AnalyticsNext = ({
|
|
123
132
|
isLoggedApp,
|
124
133
|
gtagId,
|
125
134
|
gtmId,
|
135
|
+
customConsentText,
|
126
136
|
layout,
|
127
137
|
isOptInReplaceAnalytics
|
128
138
|
}
|
@@ -170,8 +180,8 @@ var AnalyticsHandle2 = ({ location, history, children }) => {
|
|
170
180
|
var handle_default2 = AnalyticsHandle2;
|
171
181
|
|
172
182
|
// src/AnalyticsReact/index.tsx
|
173
|
-
var ConsentComponent2 = React4.lazy(() => import("./Consent-
|
174
|
-
var ConsentComponentCustom2 = React4.lazy(() => import("./ConsentCustom-
|
183
|
+
var ConsentComponent2 = React4.lazy(() => import("./Consent-TGYEV2XV.js"));
|
184
|
+
var ConsentComponentCustom2 = React4.lazy(() => import("./ConsentCustom-IBIHKHPV.js"));
|
175
185
|
var AnalyticsReact = ({
|
176
186
|
location,
|
177
187
|
history,
|
@@ -179,9 +189,14 @@ var AnalyticsReact = ({
|
|
179
189
|
isOptInReplaceAnalytics = false,
|
180
190
|
children
|
181
191
|
}) => {
|
182
|
-
const [layout, setLayout] = useState3(
|
192
|
+
const [layout, setLayout] = useState3(
|
193
|
+
process.env.REACT_APP_CONSENT_LAYOUT ?? "simple-consent-mode"
|
194
|
+
);
|
183
195
|
const [gtagId, setGtagId] = useState3(process.env.REACT_APP_ANALYTICS_GTAG_ID);
|
184
196
|
const [gtmId, setGtmId] = useState3(process.env.REACT_APP_ANALYTICS_GTM_ID);
|
197
|
+
const [customConsentText, setCustomConsentText] = useState3(
|
198
|
+
process.env.REACT_APP_ANALYTICS_CONSENT_TEXT
|
199
|
+
);
|
185
200
|
useEffect4(() => {
|
186
201
|
const init = async () => {
|
187
202
|
const data = await getConsentTemplate(
|
@@ -191,6 +206,9 @@ var AnalyticsReact = ({
|
|
191
206
|
setLayout(data?.data?.template ?? process.env.REACT_APP_CONSENT_LAYOUT);
|
192
207
|
setGtagId(data?.data?.gtag_id ?? process.env.REACT_APP_ANALYTICS_GTAG_ID);
|
193
208
|
setGtmId(data?.data?.gtm_id ?? process.env.REACT_APP_ANALYTICS_GTM_ID);
|
209
|
+
setCustomConsentText(
|
210
|
+
data?.data?.consent_text ?? process.env.REACT_APP_ANALYTICS_CONSENT_TEXT
|
211
|
+
);
|
194
212
|
};
|
195
213
|
init();
|
196
214
|
}, []);
|
@@ -201,7 +219,8 @@ var AnalyticsReact = ({
|
|
201
219
|
networkEnv: process.env.REACT_APP_CONCORDIUM_NETWORK,
|
202
220
|
aesirXEndpoint: process.env.REACT_APP_ENDPOINT_URL ?? "https://api.aesirx.io",
|
203
221
|
gtagId,
|
204
|
-
gtmId
|
222
|
+
gtmId,
|
223
|
+
customConsentText
|
205
224
|
}
|
206
225
|
) : /* @__PURE__ */ React4.createElement(
|
207
226
|
ConsentComponentCustom2,
|
@@ -211,6 +230,7 @@ var AnalyticsReact = ({
|
|
211
230
|
aesirXEndpoint: process.env.REACT_APP_ENDPOINT_URL ?? "https://api.aesirx.io",
|
212
231
|
gtagId,
|
213
232
|
gtmId,
|
233
|
+
customConsentText,
|
214
234
|
layout,
|
215
235
|
isOptInReplaceAnalytics
|
216
236
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "aesirx-analytics",
|
3
|
-
"version": "2.2.
|
3
|
+
"version": "2.2.19",
|
4
4
|
"license": "GPL-3.0-only",
|
5
5
|
"author": "AesirX",
|
6
6
|
"repository": "https://gitlab.redweb.dk/aesirx/analytics",
|
@@ -14,7 +14,7 @@
|
|
14
14
|
"@concordium/web-sdk": "^7.0.4-rc.3",
|
15
15
|
"@web3modal/ethereum": "^2.7.0",
|
16
16
|
"@web3modal/react": "^2.7.0",
|
17
|
-
"aesirx-sso": "^1.4.
|
17
|
+
"aesirx-sso": "^1.4.17",
|
18
18
|
"axios": "^1.6.0",
|
19
19
|
"bootstrap": "^5.3.2",
|
20
20
|
"bowser": "^2.11.0",
|