@adyen/kyc-components 2.51.0 → 2.51.1
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.
|
@@ -2561,7 +2561,7 @@ var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
|
2561
2561
|
ExperimentNames2["HidePciTask"] = "HidePciTask";
|
|
2562
2562
|
ExperimentNames2["EnableAgeVerification"] = "EnableAgeVerification";
|
|
2563
2563
|
ExperimentNames2["PreserveMismatchedInitialValues"] = "PreserveMismatchedInitialValues";
|
|
2564
|
-
ExperimentNames2["
|
|
2564
|
+
ExperimentNames2["StrictNameAndAddressValidationV4"] = "StrictNameAndAddressValidationV4";
|
|
2565
2565
|
return ExperimentNames2;
|
|
2566
2566
|
})(ExperimentNames || {});
|
|
2567
2567
|
const ON_CHANGE_DEBOUNCE_DURATION = 200;
|
|
@@ -4741,7 +4741,7 @@ function CompanyNameAndCountry(props) {
|
|
|
4741
4741
|
const {
|
|
4742
4742
|
isExperimentEnabled
|
|
4743
4743
|
} = useExperimentsContext();
|
|
4744
|
-
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.
|
|
4744
|
+
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.StrictNameAndAddressValidationV4);
|
|
4745
4745
|
const {
|
|
4746
4746
|
sliceData,
|
|
4747
4747
|
updateStateSlice
|
|
@@ -12368,7 +12368,7 @@ function Address(props) {
|
|
|
12368
12368
|
const {
|
|
12369
12369
|
isExperimentEnabled
|
|
12370
12370
|
} = useExperimentsContext();
|
|
12371
|
-
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.
|
|
12371
|
+
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.StrictNameAndAddressValidationV4);
|
|
12372
12372
|
const [showAutocompletedAddressFields, setShowAutocompletedAddressFields] = useState(false);
|
|
12373
12373
|
const [showAddAddressButton, setShowAddAddressButton] = useState(true);
|
|
12374
12374
|
const [isHandlerPresent, setIsHandlerPresent] = useState(false);
|
|
@@ -16318,7 +16318,7 @@ function NameComponent(props) {
|
|
|
16318
16318
|
const {
|
|
16319
16319
|
isExperimentEnabled
|
|
16320
16320
|
} = useExperimentsContext();
|
|
16321
|
-
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.
|
|
16321
|
+
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.StrictNameAndAddressValidationV4);
|
|
16322
16322
|
const schema = props.requiredFields || ["firstName", "lastName"];
|
|
16323
16323
|
const {
|
|
16324
16324
|
handleChangeFor,
|
|
@@ -21623,7 +21623,7 @@ function TrustRegistrationDetailsComponent(props) {
|
|
|
21623
21623
|
const {
|
|
21624
21624
|
isExperimentEnabled
|
|
21625
21625
|
} = useExperimentsContext();
|
|
21626
|
-
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.
|
|
21626
|
+
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.StrictNameAndAddressValidationV4);
|
|
21627
21627
|
const TRUST_REGISTRATION_DETAILS = props.id || trustForms.trustRegistrationDetails.formId;
|
|
21628
21628
|
const stateRef = useRef({
|
|
21629
21629
|
setState: null
|
|
@@ -39279,7 +39279,7 @@ const ConfigurationApiProvider = ({
|
|
|
39279
39279
|
isEmbeddedDropin,
|
|
39280
39280
|
loadingContext
|
|
39281
39281
|
} = authContext;
|
|
39282
|
-
const sdkVersion = "2.51.
|
|
39282
|
+
const sdkVersion = "2.51.1";
|
|
39283
39283
|
useAnalytics({
|
|
39284
39284
|
onUserEvent,
|
|
39285
39285
|
legalEntityId: rootLegalEntityId,
|
|
@@ -39957,7 +39957,7 @@ const DebugModal = ({
|
|
|
39957
39957
|
};
|
|
39958
39958
|
const copyToClipboard = async () => {
|
|
39959
39959
|
const toCopy = {
|
|
39960
|
-
sdkVersion: "2.51.
|
|
39960
|
+
sdkVersion: "2.51.1",
|
|
39961
39961
|
experiments: Object.fromEntries(allExperimentsWithValues),
|
|
39962
39962
|
settings: Object.fromEntries(allSettingsWithValues)
|
|
39963
39963
|
};
|
|
@@ -39987,7 +39987,7 @@ const DebugModal = ({
|
|
|
39987
39987
|
children: [jsxs("div", {
|
|
39988
39988
|
className: "adyen-kyc-debug-modal__meta",
|
|
39989
39989
|
children: [jsxs("span", {
|
|
39990
|
-
children: ["SDK version: ", "2.51.
|
|
39990
|
+
children: ["SDK version: ", "2.51.1"]
|
|
39991
39991
|
}), jsxs("span", {
|
|
39992
39992
|
children: ["rootLegalEntityId: ", rootLegalEntityId]
|
|
39993
39993
|
})]
|
|
@@ -18,7 +18,7 @@ export declare enum ExperimentNames {
|
|
|
18
18
|
HidePciTask = "HidePciTask",
|
|
19
19
|
EnableAgeVerification = "EnableAgeVerification",
|
|
20
20
|
PreserveMismatchedInitialValues = "PreserveMismatchedInitialValues",
|
|
21
|
-
|
|
21
|
+
StrictNameAndAddressValidationV4 = "StrictNameAndAddressValidationV4"
|
|
22
22
|
}
|
|
23
23
|
export type ExperimentName = `${ExperimentNames}`;
|
|
24
24
|
export type Experiments = {
|