@adyen/kyc-components 3.44.2 → 3.44.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.
|
@@ -23360,7 +23360,7 @@ function PayoutVerificationMethod(props) {
|
|
|
23360
23360
|
const canChangeEntityType = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange);
|
|
23361
23361
|
const enableEmphasizedCredentialBankingFlow = isExperimentEnabled(
|
|
23362
23362
|
ExperimentNames.CredentialBankingWeightage_EmphasizeCredentialBankingFlow
|
|
23363
|
-
);
|
|
23363
|
+
) || isExperimentEnabled(ExperimentNames.EnablePreferInstantVerificationFlow);
|
|
23364
23364
|
const intraRegionCrossBorderPayoutsAllowed = isSettingEnabled(
|
|
23365
23365
|
SettingNames.AllowIntraRegionCrossBorderPayout
|
|
23366
23366
|
);
|
|
@@ -23658,8 +23658,9 @@ function PayoutDetails(props) {
|
|
|
23658
23658
|
const data = isEmpty$1(globalData) ? propData : globalData;
|
|
23659
23659
|
const resetData = useResetGlobalData();
|
|
23660
23660
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
23661
|
+
const enableEmphasizedCredentialBankingFlow = isExperimentEnabled("CredentialBankingWeightage_EmphasizeCredentialBankingFlow") || isExperimentEnabled("EnablePreferInstantVerificationFlow");
|
|
23661
23662
|
const verifyInstantly = ((_a = data == null ? void 0 : data.payoutVerificationMethod) == null ? void 0 : _a.payoutVerificationMethod) === "instantVerification";
|
|
23662
|
-
const showBankVerification = !
|
|
23663
|
+
const showBankVerification = !enableEmphasizedCredentialBankingFlow || isProviderWidgetInline(provider == null ? void 0 : provider.name);
|
|
23663
23664
|
const bankCountry = ((_b = data == null ? void 0 : data.payoutVerificationMethod) == null ? void 0 : _b.bankCountry) ?? country;
|
|
23664
23665
|
const bankDocumentDescription = i18n.get(
|
|
23665
23666
|
legalEntityResponse.type === "individual" ? "bankStatementIndividualDescription" : "bankStatementNonIndividualDescription"
|
|
@@ -23698,8 +23699,8 @@ function PayoutDetails(props) {
|
|
|
23698
23699
|
}
|
|
23699
23700
|
}, [i18n, validateAccountDetails]);
|
|
23700
23701
|
const shouldHideFooter = useMemo(
|
|
23701
|
-
() => (activeForm == null ? void 0 : activeForm.formId) === "payoutVerificationMethod" &&
|
|
23702
|
-
[activeForm == null ? void 0 : activeForm.formId,
|
|
23702
|
+
() => (activeForm == null ? void 0 : activeForm.formId) === "payoutVerificationMethod" && enableEmphasizedCredentialBankingFlow,
|
|
23703
|
+
[activeForm == null ? void 0 : activeForm.formId, enableEmphasizedCredentialBankingFlow]
|
|
23703
23704
|
);
|
|
23704
23705
|
useEffect(() => {
|
|
23705
23706
|
setHideFooter == null ? void 0 : setHideFooter(shouldHideFooter);
|
|
@@ -27023,9 +27024,9 @@ function AdditionalInformation({
|
|
|
27023
27024
|
return mergeFieldMetadataIntoProps(
|
|
27024
27025
|
field,
|
|
27025
27026
|
resolveFieldMetadata(
|
|
27026
|
-
defaultFieldConfig$a[country],
|
|
27027
|
+
isExperimentEnabled("StrictNameAndAddressValidationV4") ? defaultFieldConfigV4[country] : defaultFieldConfig$a[country],
|
|
27027
27028
|
{ isBusiness: true },
|
|
27028
|
-
defaultFieldMetadata$b
|
|
27029
|
+
isExperimentEnabled("StrictNameAndAddressValidationV4") ? defaultFieldMetadataV4 : defaultFieldMetadata$b
|
|
27029
27030
|
),
|
|
27030
27031
|
acc
|
|
27031
27032
|
);
|
|
@@ -35668,6 +35669,7 @@ function PayoutDetailsDropin({
|
|
|
35668
35669
|
const existingPayoutDetails = transferInstrument ? mapTransferInstrumentToPayoutAccount(transferInstrument) : void 0;
|
|
35669
35670
|
const [documents, setDocuments] = useState();
|
|
35670
35671
|
const [useFreshProviderRedirectUrl, setUseFreshProviderRedirectUrl] = useState(false);
|
|
35672
|
+
const enableEmphasizedCredentialBankingFlow = isExperimentEnabled("CredentialBankingWeightage_EmphasizeCredentialBankingFlow") || isExperimentEnabled("EnablePreferInstantVerificationFlow");
|
|
35671
35673
|
const fallbackCurrency = (_a = currencyByCountry[defaultPayoutCountry]) == null ? void 0 : _a[0];
|
|
35672
35674
|
const accountHolderName = accountHolder || getLegalEntityNameBasedOnType(legalEntityResponse);
|
|
35673
35675
|
const instantVerificationEnabled = Boolean(
|
|
@@ -35778,7 +35780,7 @@ function PayoutDetailsDropin({
|
|
|
35778
35780
|
() => labels ? labels() : {},
|
|
35779
35781
|
[data, bankAccountCountry]
|
|
35780
35782
|
);
|
|
35781
|
-
const showWidgetInVerificationMethodStep =
|
|
35783
|
+
const showWidgetInVerificationMethodStep = enableEmphasizedCredentialBankingFlow && !isProviderWidgetInline(provider == null ? void 0 : provider.name);
|
|
35782
35784
|
const payoutDetailsSteps = useMemo(
|
|
35783
35785
|
() => {
|
|
35784
35786
|
var _a2;
|
|
@@ -44400,7 +44402,7 @@ const ConfigurationApiProvider = ({
|
|
|
44400
44402
|
}) => {
|
|
44401
44403
|
const authContext = useAuthContext();
|
|
44402
44404
|
const { isEmbeddedDropin, loadingContext } = authContext;
|
|
44403
|
-
const sdkVersion = "3.44.
|
|
44405
|
+
const sdkVersion = "3.44.4";
|
|
44404
44406
|
useAnalytics({
|
|
44405
44407
|
onUserEvent,
|
|
44406
44408
|
legalEntityId: rootLegalEntityId,
|
|
@@ -45247,7 +45249,7 @@ const DebugModal = ({ rootLegalEntityId, onExit, getRootLegalEntity }) => {
|
|
|
45247
45249
|
const { i18n } = useI18nContext();
|
|
45248
45250
|
const [tab, setTab] = useState("metadata");
|
|
45249
45251
|
const metadata = {
|
|
45250
|
-
sdkVersion: "3.44.
|
|
45252
|
+
sdkVersion: "3.44.4",
|
|
45251
45253
|
locale: i18n.locale,
|
|
45252
45254
|
rootLegalEntityId
|
|
45253
45255
|
};
|