@adyen/kyc-components 3.45.0 → 3.45.1
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.
|
@@ -44442,7 +44442,8 @@ const useAnalytics = ({ onUserEvent, sdkVersion, componentName }) => {
|
|
|
44442
44442
|
const sessionData = {
|
|
44443
44443
|
sdkVersion,
|
|
44444
44444
|
componentName,
|
|
44445
|
-
userAgent: navigator.userAgent
|
|
44445
|
+
userAgent: navigator.userAgent,
|
|
44446
|
+
legalEntityId: rootLegalEntity.id
|
|
44446
44447
|
};
|
|
44447
44448
|
const sessionResponse = await getAnalyticsSession(loadingContext, sessionData);
|
|
44448
44449
|
if (!(sessionResponse == null ? void 0 : sessionResponse.id)) {
|
|
@@ -44843,7 +44844,7 @@ const ConfigurationApiProvider = ({
|
|
|
44843
44844
|
}) => {
|
|
44844
44845
|
const authContext = useAuthContext();
|
|
44845
44846
|
const { isEmbeddedDropin, loadingContext } = authContext;
|
|
44846
|
-
const sdkVersion = "3.45.
|
|
44847
|
+
const sdkVersion = "3.45.1";
|
|
44847
44848
|
const rootLegalEntityId = useGlobalStore((store) => store.rootLegalEntity.id);
|
|
44848
44849
|
useAnalytics({
|
|
44849
44850
|
onUserEvent,
|
|
@@ -45690,7 +45691,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
45690
45691
|
const [tab, setTab] = useState("metadata");
|
|
45691
45692
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
45692
45693
|
const metadata = {
|
|
45693
|
-
sdkVersion: "3.45.
|
|
45694
|
+
sdkVersion: "3.45.1",
|
|
45694
45695
|
locale: i18n.locale,
|
|
45695
45696
|
rootLegalEntityId: rootLegalEntity.id
|
|
45696
45697
|
};
|