@adyen/kyc-components 3.41.3 → 3.41.4
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.
|
@@ -32582,8 +32582,6 @@ const getRegularTaskStatus = ({
|
|
|
32582
32582
|
status: TaskStatus.PROCESSING,
|
|
32583
32583
|
reason: "pendingCapabilities"
|
|
32584
32584
|
};
|
|
32585
|
-
if (hasInvalidCapabilities(rootLegalEntity))
|
|
32586
|
-
return { status: TaskStatus.ERROR, reason: "invalidCapabilities" };
|
|
32587
32585
|
if (hasAllCapabilitiesValid(rootLegalEntity))
|
|
32588
32586
|
return {
|
|
32589
32587
|
status: TaskStatus.FINISHED,
|
|
@@ -32616,9 +32614,6 @@ const hasAllCapabilitiesResolved = (legalEntityResponse) => Object.values((legal
|
|
|
32616
32614
|
const hasRejectedCapabilities = (legalEntityResponse) => Object.values((legalEntityResponse == null ? void 0 : legalEntityResponse.capabilities) ?? {}).some(
|
|
32617
32615
|
(capability) => capability.verificationStatus === VerificationStatus.REJECTED
|
|
32618
32616
|
);
|
|
32619
|
-
const hasInvalidCapabilities = (legalEntityResponse) => Object.values((legalEntityResponse == null ? void 0 : legalEntityResponse.capabilities) ?? {}).some(
|
|
32620
|
-
(capability) => capability.verificationStatus === VerificationStatus.INVALID
|
|
32621
|
-
);
|
|
32622
32617
|
const hasAllCapabilitiesValid = (legalEntityResponse) => Object.values((legalEntityResponse == null ? void 0 : legalEntityResponse.capabilities) ?? {}).every(
|
|
32623
32618
|
(capability) => capability.verificationStatus === VerificationStatus.VALID
|
|
32624
32619
|
);
|
|
@@ -43614,7 +43609,7 @@ const ConfigurationApiProvider = ({
|
|
|
43614
43609
|
}) => {
|
|
43615
43610
|
const authContext = useAuthContext();
|
|
43616
43611
|
const { isEmbeddedDropin, loadingContext } = authContext;
|
|
43617
|
-
const sdkVersion = "3.41.
|
|
43612
|
+
const sdkVersion = "3.41.4";
|
|
43618
43613
|
useAnalytics({
|
|
43619
43614
|
onUserEvent,
|
|
43620
43615
|
legalEntityId: rootLegalEntityId,
|
|
@@ -44295,7 +44290,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
|
|
|
44295
44290
|
(settingName) => [settingName, getSetting(settingName)]
|
|
44296
44291
|
);
|
|
44297
44292
|
const debugModalMetaData = [
|
|
44298
|
-
{ key: "SDK version", value: "3.41.
|
|
44293
|
+
{ key: "SDK version", value: "3.41.4", variant: "green" },
|
|
44299
44294
|
{ key: "rootLegalEntityId", value: rootLegalEntityId, variant: "blue" },
|
|
44300
44295
|
{ key: "Locale", value: i18n.locale, variant: "blue" },
|
|
44301
44296
|
{ key: "Language", value: i18n.languageCode, variant: "blue" },
|
|
@@ -44327,7 +44322,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
|
|
|
44327
44322
|
};
|
|
44328
44323
|
const copyToClipboard = async () => {
|
|
44329
44324
|
const toCopy = {
|
|
44330
|
-
sdkVersion: "3.41.
|
|
44325
|
+
sdkVersion: "3.41.4",
|
|
44331
44326
|
experiments: Object.fromEntries(allExperimentsWithValues),
|
|
44332
44327
|
settings: Object.fromEntries(allSettingsWithValues)
|
|
44333
44328
|
};
|