@adyen/kyc-components 3.25.0 → 3.25.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.
|
@@ -2591,7 +2591,7 @@ var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
|
2591
2591
|
ExperimentNames2["HidePciTask"] = "HidePciTask";
|
|
2592
2592
|
ExperimentNames2["EnableAgeVerification"] = "EnableAgeVerification";
|
|
2593
2593
|
ExperimentNames2["PreserveMismatchedInitialValues"] = "PreserveMismatchedInitialValues";
|
|
2594
|
-
ExperimentNames2["
|
|
2594
|
+
ExperimentNames2["StrictNameAndAddressValidationV4"] = "StrictNameAndAddressValidationV4";
|
|
2595
2595
|
return ExperimentNames2;
|
|
2596
2596
|
})(ExperimentNames || {});
|
|
2597
2597
|
const ON_CHANGE_DEBOUNCE_DURATION = 200;
|
|
@@ -4771,7 +4771,7 @@ function CompanyNameAndCountry(props) {
|
|
|
4771
4771
|
const {
|
|
4772
4772
|
isExperimentEnabled
|
|
4773
4773
|
} = useExperimentsContext();
|
|
4774
|
-
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.
|
|
4774
|
+
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.StrictNameAndAddressValidationV4);
|
|
4775
4775
|
const {
|
|
4776
4776
|
sliceData,
|
|
4777
4777
|
updateStateSlice
|
|
@@ -12397,7 +12397,7 @@ function Address(props) {
|
|
|
12397
12397
|
const {
|
|
12398
12398
|
isExperimentEnabled
|
|
12399
12399
|
} = useExperimentsContext();
|
|
12400
|
-
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.
|
|
12400
|
+
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.StrictNameAndAddressValidationV4);
|
|
12401
12401
|
const [showAutocompletedAddressFields, setShowAutocompletedAddressFields] = useState(false);
|
|
12402
12402
|
const [showAddAddressButton, setShowAddAddressButton] = useState(true);
|
|
12403
12403
|
const [isHandlerPresent, setIsHandlerPresent] = useState(false);
|
|
@@ -16447,7 +16447,7 @@ function NameComponent(props) {
|
|
|
16447
16447
|
const {
|
|
16448
16448
|
isExperimentEnabled
|
|
16449
16449
|
} = useExperimentsContext();
|
|
16450
|
-
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.
|
|
16450
|
+
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.StrictNameAndAddressValidationV4);
|
|
16451
16451
|
const schema = props.requiredFields || ["firstName", "lastName"];
|
|
16452
16452
|
const {
|
|
16453
16453
|
handleChangeFor,
|
|
@@ -21801,7 +21801,7 @@ function TrustRegistrationDetailsComponent(props) {
|
|
|
21801
21801
|
const {
|
|
21802
21802
|
isExperimentEnabled
|
|
21803
21803
|
} = useExperimentsContext();
|
|
21804
|
-
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.
|
|
21804
|
+
const isStrictNameAndAddressValidationEnabled = isExperimentEnabled(ExperimentNames.StrictNameAndAddressValidationV4);
|
|
21805
21805
|
const TRUST_REGISTRATION_DETAILS = props.id || trustForms.trustRegistrationDetails.formId;
|
|
21806
21806
|
const stateRef = useRef({
|
|
21807
21807
|
setState: null
|
|
@@ -40290,7 +40290,7 @@ const ConfigurationApiProvider = ({
|
|
|
40290
40290
|
isEmbeddedDropin,
|
|
40291
40291
|
loadingContext
|
|
40292
40292
|
} = authContext;
|
|
40293
|
-
const sdkVersion = "3.25.
|
|
40293
|
+
const sdkVersion = "3.25.1";
|
|
40294
40294
|
useAnalytics({
|
|
40295
40295
|
onUserEvent,
|
|
40296
40296
|
legalEntityId: rootLegalEntityId,
|
|
@@ -40972,7 +40972,7 @@ const DebugModal = ({
|
|
|
40972
40972
|
};
|
|
40973
40973
|
const copyToClipboard = async () => {
|
|
40974
40974
|
const toCopy = {
|
|
40975
|
-
sdkVersion: "3.25.
|
|
40975
|
+
sdkVersion: "3.25.1",
|
|
40976
40976
|
experiments: Object.fromEntries(allExperimentsWithValues),
|
|
40977
40977
|
settings: Object.fromEntries(allSettingsWithValues)
|
|
40978
40978
|
};
|
|
@@ -41002,7 +41002,7 @@ const DebugModal = ({
|
|
|
41002
41002
|
children: [jsxs("div", {
|
|
41003
41003
|
className: "adyen-kyc-debug-modal__meta",
|
|
41004
41004
|
children: [jsxs("span", {
|
|
41005
|
-
children: ["SDK version: ", "3.25.
|
|
41005
|
+
children: ["SDK version: ", "3.25.1"]
|
|
41006
41006
|
}), jsxs("span", {
|
|
41007
41007
|
children: ["rootLegalEntityId: ", rootLegalEntityId]
|
|
41008
41008
|
})]
|
|
@@ -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 = {
|