@adyen/kyc-components 3.41.2 → 3.41.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.
|
@@ -32698,7 +32698,7 @@ const calculateTaskStatus = ({
|
|
|
32698
32698
|
const matchingAccount = transferInstruments.find((ti) => ti.id === id);
|
|
32699
32699
|
if (!matchingAccount) throw new Error(`Could not find transfer instrument with id ${id}`);
|
|
32700
32700
|
ignorePendingCapabilities = isInstantVerifiedAccount(matchingAccount);
|
|
32701
|
-
relevantEntityIds = [id
|
|
32701
|
+
relevantEntityIds = [id];
|
|
32702
32702
|
}
|
|
32703
32703
|
}
|
|
32704
32704
|
return getRegularTaskStatus({
|
|
@@ -32726,6 +32726,9 @@ const determineTaskIdentifiers = ({
|
|
|
32726
32726
|
if (!rootLegalEntity || !capabilityProblems) return [];
|
|
32727
32727
|
const taskTypes = receivedTaskTypes.map(mapReceivedTaskType);
|
|
32728
32728
|
const tasks = [...taskTypes];
|
|
32729
|
+
if (taskTypes.includes(TaskTypes.COMPANY)) {
|
|
32730
|
+
tasks.push("BUSINESS_DETAILS");
|
|
32731
|
+
}
|
|
32729
32732
|
if (taskTypes.includes(TaskTypes.PAYIN)) {
|
|
32730
32733
|
transferInstruments.forEach((account) => tasks.push(`PAYIN-${account.id}`));
|
|
32731
32734
|
}
|
|
@@ -43611,7 +43614,7 @@ const ConfigurationApiProvider = ({
|
|
|
43611
43614
|
}) => {
|
|
43612
43615
|
const authContext = useAuthContext();
|
|
43613
43616
|
const { isEmbeddedDropin, loadingContext } = authContext;
|
|
43614
|
-
const sdkVersion = "3.41.
|
|
43617
|
+
const sdkVersion = "3.41.3";
|
|
43615
43618
|
useAnalytics({
|
|
43616
43619
|
onUserEvent,
|
|
43617
43620
|
legalEntityId: rootLegalEntityId,
|
|
@@ -44292,7 +44295,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
|
|
|
44292
44295
|
(settingName) => [settingName, getSetting(settingName)]
|
|
44293
44296
|
);
|
|
44294
44297
|
const debugModalMetaData = [
|
|
44295
|
-
{ key: "SDK version", value: "3.41.
|
|
44298
|
+
{ key: "SDK version", value: "3.41.3", variant: "green" },
|
|
44296
44299
|
{ key: "rootLegalEntityId", value: rootLegalEntityId, variant: "blue" },
|
|
44297
44300
|
{ key: "Locale", value: i18n.locale, variant: "blue" },
|
|
44298
44301
|
{ key: "Language", value: i18n.languageCode, variant: "blue" },
|
|
@@ -44324,7 +44327,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
|
|
|
44324
44327
|
};
|
|
44325
44328
|
const copyToClipboard = async () => {
|
|
44326
44329
|
const toCopy = {
|
|
44327
|
-
sdkVersion: "3.41.
|
|
44330
|
+
sdkVersion: "3.41.3",
|
|
44328
44331
|
experiments: Object.fromEntries(allExperimentsWithValues),
|
|
44329
44332
|
settings: Object.fromEntries(allSettingsWithValues)
|
|
44330
44333
|
};
|