@adyen/kyc-components 2.57.1 → 2.57.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.
@@ -27552,7 +27552,7 @@ function BusinessDetailsDropinComponent({
27552
27552
  }
27553
27553
  }, [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]);
27554
27554
  const backClick = useCallback(() => {
27555
- if (!COUNTRIES_USING_COMPANY_SEARCH.includes(country)) return handleNextClick();
27555
+ if (!COUNTRIES_USING_COMPANY_SEARCH.includes(country)) return handleBackClick == null ? void 0 : handleBackClick();
27556
27556
  switch (activeForm.formId) {
27557
27557
  case "basicInformation": {
27558
27558
  return showBusinessSelection ? setShowBusinessSelection(false) : void 0;
@@ -27577,7 +27577,7 @@ function BusinessDetailsDropinComponent({
27577
27577
  default:
27578
27578
  return handleBackClick == null ? void 0 : handleBackClick();
27579
27579
  }
27580
- }, [activeForm.formId, country, handleBackClick, handleNextClick, searching, searchResults, showBusinessSelection, verifiedBusiness]);
27580
+ }, [activeForm.formId, country, handleBackClick, searching, searchResults, showBusinessSelection, verifiedBusiness]);
27581
27581
  const proceedToManualDataEntry = useCallback(async () => {
27582
27582
  await clearTrustedBusinessData().then(() => setShowCompanyStructure(true));
27583
27583
  }, [clearTrustedBusinessData]);
@@ -38242,7 +38242,7 @@ const ConfigurationApiProvider = ({
38242
38242
  isEmbeddedDropin,
38243
38243
  loadingContext
38244
38244
  } = authContext;
38245
- const sdkVersion = "2.57.1";
38245
+ const sdkVersion = "2.57.2";
38246
38246
  useAnalytics({
38247
38247
  onUserEvent,
38248
38248
  legalEntityId: rootLegalEntityId,
@@ -38925,7 +38925,7 @@ const DebugModal = ({
38925
38925
  };
38926
38926
  const copyToClipboard = async () => {
38927
38927
  const toCopy = {
38928
- sdkVersion: "2.57.1",
38928
+ sdkVersion: "2.57.2",
38929
38929
  experiments: Object.fromEntries(allExperimentsWithValues),
38930
38930
  settings: Object.fromEntries(allSettingsWithValues)
38931
38931
  };
@@ -38964,7 +38964,7 @@ const DebugModal = ({
38964
38964
  children: [jsxs("div", {
38965
38965
  className: "adyen-kyc-debug-modal__meta",
38966
38966
  children: [jsxs("span", {
38967
- children: ["SDK version: ", "2.57.1"]
38967
+ children: ["SDK version: ", "2.57.2"]
38968
38968
  }), jsxs("span", {
38969
38969
  children: ["rootLegalEntityId: ", rootLegalEntityId]
38970
38970
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "2.57.1",
3
+ "version": "2.57.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",