@adyen/kyc-components 3.32.0 → 3.32.2

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.
@@ -21252,9 +21252,6 @@ function PayoutVerificationMethod(props) {
21252
21252
  const {
21253
21253
  i18n
21254
21254
  } = useI18nContext();
21255
- const {
21256
- isEmbeddedDropin
21257
- } = useAuthContext();
21258
21255
  const instantVerificationError = useContext(InstantVerificationErrorContext);
21259
21256
  const {
21260
21257
  isSettingEnabled
@@ -21263,7 +21260,7 @@ function PayoutVerificationMethod(props) {
21263
21260
  isExperimentEnabled
21264
21261
  } = useExperimentsContext();
21265
21262
  const canChangeEntityType = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange);
21266
- const enablePreferInstantVerificationMethodFlow = isEmbeddedDropin || isExperimentEnabled(ExperimentNames.EnablePreferInstantVerificationFlow);
21263
+ const enablePreferInstantVerificationMethodFlow = isExperimentEnabled(ExperimentNames.EnablePreferInstantVerificationFlow);
21267
21264
  const intraRegionCrossBorderPayoutsAllowed = isSettingEnabled(SettingNames.AllowIntraRegionCrossBorderPayout);
21268
21265
  const [hasSelectedMethod, setHasSelectedMethod] = useState(false);
21269
21266
  const {
@@ -27836,7 +27833,7 @@ function BusinessDetailsDropinComponent({
27836
27833
  }
27837
27834
  }, [currentCountry, handleNextClick, activeForm.formId, verifiedBusiness, (_k = currentState.validityByForm) == null ? void 0 : _k.basicInformation, (_l = currentState.data.basicInformation) == null ? void 0 : _l.businessName, (_m = currentState.data.basicInformation) == null ? void 0 : _m.country, (_n = currentState.data.basicInformation) == null ? void 0 : _n.stateOrProvince, isBusinessSelection, findBusiness]);
27838
27835
  const backClick = useCallback(() => {
27839
- if (!COUNTRIES_USING_COMPANY_SEARCH.includes(country)) return handleNextClick();
27836
+ if (!COUNTRIES_USING_COMPANY_SEARCH.includes(country)) return handleBackClick == null ? void 0 : handleBackClick();
27840
27837
  switch (activeForm.formId) {
27841
27838
  case "basicInformation": {
27842
27839
  return showBusinessSelection ? setShowBusinessSelection(false) : void 0;
@@ -27861,7 +27858,7 @@ function BusinessDetailsDropinComponent({
27861
27858
  default:
27862
27859
  return handleBackClick == null ? void 0 : handleBackClick();
27863
27860
  }
27864
- }, [activeForm.formId, country, handleBackClick, handleNextClick, searching, searchResults, showBusinessSelection, verifiedBusiness]);
27861
+ }, [activeForm.formId, country, handleBackClick, searching, searchResults, showBusinessSelection, verifiedBusiness]);
27865
27862
  const proceedToManualDataEntry = useCallback(async () => {
27866
27863
  await clearTrustedBusinessData().then(() => setShowCompanyStructure(true));
27867
27864
  }, [clearTrustedBusinessData]);
@@ -32573,7 +32570,7 @@ function PayoutDetailsDropinComponent({
32573
32570
  navigateBackToTaskList == null ? void 0 : navigateBackToTaskList();
32574
32571
  } : onSubmit
32575
32572
  });
32576
- const hideFooter = (isExperimentEnabled("EnablePreferInstantVerificationFlow") || isEmbeddedDropin) && activeForm.formId === payoutSteps.payoutVerificationMethod.formId;
32573
+ const hideFooter = isExperimentEnabled("EnablePreferInstantVerificationFlow") && activeForm.formId === payoutSteps.payoutVerificationMethod.formId;
32577
32574
  const currentStep = useMemo(() => Object.values(forms).findIndex((step) => step.formId === activeForm.formId), [forms, activeForm.formId]);
32578
32575
  const totalSteps = useMemo(() => Object.keys(forms).length, [forms]);
32579
32576
  return jsx(FormWrapper, {
@@ -40207,7 +40204,7 @@ const ConfigurationApiProvider = ({
40207
40204
  isEmbeddedDropin,
40208
40205
  loadingContext
40209
40206
  } = authContext;
40210
- const sdkVersion = "3.32.0";
40207
+ const sdkVersion = "3.32.2";
40211
40208
  useAnalytics({
40212
40209
  onUserEvent,
40213
40210
  legalEntityId: rootLegalEntityId,
@@ -40894,7 +40891,7 @@ const DebugModal = ({
40894
40891
  };
40895
40892
  const copyToClipboard = async () => {
40896
40893
  const toCopy = {
40897
- sdkVersion: "3.32.0",
40894
+ sdkVersion: "3.32.2",
40898
40895
  experiments: Object.fromEntries(allExperimentsWithValues),
40899
40896
  settings: Object.fromEntries(allSettingsWithValues)
40900
40897
  };
@@ -40933,7 +40930,7 @@ const DebugModal = ({
40933
40930
  children: [jsxs("div", {
40934
40931
  className: "adyen-kyc-debug-modal__meta",
40935
40932
  children: [jsxs("span", {
40936
- children: ["SDK version: ", "3.32.0"]
40933
+ children: ["SDK version: ", "3.32.2"]
40937
40934
  }), jsxs("span", {
40938
40935
  children: ["rootLegalEntityId: ", rootLegalEntityId]
40939
40936
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.32.0",
3
+ "version": "3.32.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",