@adyen/kyc-components 3.43.1 → 3.43.2
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.
|
@@ -11357,7 +11357,7 @@ const EntityTypeRadioGroupCard = ({
|
|
|
11357
11357
|
EntityTypeSelectionRadioCardBody,
|
|
11358
11358
|
{
|
|
11359
11359
|
description: optionDescription(option),
|
|
11360
|
-
examples: examples == null ? void 0 : examples[
|
|
11360
|
+
examples: examples == null ? void 0 : examples[option]
|
|
11361
11361
|
}
|
|
11362
11362
|
) : void 0,
|
|
11363
11363
|
optionClassNames: () => ({
|
|
@@ -32875,7 +32875,11 @@ const calculateTaskStatus = ({
|
|
|
32875
32875
|
if (!matchingAccount) throw new Error(`Could not find transfer instrument with id ${id}`);
|
|
32876
32876
|
ignorePendingCapabilities = isInstantVerifiedAccount(matchingAccount);
|
|
32877
32877
|
relevantEntityIds = [id];
|
|
32878
|
+
break;
|
|
32878
32879
|
}
|
|
32880
|
+
case TaskTypes.CUSTOMER_SUPPORT:
|
|
32881
|
+
relevantEntityIds = [rootLegalEntity.id];
|
|
32882
|
+
break;
|
|
32879
32883
|
}
|
|
32880
32884
|
return getRegularTaskStatus({
|
|
32881
32885
|
taskType,
|
|
@@ -32894,6 +32898,11 @@ const splitTaskIdentifier = (taskIdentifier) => {
|
|
|
32894
32898
|
const id = taskIdentifier.slice(firstDashIndex + 1);
|
|
32895
32899
|
return { taskType, id };
|
|
32896
32900
|
};
|
|
32901
|
+
const NEEDS_SUPPORT_DETAILS = [
|
|
32902
|
+
"theCompanyIWorkFor",
|
|
32903
|
+
"mySoleProprietorName",
|
|
32904
|
+
"aTrust"
|
|
32905
|
+
];
|
|
32897
32906
|
const determineTaskIdentifiers = ({
|
|
32898
32907
|
taskTypes: receivedTaskTypes,
|
|
32899
32908
|
rootLegalEntity,
|
|
@@ -32939,6 +32948,9 @@ const determineTaskIdentifiers = ({
|
|
|
32939
32948
|
}
|
|
32940
32949
|
});
|
|
32941
32950
|
}
|
|
32951
|
+
if (accountHolder && NEEDS_SUPPORT_DETAILS.includes(accountHolder)) {
|
|
32952
|
+
tasks.push("CUSTOMER_SUPPORT");
|
|
32953
|
+
}
|
|
32942
32954
|
return tasks;
|
|
32943
32955
|
};
|
|
32944
32956
|
const mapReceivedTaskType = (taskType) => {
|
|
@@ -43818,7 +43830,7 @@ const ConfigurationApiProvider = ({
|
|
|
43818
43830
|
}) => {
|
|
43819
43831
|
const authContext = useAuthContext();
|
|
43820
43832
|
const { isEmbeddedDropin, loadingContext } = authContext;
|
|
43821
|
-
const sdkVersion = "3.43.
|
|
43833
|
+
const sdkVersion = "3.43.2";
|
|
43822
43834
|
useAnalytics({
|
|
43823
43835
|
onUserEvent,
|
|
43824
43836
|
legalEntityId: rootLegalEntityId,
|
|
@@ -44663,7 +44675,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
|
|
|
44663
44675
|
const { i18n } = useI18nContext();
|
|
44664
44676
|
const [tab, setTab] = useState("metadata");
|
|
44665
44677
|
const metadata = {
|
|
44666
|
-
sdkVersion: "3.43.
|
|
44678
|
+
sdkVersion: "3.43.2",
|
|
44667
44679
|
locale: i18n.locale,
|
|
44668
44680
|
rootLegalEntityId
|
|
44669
44681
|
};
|