@adyen/kyc-components 2.68.0 → 2.68.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.
|
@@ -29634,9 +29634,7 @@ const splitAtFirstOccurrence = (str, separator) => {
|
|
|
29634
29634
|
};
|
|
29635
29635
|
const getTrustMemberOwnerId = (trustMemberId, entityAssociations) => {
|
|
29636
29636
|
var _a;
|
|
29637
|
-
return (_a = entityAssociations.find(
|
|
29638
|
-
(association) => association.associatorId === trustMemberId && association.type === TrustMemberTypes.TRUSTEE
|
|
29639
|
-
)) == null ? void 0 : _a.legalEntityId;
|
|
29637
|
+
return (_a = entityAssociations.find((association) => association.associatorId === trustMemberId)) == null ? void 0 : _a.legalEntityId;
|
|
29640
29638
|
};
|
|
29641
29639
|
const getFallbackName = (exemptSettlorAssociation) => {
|
|
29642
29640
|
const [firstName, lastName] = splitAtFirstOccurrence(exemptSettlorAssociation.name ?? "", " ");
|
|
@@ -39318,7 +39316,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
39318
39316
|
};
|
|
39319
39317
|
};
|
|
39320
39318
|
const useAnalytics = ({ onUserEvent, legalEntityId, componentName }) => {
|
|
39321
|
-
const sdkVersion = "2.68.
|
|
39319
|
+
const sdkVersion = "2.68.1";
|
|
39322
39320
|
const { isEmbeddedDropin, loadingContext: base } = useAuthContext();
|
|
39323
39321
|
const loadingContext = `${base}api/${COMPONENTS_API_VERSION}/`;
|
|
39324
39322
|
useEffect(() => {
|
|
@@ -39660,7 +39658,7 @@ const ConfigurationApiProvider = ({
|
|
|
39660
39658
|
[authContext, rootLegalEntityId]
|
|
39661
39659
|
);
|
|
39662
39660
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
39663
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "2.68.
|
|
39661
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "2.68.1" }),
|
|
39664
39662
|
children
|
|
39665
39663
|
] });
|
|
39666
39664
|
};
|
|
@@ -40276,7 +40274,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
|
|
|
40276
40274
|
};
|
|
40277
40275
|
const copyToClipboard = async () => {
|
|
40278
40276
|
const toCopy = {
|
|
40279
|
-
sdkVersion: "2.68.
|
|
40277
|
+
sdkVersion: "2.68.1",
|
|
40280
40278
|
experiments: Object.fromEntries(allExperimentsWithValues),
|
|
40281
40279
|
settings: Object.fromEntries(allSettingsWithValues)
|
|
40282
40280
|
};
|
|
@@ -40341,7 +40339,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
|
|
|
40341
40339
|
/* @__PURE__ */ jsx("div", { className: "adyen-kyc-debug-modal__meta", children: /* @__PURE__ */ jsx("table", { children: /* @__PURE__ */ jsxs("tbody", { children: [
|
|
40342
40340
|
/* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
|
|
40343
40341
|
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "SDK version" }),
|
|
40344
|
-
/* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.68.
|
|
40342
|
+
/* @__PURE__ */ jsx(Tag, { variant: "green", className: "adyen-kyc-tag--large", children: "2.68.1" })
|
|
40345
40343
|
] }) }),
|
|
40346
40344
|
/* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsxs("td", { children: [
|
|
40347
40345
|
/* @__PURE__ */ jsx("span", { className: "adyen-kyc-debug-modal__table-key", children: "rootLegalEntityId" }),
|
|
@@ -40486,7 +40484,7 @@ class UIElement extends BaseElement {
|
|
|
40486
40484
|
userEvents.updateBaseTrackingPayload({
|
|
40487
40485
|
...baseTracking,
|
|
40488
40486
|
componentName: this.props.componentName,
|
|
40489
|
-
sdkVersion: "2.68.
|
|
40487
|
+
sdkVersion: "2.68.1",
|
|
40490
40488
|
userAgent: navigator.userAgent
|
|
40491
40489
|
});
|
|
40492
40490
|
return /* @__PURE__ */ jsx(SettingsProvider, { settings: this.props.settings, children: /* @__PURE__ */ jsx(
|