@adyen/kyc-components 2.57.2 → 2.57.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.
|
@@ -21113,10 +21113,16 @@ function PayoutVerificationMethod(props) {
|
|
|
21113
21113
|
}
|
|
21114
21114
|
}, [forms, hasSelectedMethod, data.payoutVerificationMethod, handleNextClick, enablePreferInstantVerificationMethodFlow]);
|
|
21115
21115
|
useEffect(() => {
|
|
21116
|
-
if (!enablePreferInstantVerificationMethodFlow) return;
|
|
21117
|
-
|
|
21118
|
-
|
|
21116
|
+
if (!enablePreferInstantVerificationMethodFlow || !bankVerificationVendors) return;
|
|
21117
|
+
let timeout;
|
|
21118
|
+
if (!bankVerificationVendors[data.bankCountry]) {
|
|
21119
|
+
timeout = setTimeout(() => {
|
|
21120
|
+
selectVerificationMethod("manualVerification");
|
|
21121
|
+
}, 50);
|
|
21119
21122
|
}
|
|
21123
|
+
return () => {
|
|
21124
|
+
clearTimeout(timeout);
|
|
21125
|
+
};
|
|
21120
21126
|
}, [bankVerificationVendors, enablePreferInstantVerificationMethodFlow]);
|
|
21121
21127
|
const getProviderDisplayName = (providerName2) => providerName2.charAt(0).toUpperCase() + providerName2.slice(1);
|
|
21122
21128
|
const {
|
|
@@ -31788,6 +31794,7 @@ const useBankConfigurationHandlers = ({
|
|
|
31788
31794
|
}
|
|
31789
31795
|
setLoadingStatus("loading");
|
|
31790
31796
|
(async () => {
|
|
31797
|
+
setBankVerificationVendorsResponse(void 0);
|
|
31791
31798
|
const bankVerificationVendorsResponse2 = callBankVerificationVendorsUpfront ? await handleGetBankVerificationVendors(bankAccountCountry) : [];
|
|
31792
31799
|
setBankVerificationVendorsResponse(bankVerificationVendorsResponse2);
|
|
31793
31800
|
setUseFreshProviderRedirectUrl(false);
|
|
@@ -31805,8 +31812,12 @@ const useBankConfigurationHandlers = ({
|
|
|
31805
31812
|
capabilities,
|
|
31806
31813
|
country: bankAccountCountry
|
|
31807
31814
|
});
|
|
31808
|
-
if (!callBankVerificationVendorsUpfront
|
|
31809
|
-
|
|
31815
|
+
if (!callBankVerificationVendorsUpfront) return configuration;
|
|
31816
|
+
if (!((_a = bankVerificationVendorsResponse == null ? void 0 : bankVerificationVendorsResponse[0]) == null ? void 0 : _a.name)) {
|
|
31817
|
+
return {
|
|
31818
|
+
...configuration,
|
|
31819
|
+
bankVerificationProviders: {}
|
|
31820
|
+
};
|
|
31810
31821
|
}
|
|
31811
31822
|
return {
|
|
31812
31823
|
...configuration,
|
|
@@ -38242,7 +38253,7 @@ const ConfigurationApiProvider = ({
|
|
|
38242
38253
|
isEmbeddedDropin,
|
|
38243
38254
|
loadingContext
|
|
38244
38255
|
} = authContext;
|
|
38245
|
-
const sdkVersion = "2.57.
|
|
38256
|
+
const sdkVersion = "2.57.3";
|
|
38246
38257
|
useAnalytics({
|
|
38247
38258
|
onUserEvent,
|
|
38248
38259
|
legalEntityId: rootLegalEntityId,
|
|
@@ -38925,7 +38936,7 @@ const DebugModal = ({
|
|
|
38925
38936
|
};
|
|
38926
38937
|
const copyToClipboard = async () => {
|
|
38927
38938
|
const toCopy = {
|
|
38928
|
-
sdkVersion: "2.57.
|
|
38939
|
+
sdkVersion: "2.57.3",
|
|
38929
38940
|
experiments: Object.fromEntries(allExperimentsWithValues),
|
|
38930
38941
|
settings: Object.fromEntries(allSettingsWithValues)
|
|
38931
38942
|
};
|
|
@@ -38964,7 +38975,7 @@ const DebugModal = ({
|
|
|
38964
38975
|
children: [jsxs("div", {
|
|
38965
38976
|
className: "adyen-kyc-debug-modal__meta",
|
|
38966
38977
|
children: [jsxs("span", {
|
|
38967
|
-
children: ["SDK version: ", "2.57.
|
|
38978
|
+
children: ["SDK version: ", "2.57.3"]
|
|
38968
38979
|
}), jsxs("span", {
|
|
38969
38980
|
children: ["rootLegalEntityId: ", rootLegalEntityId]
|
|
38970
38981
|
})]
|